Repository navigation
Map the renewal anchor, and pin only the repository that dispatched - #21
Merged
Merged
Conversation
Two failures of the sync workflow, each of which left the API guides and the route table unpublished while the whole-page sync before them went through. Since certpilot#114, three runs failed in sync-guides: "certificates links to #asking-for-one, which is not a heading in that section and has no entry in ANCHOR_TO_PAGE". The link was correct in certpilot, where the API reference is one page; here the reference is split, and the anchor lives on the renewal-queue page. ANCHOR_TO_PAGE is the designed place for it. On 24 September a dispatch from certpilot-agent failed in sync-routes: certpilot's routes.json at 1d78e23 returned 404, because 1d78e23 is an agent commit. The pages step already pins only the repository that dispatched; the routes and guides steps took the dispatched SHA whoever sent it. They now use the same expression, so an agent merge reads certpilot at main. Verified: with CERTPILOT_REF at certpilot main (8103195), sync-routes and sync-guides both complete (14 guides written, where sync-guides exited before), the site builds, and check:links finds 9091 links across 72 pages with none dead; the certificates page links to /api/reference/renewal-queue#asking-for-one, which exists. The local sync output is not committed: the workflow's own pull request carries it. actionlint is clean on sync.yml. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The guides have not been published since certpilot#114: every sync since
stopped at the anchor the commit before this maps. This is what that sync
would have committed, pinned to certpilot main at 8103195, which carries
#114, #115 and #116: renewal of a key CertPilot does not hold is refused,
renew_after is bounded by the certificate's lifetime, and the name filter
matches SANs.
Without it this branch's own check fails ("guides are stale"), because the
check compares against certpilot main.
Checked: sync-guides --check, sync-pages --check and sync-routes all up to
date at that commit; the site builds; check:links finds none dead.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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 this changes
Fixes two ways the sync workflow has been failing. In both, the whole-page sync committed fine, but the API guides and the route table stopped being published.
sync-guides: certificates links to #asking-for-one, which is not a heading in that section and has no entry in ANCHOR_TO_PAGE.ANCHOR_TO_PAGEentry, which is the designed place for this.sync-routes: …/certpilot/1d78e23…/docs/routes.json returned 404.1d78e23is a certpilot-agent commit.main.How it was verified
CERTPILOT_REFat certpilotmain(8103195):sync-routesis up to date (126 routes);sync-guidescompletes, writing 14 guides, where it used to exit early.check:linksfinds 9091 links across 72 pages, none dead. The certificates page links to/api/reference/renewal-queue#asking-for-one, which exists.actionlintis clean onsync.yml.Not verified: a real agent dispatch through the fixed workflow. That happens on the next agent merge.
🤖 Generated with Claude Code