Repository navigation
Nightly doc-drift job files area issues from the doc-refs backlog (Part of #7627) - #7684
Conversation
…rt of #7627) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #7684 @ 684de24: 1 failed check(s) == Analyze (python) (failure) -- real |
…-not-closed) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (b7d3868) is not the one a maintainer labelled |
|
No description provided. |
1 similar comment
|
No description provided. |
Part of #7627 (step 4 of #7624). Needs #7623 (merged).
What
A nightly workflow (
doc-drift.yml, 05:29 UTC, plusworkflow_dispatch) runstests/tools/doc_drift_issues.py. It callstests/doc_refs_audit.py --json, groups findings by area (skills, rules and agents, wiki, docs, package READMEs, tests, other), and splits each area into chunks of 4 files. Each chunk is onedocumentationissue titleddoc drift: <area> [k]with afile:linelist.doc drift:issue whose chunk no longer exists is commented on and closed.--write-baseline)" when the committed baseline is larger than the live findings. Today: 47 live vs 164 baselined.Runner cost (ci-workflows.md)
One job, stdlib only, no setup-python, no install, shallow checkout of main: about 30 s (checkout plus a ~2 s audit), once a day. It does not run on PRs, so it adds no PR load and has no plan job. Dry-run locally against the live repo: 47 findings, 10 chunks (
--dry-runprints the create/update/close actions).Gates
audit_check.pyall clear; 7 new tests pass (grouping, chunk cap, create then quiet second run, update not duplicate, close at zero, summary, and that the workflow is one nightly job with no install or PR trigger);test_change_classifier,test_suite_select_plan, tools-k workflow/cache/critical/plangreen;time_ratchetclean.docs_read_by_tests.txtregenerated (generated file). Paths in the new tests/script are built with"/".joinbecause a literal doc path intests/toolsregisters as a doc a test reads and flipstest_prose_nothing_reads_skips.Class / Sibling gaps
Class: the doc-refs backlog (47 live findings) by area, all handled by this one mechanism: skills (2 chunks), rules and agents, docs (3+), wiki, package READMEs, tests and root files each become an issue chunk automatically; none needs separate code. Sibling gaps: none in the mechanism. Not done here: shrinking the stale baseline (164 entries vs 47 live) is a separate
--write-baselinechange that churn issues or a follow-up can carry; a first live run (workflow_dispatch after merge) will open about 10 issues.Cross-repo
None.
🤖 Generated with Claude Code