[Claude CI Failure] Fix all 10 broken internal /cli/ anchors after reference page split#5133
Closed
btshrewsbury-viam wants to merge 2 commits into
Closed
[Claude CI Failure] Fix all 10 broken internal /cli/ anchors after reference page split#5133btshrewsbury-viam wants to merge 2 commits into
btshrewsbury-viam wants to merge 2 commits into
Conversation
docs/cli/_index.md was refactored into subpages, with content moving to docs/cli/reference.md. Retarget every remaining /cli/#... link to the current /cli/reference/#... anchors, verified against the actual headings in docs/cli/reference.md. Fixes the internal-anchor class of run-htmltest-external failures reported in #5127.
✅ Deploy Preview for viam-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
npx prettier resolves to a newer local version (3.8.1) that removes blank lines before nested lists; CI's creyD/prettier_action pins 3.2.5, which requires them. Restore the blank lines so prettier@3.2.5 --check passes.
btshrewsbury-viam
added a commit
that referenced
this pull request
Jul 1, 2026
PR #5133 passed a local `npx prettier --check` but failed CI's prettier check: npx resolved an unpinned `prettier` to a newer local version (3.8.1) that formats blank-lines-before-nested-lists differently than the 3.2.5 that .github/workflows/prettier-lint.yml pins. Pin the pre-PR check commands to prettier@3.2.5 in both CLAUDE.md and the triage prompt, and add a step to the triage prompt to verify the pushed branch's actual CI status rather than trusting a local check alone.
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
docs/cli/_index.mdwas refactored from one long page into subpages (now a landing page pointing at/cli/overview/), and the section content moved todocs/cli/reference.md. Every in-repo link that still pointed at the old/cli/#single-page structure now 404s/hash-fails, andrun-htmltest-external(#5127) flags them ashash does not exist.This retargets all 10 internal broken anchors found by a repo-wide grep for
/cli/#(grep -rn '(/cli/#[^)]\+)' docs/**/*.md), across 3 files — matching the count from the full htmltest run log for 28538922239:docs/build-modules/manage-modules.md/cli/#using-the-build-subcommand/cli/reference/#using-the-build-subcommanddocs/build-modules/manage-modules.md/cli/#using-the---org-id-and---public-namespace-arguments/cli/reference/#using-the---org-id-and---public-namespace-argumentsdocs/build-modules/manage-modules.md/cli/#using-the---platform-argument/cli/reference/#using-the---platform-argumentdocs/build-modules/manage-modules.md/cli/#using-the---version-argument/cli/reference/#using-the---version-argumentdocs/build-modules/manage-modules.md/cli/#create-an-organization-api-key/cli/reference/#organizations-api-key-create`organizations api-key create`docs/build-modules/manage-modules.md/cli/#upload-validation/cli/reference/#upload-validationdocs/build-modules/manage-modules.md/cli/#module(×2)/cli/reference/#moduledocs/cli/manage-your-fleet.md/cli/#machines-alias-robots-and-machine/cli/reference/#machines-aliases-robots-robot-machinedocs/cli/manage-data.md/cli/#data/cli/reference/#dataEvery target was verified directly against the current heading text in
docs/cli/reference.md(e.g.## \machines` (aliases `robots`, `robot`, `machine`)→#machines-aliases-robots-robot-machine,## `data`→#data,## `module`→#module,### `organizations api-key create`→#organizations-api-key-create`).Out of scope
Of the 347 errors in the full htmltest run, only these 10 are internal
hash does not existfailures. The remainder (~337: external 429/404/403, one dead canonical link to a removedviam.com/post/guardianblog post, timeouts) are third-party link churn/rate-limiting outside this repo's control and are not touched by this PR.Refs #5127 (fixes the internal-anchor class of failures in full; does not resolve the external-link failures, so intentionally not
Fixes).Verification
npx prettier --checkon the 3 changed files: clean (prettier also normalized 4 pre-existing blank-line-before-nested-list issues inmanage-modules.md, required by the CI-pinned prettier version; no prose or link text affected)npx markdownlint-cli --config .markdownlint.yamlon the 3 changed files: 0 errorsvalebinary is unavailable in this sandbox; not a concern here since no prose changed, onlyhreftargetsmake build-prodwas not run in this sandbox (Hugo submodule not reachable in this GitHub-scoped session); anchor targets were instead verified by grepping the actual current headings indocs/cli/reference.mdGenerated by Claude Code