File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,6 +133,6 @@ jobs:
133133 with :
134134 token : ${{ secrets.CODECOV_TOKEN }}
135135 file : ./coverage.xml
136- # If scheduled, upload to BOTH flags . If PR, upload ONLY to regular.
137- flags : ${{ inputs.is_scheduled_run == 'true' && 'regular, scheduled' || 'regular' }}
136+ # If scheduled, upload to scheduled flag only . If PR, upload to regular flag only .
137+ flags : ${{ inputs.is_scheduled_run == 'true' && 'scheduled' || 'regular' }}
138138 verbose : true
Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515# MaxText Codecov Configuration
16- #
16+ #
1717# We use a two-flag scheme ('regular' and 'scheduled') to handle our tiered test suite.
18- # 'carryforward' is enabled because Pull Requests only run a subset of tests (excluding 'scheduled_only').
19- # Without it, PRs would show a significant coverage drop as they would 'overwrite' the full-suite results.
18+ # 'carryforward' is enabled because each flag is only updated by its respective run type.
2019#
2120# Scheme:
22- # - 'regular': Updated by every PR. Used to evaluate 'patch' (new code) coverage.
23- # - 'scheduled': Updated by scheduled full runs. Used to anchor 'project' (total health) coverage.
21+ # - 'regular': Updated ONLY by PRs (subset of tests, excluding 'scheduled_only'). Used for 'patch' coverage.
22+ # - 'scheduled': Updated ONLY by scheduled runs (all tests including 'scheduled_only'). Used for 'project' coverage.
2423# During PRs, the 'scheduled' flag is carried forward from the last full run on 'main' to keep the score stable.
24+ # During scheduled runs, the 'regular' flag is carried forward from the last PR.
2525
2626# Exclude non-source code, deprecated and experimental folders from coverage tracking
2727codecov :
@@ -43,10 +43,10 @@ ignore:
4343
4444
4545flags :
46- # Updated on every PR and during every scheduled run (contains a subset of tests).
46+ # Updated ONLY by PRs (contains subset of tests, excluding scheduled_only ).
4747 regular :
4848 carryforward : true
49- # Updated ONLY during scheduled runs (contains all tests).
49+ # Updated ONLY by scheduled runs (contains all tests including scheduled_only ).
5050 scheduled :
5151 carryforward : true
5252
You can’t perform that action at this time.
0 commit comments