Skip to content

ci(codecov): make the full-flag project status informational - #96

Open
wenh06 wants to merge 1 commit into
masterfrom
chore/codecov-full-informational
Open

wenh06 wants to merge 1 commit into
masterfrom
chore/codecov-full-informational

Conversation

@wenh06

@wenh06 wenh06 commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

PR #93 tripped codecov/project/projectfull although its tests are green and core-flag coverage went up. Cause: on a PR the full flag is carried forward from the nightly base and projected onto the PR head, so the first PR adding coverable lines (+60 in #93) degrades the projection past the 0.5% threshold. db-marked coverage only refreshes nightly, so no PR can defend it -- a structural false positive (#90-#92 passed only because they were docs-only).

Split the flag_management default rules into explicit per-flag rules: core keeps the enforcing project status (what PRs actually upload), full becomes informational -- still a drift signal for the nightly runs, no longer a PR gate.

After merge, #93's failed status clears on its next codecov evaluation.

Per-flag project statuses came from the flag_management default rules
(#84). On a PR, the full flag is carried forward from the nightly base
and projected onto the PR head, so the first PR that adds coverable
lines (#93, +60) degraded the projected full coverage past the 0.5%
threshold and failed codecov/project/projectfull -- a structural false
positive: db-marked coverage only refreshes in the nightly run, so no
PR can ever defend it.  #90-#92 passed only because they were
docs-only.

Split the default rules into explicit per-flag rules: core keeps the
enforcing project status (PRs upload it), full goes informational
(nightly monitoring signal, visible on codecov.io and in the nightly
report, but never gates a PR).
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-03T03:01:41.225687Z
We couldn’t complete this review. Comment @codex review to try again.
90928bd PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@codecov

codecov Bot commented Nov 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.47%. Comparing base (5354ab7) to head (90928bd).
⚠️ Report is 2 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #96      +/-   ##
==========================================
- Coverage   93.49%   93.47%   -0.03%     
==========================================
  Files         138      138              
  Lines       18628    18628              
==========================================
- Hits        17416    17412       -4     
- Misses       1212     1216       +4     
Flag Coverage Δ
core 67.31% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1 file with indirect coverage changes

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant