Repository navigation
fix(docs): make the docs build pass again and build it in CI (Linux/Node 20) - #494
Conversation
`vitepress build` has failed on master since 2026-06-22, for two
content reasons, and nothing in CI builds the docs.
- Three inline-code spans contain `{{ … }}`. Vue's template compiler
parses mustaches inside inline code as expressions. Fenced code
blocks are exempt; inline code is not. The three are now wrapped in
<code v-pre>. (deployment-runbook.md: 37417f9, 51840b1, 7b07c72.)
- A link to `../adr/` was dead. The directory has README.md, which
VitePress builds as README.html, not as an index. The link now
points at ../adr/README.md. (wave-validation-plan.md: cdf73e1.)
A new CI job, docs-build, installs docs/ and runs the build on Linux
with Node 20, the environment of docs/Dockerfile.
Validation: the build completes from these files — 150 pages, 472
files — and the three spans and the link render as intended.
Signed-off-by: Alajmah <55954113+Alajmah@users.noreply.github.com>
Codex Review Summary: ❌ FailedThis 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
/gitwire run review |
|
|
There was a problem hiding this comment.
🤖 AI Code Review — ✅ Approved
Confidence: high · Findings: 0
AI judgment: APPROVE · Evidence: COMPLETE · Authority: advisory
Evidence complete · 3/3 changed files accounted for
GitWire AI Review Gate (bundle-driven v2) · Structured schema · Scope-validated · AI recommendation — maintainers and repository policy retain authority
Checks at head
|
| Check | Result |
|---|---|
| CI | 20 checks pass, including the new docs-build job |
docs-build |
pass, 29 s — the first build of the docs on Linux / Node 20, from this pull request's files and master's docs lockfile |
| GitWire AI review | approve, high confidence, 0 findings, evidence complete (3/3 files) — on the re-run |
GitWire (top-level check) |
failure — "review error: Prior AI review evaluation was interrupted". Explained below; it is not a finding about the content |
publish-release-images |
skipped, as on every pull request |
| Merge state | MERGEABLE; UNSTABLE only because of the failed check above |
Why the GitWire check failed
It records an interrupted attempt, caused by the timing of the pull request itself:
- The deployment of
a1b3665ran from 16:08:11Z to 16:09:47Z and recreates the app container. - This pull request was opened at 16:08:17Z, six seconds after that deployment started. Its review began just as the container was replaced.
- The queue retried the review. The retry found its "processed" marker, read the check as still queued, and finalized it as interrupted at 16:10:05Z. It then exited without publishing, and no job was left in the queue.
- A re-run was requested at 16:18:21Z with
/gitwire run review. It completed in about two minutes and approved.
The failed check belongs to the interrupted attempt and stays on this head. It is advisory.
This failure class is already on record for this repository, from September 2026: a deployment cuts an in-flight review, the retry cannot resume it, and no sweep exists. In those cases too an operator command was the only remedy. Today's instance is cited as evidence in #10-B2 Revision 2 (PR #464, comment 7082071452).
Operational note: a pull request should not be opened while a deployment is running. That sequencing was mine.
Not merged. Awaiting approval.
|
|
DEPLOYED —
|
| Gate | Result |
|---|---|
/health.git_sha |
f56b86f2a84d232f2407de00163b3ede9d842baa — exact |
| Containers | 10/10 up; 9 healthy, 0 unhealthy, plus the tunnel |
| PostgreSQL / Redis | healthy / healthy |
| Migrations | 49 applied |
| Release image identity | app 339361fc6a81, executor 37612daa1071, dashboard 55517710b576: record reference = container's created-with reference = image ID |
| Rollback chain | a1b3665, bba0a08, f7d3987: 3 references each, 0 missing |
| Validator | already present locally; its only record …:recovered is identical before and after |
| Secondary pins | gitwire-local/{bot,landing,docs,demo}:pre-immutable unchanged |
webhook_ingress |
integrity coherent |
| Tunnel | /health HTTP 200 |
Retention stage — third production run
[image-retention] protected refs: 13 (mandatory: 4); cleanup-eligible repos: 3
[image-retention] decision: kept=24 protected=13 mandatory_ok=true rollback=0 unmanaged_kept=0 remove=3
[image-retention] removal: 3 succeeded, 0 failed (failures visible — investigate if nonzero)
[image-retention] done; free space: 31G
0 lock-warning lines, 0 Permission denied, 0 emitted ::error::. Removed — exactly the predicted set, the fourth-oldest release 88d6a7c: app sha256:a0d6291147d8…, executor sha256:a5e3ed894eae…, dashboard sha256:a45a8aa96571…. 3 removed, 3 added, 24 rows before and after.
The checks of this pull request were not all green
- 20 CI checks pass. The top-level
GitWirecheck isfailure— it records the review that thea1b3665deployment interrupted. It is not a required check, so no rule was bypassed, and it stays on this head as a record of that attempt. - The re-run review approved.
The bot's later warning — its real cause
At 16:27:19Z the bot posted: "No workers could be dispatched. The repository or PR data could not be resolved."
That message does not describe a worker failure. The production log shows what happened:
{"command":"run","pillar":"review`.","repo":"Octo-Lex/GitWire","issue":494,"isPR":true,"dispatched":[],"blocked":[]}
- My checks comment quoted the re-run command inside inline code. The command parser looks for its prefix anywhere in a comment body, code formatting included, so the comment was executed as a command.
- The argument it read was
review.` — the word plus a backtick and a period. No pillar matches that, so nothing was dispatched. - The acknowledgment for "nothing dispatched" then reported a configuration and data-resolution problem, which was not the case.
So this incident has one cause — the text of my comment — and it exposes two defects in the bot, both recorded on the recovery thread (PR #464): the parser accepts a command from inside code formatting, and the "nothing dispatched" acknowledgment misstates the reason. No review ran a third time.
Operational consequence for me: a command is never quoted literally in a comment unless it is meant to run.
CI does not prove the Docker image build
The new docs-build job runs VitePress on Ubuntu. The docs image is built by docs/Dockerfile, which copies package.json alone and runs npm install before the lockfile is copied. A green docs-build therefore shows that the site builds from the locked dependencies; it does not show that the image build uses them. Recorded on #115, with a wider instance of the same pattern.
The published docs site is unchanged: its container still runs the image created 2026-06-21. Rebuilding it is on HOLD.
Summary
Authorized limited fix: make the docs build pass again, and build the docs in CI. Single commit on master
a1b3665. Opened for review; not merged without a separate approval.Found while validating #493:
vitepress buildfails on master, and has failed since 2026-06-22. Nothing in CI builds the docs, so nothing reported it.What changes
Three files, four content lines and one CI job.
docs/installation/deployment-runbook.md<code v-pre>…</code>— lines 147, 813, 819docs/architecture/authority/wave-validation-plan.md../adr/now points at../adr/README.md— line 20.github/workflows/ci.ymldocs-buildThe two defects
{{ … }}inside inline code37417f9(2026-06-22); line 819:51840b1(2026-06-25); line 147:7b07c72(2026-10-08)../adr/README.md, which VitePress builds asREADME.html, not as an indexcdf73e1(2026-07-25), the page's creationThe error reported by the first defect names a misleading location (
674:32); the cause is the three spans above.The new job
docs-buildruns aftersyntax-check, like the other jobs. It installsdocs/from its own lockfile and runsnpm run docs:build, on Linux with Node 20 — the environment ofdocs/Dockerfile.Validation
{{in inline code across all docsnpm ci+npm run docs:buildfrom the edited files<code>docker inspect … '{{…}}' …</code>— mustaches intact, not compiledhref="./../adr/README.html", and the page existsRun on Windows, Node 22, with master's docs lockfile. The Linux / Node 20 run is what this pull request's own CI does.
What this does not include