Repository navigation
Tooling: seconds-fast generated-doc drift gate — script/check-generated-docs.sh (#15621) - #15635
Merged
Merged
Conversation
…ated-docs.sh (#15621) Bundles capability-matrix --check, capability-syntax --check, bootstrap-inventory --check and a composer-binary-free lock content-hash check (Locker::getContentHash replication) into one standalone pre-merge gate. Measured 22 s on master; correctly flags the #15619 capabilities drift, the #15619 inventory drift and the #15620 lock staleness. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Fixes #15621.
Adds
script/check-generated-docs.sh: a standalone < 30 s pre-merge drift gate bundlingphp script/capability-matrix.php --checkphp script/capability-syntax.php --checkphp script/bootstrap-inventory.php --checkphp script/check-composer-lock-hash.php(new; replicatesComposer\Package\Locker::getContentHashso no composer binary needed)Runs all checks (no fail-fast) and reports each, so one run shows every drift.
Verified on master state: 21.8 s wall; correctly flags all three currently-live drifts (#15619 capabilities + inventory, #15620 lock hash) and exits 1; individual OK lines for in-sync docs.
Intended to become the first step of the fast gate and the mandatory pre-merge one-liner for docs-only/advertisement PRs (doc wiring can follow up in the #15622 skills PR).
🤖 Generated with Claude Code