Skip to content

fix(ci): restore coverage checks and pin checker version - #1106

Merged
jiashuoz merged 1 commit into
mainfrom
fix/coverage-config-v2
Nov 21, 2026
Merged

jiashuoz merged 1 commit into
mainfrom
fix/coverage-config-v2

Conversation

@jiashuoz

@jiashuoz jiashuoz commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

The Go coverage gate exits before evaluating coverage because the current checker rejects local-prefix in .testcoverage.yml. Remove that obsolete key; the checker derives module-relative paths from go.mod, so every existing package pattern and coverage floor stays unchanged.

Pin the CI action to the v2.23.0 commit and align make cover-check to v2.23.0 (previously v2.14.3 locally versus floating @v2 in CI). Update the path-matching comment.

Validation:

  • Built the actual v2.23.0 checker from the pinned source commit.
  • Reproduced the original unsupported-field error.
  • Exercised all 14 configured package rules against synthetic source/profile fixtures: each accepts its exact threshold and rejects one percentage point below it (28 checks). Asserted all threshold/path pairs are unchanged.
  • git diff --check, repository text integrity, and committed-credentials checks pass.
  • Independent and adversarial reviews passed; both reviewers reran the 28 boundary checks.
  • CI run 44842203154 passed all 19 jobs, including the real repository coverage gate, Go unit/integration suites and race checks. Plugin tests also passed.

Local checker builds require Go 1.27; default automatic toolchain selection downloads it. CI runs the prebuilt checker container, so the repository test toolchain remains Go 1.26.

This is the standalone CI prerequisite for #1105; no application behavior changes.

@jiashuoz
jiashuoz merged commit b20d852 into main Nov 21, 2026
24 checks passed
@jiashuoz
jiashuoz deleted the fix/coverage-config-v2 branch November 21, 2026 03:13
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