Repository navigation
fix(ci): ignore generated docs in the stale-base overlap check - #4550
Merged
Merged
Conversation
docs/catalog.md and docs/skill-cheat-sheet.md are regenerated by nearly every plugin PR, so parallel PRs tripped the stale-base overlap gate on them. Their generated blocks are drift-checked by scripts/validate-plugins.sh (generate-catalog.mjs --check, generate-cheatsheet.mjs --check) and their sources stay in the overlap comparison, so drop them from head_paths. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LExzoQ5XQRKgsFv6c99Wrb
kyle-sexton
marked this pull request as ready for review
September 26, 2026 23:27
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. |
Contributor
|
Claude encountered an error after 0s —— View job I'll analyze this and get back to you. |
Contributor
|
Claude encountered an error after 0s —— View job I'll analyze this and get back to you. |
Contributor
|
Claude encountered an error after 0s —— View job I'll analyze this and get back to you. |
Contributor
|
Claude encountered an error after 0s —— View job I'll analyze this and get back to you. |
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.
No related issue: Day 0 CI triage, stale-base-overlap trips on generated docs
Summary
scripts/check-stale-base-overlap.shfails a PR when a path it changed also changed on the base since the merge-base.docs/catalog.mdanddocs/skill-cheat-sheet.mdare regenerated by nearly every plugin PR, so parallel lanes kept failing each other on those two files even when their real changes were disjoint.Fix
Drop
docs/catalog.mdanddocs/skill-cheat-sheet.mdfromhead_pathsbefore thecommintersection. The exclusion is safe becausescripts/validate-plugins.sh(CI step "Validate plugin and catalog manifests") runsnode scripts/generate-catalog.mjs --checkandnode scripts/generate-cheatsheet.mjs --check, which fail unless each file's generated marker block matches what its sources produce. The sources (manifests, SKILL.md metadata) stay in the overlap comparison. That step runs whenever these files change:scripts/check-docs-only.test.shasserts neither file counts as docs-only.The list is two hardcoded paths with a comment naming
validate-plugins.sh. Deriving it from that script would mean parsing each generator for its output path, which is more code than two paths are worth.Known gap: only the text between each file's
<!-- ...:start/end -->markers is regenerated. The few hand-written preamble lines above the markers are no longer overlap-checked.Verification
bash scripts/check-stale-base-overlap.test.sh: PASS=8 FAIL=0. There are two new cases. In the first, both sides edit only the generated docs, and the script exits 0. In the second, a real overlap onshared.txtsits beside them, and the script exits 1 listingshared.txtbut notcatalog.md. The existing overlap and rename cases still fail as before.shellcheckis clean on both files.Related
🤖 Generated with Claude Code
https://claude.ai/code/session_01LExzoQ5XQRKgsFv6c99Wrb