Skip to content

Move diff-cover enforcement from build job to DiffCoverageCheck#4

Closed
hdwhdw wants to merge 1 commit into
masterfrom
diff-coverage
Closed

Move diff-cover enforcement from build job to DiffCoverageCheck#4
hdwhdw wants to merge 1 commit into
masterfrom
diff-coverage

Conversation

@hdwhdw

@hdwhdw hdwhdw commented Apr 13, 2026

Copy link
Copy Markdown
Owner

Remove DIFF_COVER_* variables from the build job so it can be renamed without breaking the wrapper's GitHub check name coupling. The DiffCoverageCheck job now sets DIFF_COVER_ENABLE and related variables, making it the sole hook point for the sonic-build-web coverage wrapper.

The native diff-cover --fail-under step is removed since the wrapper handles threshold enforcement via GitHub checks.

Also removes the now-unused global DIFF_COVER_THRESHOLD variable.

Remove DIFF_COVER_* variables from the build job so it can be renamed
without breaking the wrapper's GitHub check name coupling. The
DiffCoverageCheck job now sets DIFF_COVER_ENABLE and related variables,
making it the sole hook point for the sonic-build-web coverage wrapper.

The native diff-cover --fail-under step is removed since the wrapper
handles threshold enforcement via GitHub checks.

Also remove the now-unused global DIFF_COVER_THRESHOLD variable.

Signed-off-by: Dawei Huang <daweihuang@microsoft.com>
@mssonicbld

Copy link
Copy Markdown

/azp run

@hdwhdw hdwhdw closed this Apr 13, 2026
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.

2 participants