You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The π§Ή Lint - mega-linter job fails on pull requests against main for defects that are already on main. Measured on #2769 β a pull request whose entire diff is one new .coderabbit.yaml file, which cannot influence Go or duplication linting (run 29809153393):
revive β 2 errors.scripts/validate-merge-group-heal/main.go:1:1 and scripts/validate-eks-ci-role-policy/main.go:1:1: should have a package comment. Both files are present on main today without one.
jscpd β 24 clones, 2.4% against a 0.0% threshold. 16 of them are inside scripts/validate-eks-ci-role-policy/main_test.go (landed in fix(aws): allow EKS version discoveryΒ #2753 this morning); 4 are inside scripts/tests/test_refresh_flux_ghcr_auth.py and scripts/tests/test_validate_homepage_bookmarks.py.
zizmor β 1 error, artipacked on cd.yaml failing with 401 Unauthorized while listing tags for actions/checkout. This one is a transient GitHub API condition, not a repository defect.
The reason nobody noticed is the second half of the problem: the job does not run on main at all. The most recent push-to-main Code Quality run (29806818885) contains exactly one job, Analyze (python). So main reports green while carrying lint defects, and every pull request inherits them.
Who this affects, and how much
Every open pull request on this repository β currently 40+ drafts β displays a red Lint check that has nothing to do with its own diff. That makes the check unusable as a signal: a genuine lint regression introduced by a PR is indistinguishable from the inherited noise, so it will be waved through. It also costs a full 5-minute lint run per PR to re-report the same pre-existing failures.
Expected behaviour
A pull request that introduces no lint defect shows a green Lint check, and a defect that reaches main is caught when it lands rather than surfacing on unrelated pull requests afterwards.
Acceptance criteria
revive reports 0 errors across the repository.
jscpd reports 0 clones, with the threshold left at 0.0% β deduplicated at the source, never raised or ignored.
The lint gate also runs on pushes to main, so a defect cannot land silently again.
The Python clones are recorded against the existing bash/Go migration work rather than papered over.
Rough size: M β the revive fix is two lines; the Go duplication is a table-driven test refactor in one file; the main-branch coverage is a workflow trigger change.
Evidence
The
π§Ή Lint - mega-linterjob fails on pull requests againstmainfor defects that are already onmain. Measured on #2769 β a pull request whose entire diff is one new.coderabbit.yamlfile, which cannot influence Go or duplication linting (run 29809153393):scripts/validate-merge-group-heal/main.go:1:1andscripts/validate-eks-ci-role-policy/main.go:1:1:should have a package comment. Both files are present onmaintoday without one.scripts/validate-eks-ci-role-policy/main_test.go(landed in fix(aws): allow EKS version discoveryΒ #2753 this morning); 4 are insidescripts/tests/test_refresh_flux_ghcr_auth.pyandscripts/tests/test_validate_homepage_bookmarks.py.artipackedoncd.yamlfailing with401 Unauthorizedwhile listing tags foractions/checkout. This one is a transient GitHub API condition, not a repository defect.The reason nobody noticed is the second half of the problem: the job does not run on
mainat all. The most recent push-to-mainCode Quality run (29806818885) contains exactly one job,Analyze (python). Somainreports green while carrying lint defects, and every pull request inherits them.Who this affects, and how much
Every open pull request on this repository β currently 40+ drafts β displays a red Lint check that has nothing to do with its own diff. That makes the check unusable as a signal: a genuine lint regression introduced by a PR is indistinguishable from the inherited noise, so it will be waved through. It also costs a full 5-minute lint run per PR to re-report the same pre-existing failures.
Expected behaviour
A pull request that introduces no lint defect shows a green Lint check, and a defect that reaches
mainis caught when it lands rather than surfacing on unrelated pull requests afterwards.Acceptance criteria
main, so a defect cannot land silently again.Rough size: M β the revive fix is two lines; the Go duplication is a table-driven test refactor in one file; the main-branch coverage is a workflow trigger change.