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
{{ message }}
Repository navigation
fork-ci: report existing tests a PR deletes, skips or weakens (report-only) #351
Agents write almost all code here, and they can change existing tests in the same PR as the code, so a green run proves less. Today only a review lens might notice a weakened test; nothing checks it mechanically. (Owner approved this idea on 2026-11-17.)
Wanted: a general fork-ci action, report-only first.
For each PR, list existing tests that were deleted, skipped/disabled, or had assertions removed or changed. New tests are fine and are not listed.
Post the list as one PR comment (updated in place, not a new comment per push) and as a job summary, so the tests lens gets it.
The PR body should give one "why" line per listed test; the report names items without a "why".
Language patterns are config, not code: Java (@Test, @Disabled, assume*), Python (def test_, skip/xfail), Node (test(/it(, .skip, .only). A project only switches it on (and may add patterns).
It never fails the PR at first. Making it a gate later is an owner decision.
State question: a re-run on the same head gives the same list and edits the same comment; a force-push re-computes against the base; a PR with a huge or unreadable diff says "could not read" instead of an empty list; a renamed test file is not reported as deleted.
Size: one PR in the fork (Python, like the other fork-ci actions) plus a pin bump in projects that use it. Same pattern as the existing gate-settings loosening check.
General vs project: general fork-ci action; projects only enable it and add patterns in their own config.
Activity
fix(fork-ci): weakened-tests parses a hostile test file in linear time (
fork-ci: report existing tests a PR deletes, skips or weakens (#351) (#…
fork-ci: report existing tests a PR deletes, skips or weakens (#351) (#…
fork-ci: report existing tests a PR deletes, skips or weakens (#351) (#…
fork-ci: report existing tests a PR deletes, skips or weakens (#351) (#…
fork-ci: report existing tests a PR deletes, skips or weakens (#351) (#…
fork-ci: report existing tests a PR deletes, skips or weakens (#351) (#…