Repository navigation
fix(dox): run the slash smoke rows locally, settle before reading links, close DOX-G17 (#559) - #588
Conversation
…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.
baldurpan
left a comment
There was a problem hiding this comment.
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.mdline 3 still says "Gates and CI: tier-2-gates.md", and the title oftier-2-gates.mdis 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.
baldurpan
left a comment
There was a problem hiding this comment.
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.
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
DOX_SMOKE_LOCAL) as well as live.wrangler devanswers 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.settlebefore it reads the links, astier-2-gates.mddescribes.vitestimport. 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:
context/dox/search-console-runbook.md.context/dox/built/tier-2-runner-and-ci.md.The index entries and the one inbound link are updated.
Validation
deploy-smokepasses live against production. It also passes locally underwrangler dev, where/gmt/referencereturns 308.robots-policy,page-linksand gate-registry tests pass (96).node scripts/verdict.mjs validatepasses all 27 checks. It ran before the two doc splits, so CI is the check for those.oxfmt --checkand oxlint are clean, and/optimizereports no finding from this story.No
packages/file changes, so there is no changeset.