Repository navigation
fix(ci): skip eval fixtures in check-affected's ruff step - #12582
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9Pzf47aw4gsMAyk98Wn
|
PR body contract — issue linkage This PR body conforms to the issue-linkage contract. Nothing to do. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Security review: no security issues foundI read the full diff: one hunk in one file, Why it isn't a security issue
critical-findings: 0 |
|
claude-review reviewed Code review: PR #12582, fix(ci): skip eval fixtures in check-affected's ruff stepNo findings. This review covered the whole change: the single hunk in What changedThe pre-push ruff step now passes Checks
Closing issueNone. The PR body says there is no related issue, so there are no acceptance criteria to check. Notes
|
Post-merge mutation testingKilled 0, survived 1, timeout 0, no coverage 0, invalid 0, not run 0.
Surviving mutants
The run's summary has the full report. |
No related issue: a one-line fix to the pre-push check, found while pushing #12549 and blocking it.
Summary
check-affected.shpasses changed.pyfiles to ruff by explicit path, and ruff appliesextend-excludeonly to files it finds by traversal (ruff.toml:13). So any branch that renames or edits a Python file underevals/fixtures/fails pre-push on defects those fixtures hold on purpose.Fix
The pre-push ruff step now passes
--force-exclude, so it skips the same files CI skips. Every other check is unchanged. The hook runs the merge-base copy of this script, so #12549 cannot carry this fix itself.Verification
scripts/run-ruff.sh check --force-exclude plugins/code-tidying/skills/remove-comments/evals/fixtures/residue-snippet.pyprinted "No Python files found" and "All checks passed!" on feat(code-tidying): rename dissolve-comments to remove-comments with a comment-reviewer agent #12549's branch. Without the flag the same file reports 2 F821 errors in the pre-push output.bash scripts/check-affected.test.sh: PASS=112 FAIL=0.Related
🤖 Generated with Claude Code
https://claude.ai/code/session_01VQb9Pzf47aw4gsMAyk98Wn