Repository navigation
ruff-audit, mypy-audit, small-audits skip for docs they cannot read (Part of #6278, slice 5) - #6303
Merged
Merged
Conversation
…Part of #6278, slice 5) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 23, 2026 23:25
squid-protocol
enabled auto-merge (squash)
October 23, 2026 23:27
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Slice 5 of #6278 (first cut of item 4).
tests/tools/audit_skip_plan.py(stdlib, useschange_classifier.area()) decidesnone|fullfor the three always-start audit workflows. Each gets aPlan the auditstep right after checkout (PR file list from the API, whole or not at all, as insmoke-test.yml); every later step is gated onmode != 'none'. The job and the check always start and report (nopaths/paths-ignore, no job-levelif), so required checks still report; a planner failure falls back to full.noneonly when every changed file isruff-audit(required)prose/test-read-doc/agent-configand not code or config by extensionmypy-audit(required)small-auditsproseonly (these audits aretests/*.py; what a test opens is theirs)Any
.py/.pyi/.toml/.json/.jsonl/.txt/.yml/.sh/.ipynbfile (even under docs/ or .claude/), a rename from one,shepherd:full, an empty/unreadable diff and every non-PR event run the audit.Replay
.claude/agents/...,.claude/rules/*,.claude/skills/det-port/SKILL.md): ruff and mypy install and audit nothing (none); with the smoke suite plan it is a select run. Light jobs only.README.md-only: ruff/mypy none; small-audits full (tests read the README).tests/tools/test_zos_probes.py-only: ruff/mypy full (a.pyis always linted); the ground-truth / det / db2 skips come from slices 1-3 (tests/tools: shared change classifier, ground_truth_plan skips unread docs and unreached tools (Part of #6278) #6288, tests/tools: Det Sweep's Db2 runners follow the Db2 area (Part of #6278) #6293).Owner decisions
Owner OK (2026-10-23): TOP PRIORITY; workflow edits approved for this issue.
Tests
tests/tools/test_audit_skip_plan.py(35): replays, every code/config suffix runs, every doubt runs, workflow layout (no trigger filter, no jobif, permissions, every step after the plan gated, fallback to full).pr_gates --fast7/7; tests/tools workflow/plan guards pass.Checklist: partial [c:597be974] -- ruff, mypy, small-audits done; muninn, Zero-Trust, CICS crucible, Java/ports compile, fact cross-check, unicode-gauntlet, rosetta-audit left
Checklist: partial [c:9e7776d2] -- the README.md / #6245 / test_zos_probes replays hold for the audits wired so far
Class / Sibling gaps
Class: PR workflows that always start (required, or no trigger filter) and install heavy tooling for docs-only PRs. Done: ruff-audit, mypy-audit, small-audits (plus smoke-test, ground-truth, det-sweep earlier). Sibling gaps / Remaining slices: (1)
gitgalaxy.ymlhaspaths-ignore: ["docs/**"](non-required self-scan): swap for a plan step so prose outside docs/ (README, .claude) skips too; (2)muninn.yml,cics-crucible.yml,java-compile.yml,ports-compile.yml,unicode-gauntlet.yml,rosetta-audit.yml,fact-crosscheck.ymlalready carry workflow-levelpaths:lists (a filtered required check does not report), so a classifier-driven plan job would replace those lists: order by runner-min: CICS crucible, Java/ports compile, muninn; (3) items 5 and 6 of the issue untouched.🤖 Generated with Claude Code