Skip to content

fix(dox): run the slash smoke rows locally, settle before reading links, close DOX-G17 (#559) - #588

Merged
craig-o-curtis merged 3 commits into
mainfrom
chore/559-dox-g17-close-out
Nov 27, 2026
Merged

craig-o-curtis merged 3 commits into
mainfrom
chore/559-dox-g17-close-out

Conversation

@craig-o-curtis

Copy link
Copy Markdown
Contributor

Follow-up to #587, which merged the DOX-G17 work for #559. The final gate run found three small defects after that merge. This PR fixes them and closes the story.

Fixes

  • deploy-smoke: the slash rows 6a and 6b now run in the local smoke (DOX_SMOKE_LOCAL) as well as live. wrangler dev answers a slashless page with the same 307 as production, so the Worker's 308 can be checked before a deploy. Both rows read the function page from the local sitemap.
  • rendered-links: the gate now waits for settle before it reads the links, as tier-2-gates.md describes.
  • robots-policy.test.ts: drops its vitest import. The Vitest globals are on, and the test rules forbid importing them.

Close-out

  • Tracker: DOX-G17 is Done. Its spec folder is removed, along with its line in specs/index.md.

  • Two docs went over their size budget, so each is split:

    • The Search Console steps and the pages to inspect again move to context/dox/search-console-runbook.md.
    • The gate runner and CI jobs move to context/dox/built/tier-2-runner-and-ci.md.

    The index entries and the one inbound link are updated.

Validation

  • deploy-smoke passes live against production. It also passes locally under wrangler dev, where /gmt/reference returns 308.
  • The robots-policy, page-links and gate-registry tests pass (96).
  • node scripts/verdict.mjs validate passes all 27 checks. It ran before the two doc splits, so CI is the check for those.
  • oxfmt --check and oxlint are clean, and /optimize reports no finding from this story.

No packages/ file changes, so there is no changeset.

…ks, close DOX-G17 (#559)

The local deploy smoke now runs the slash rows 6a and 6b against wrangler dev, so the 308 that
the Worker makes from the assets binding's 307 is checked before a deploy. Both rows read the
function page from the local sitemap.

The rendered-links gate waits for the page to settle before it reads the links.

robots-policy.test.ts no longer imports from vitest; the globals are on.

DOX-G17 is Done and its spec folder is removed. The Search Console steps move to
search-console-runbook.md, and the gate runner and CI jobs to built/tier-2-runner-and-ci.md, so
both docs stay within their size budgets.
@craig-o-curtis craig-o-curtis added the bug Something isn't working label Nov 27, 2026
@craig-o-curtis craig-o-curtis added documentation Improvements or additions to documentation gmt monorepo labels Nov 27, 2026
@craig-o-curtis craig-o-curtis added this to the Dox milestone Nov 27, 2026

@baldurpan baldurpan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks right to me. The local slash rows (6a, 6b) go through run_worker_first into permanentSlash under wrangler dev, the same path production takes. The old-host 301 rows are skipped locally, and the docs say so. The new settle in rendered-links.mjs runs after waitForSelector("[data-widget]"), which fixes the ordering, because sweep's own settle runs before the widgets mount. Nothing that guards behaviour was deleted. The deleted dox-g17 specs are identical to the ones reviewed on #587, and the s4 material is now in search-console-runbook.md. robots-policy.test.ts and the gate/lib vitest files pass locally. I didn't run the smoke rows against a real wrangler dev.

Two small pointers went stale in the doc split:

  • context/dox/built/tier-2-platform.md line 3 still says "Gates and CI: tier-2-gates.md", and the title of tier-2-gates.md is still "Tier 2: gates and CI". The CI part now lives in tier-2-runner-and-ci.md. I can't comment on those lines inline because they're outside the diff.
  • One line in search-console-runbook.md; see the inline comment.

Neither blocks. I'll approve once they're fixed or you'd rather leave them.

Comment thread context/dox/search-console-runbook.md Resolved
@craig-o-curtis
craig-o-curtis enabled auto-merge (squash) November 27, 2026 15:05

@baldurpan baldurpan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving at 245f721. The runbook link is fixed. One leftover from my first review, which doesn't block: built/tier-2-platform.md line 3 still points to tier-2-gates.md for CI, and that file's title still says "gates and CI". A follow-up could point at tier-2-runner-and-ci.md.

@baldurpan baldurpan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-approving at 3b489b8. The only new commit is a merge of main (#586), with nothing resolved by hand. None of the files #586 changed overlap this PR's files, so my review at 245f721 still holds.

@craig-o-curtis
craig-o-curtis merged commit 8244141 into main Nov 27, 2026
53 checks passed
@craig-o-curtis
craig-o-curtis deleted the chore/559-dox-g17-close-out branch November 27, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation gmt monorepo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants