Skip to content

docs(deploy): record the design Worker's first build and smoke measurement - #296

Merged
Ardnived merged 1 commit into
mainfrom
docs/279-design-worker-measurements
Oct 13, 2026
Merged

Ardnived merged 1 commit into
mainfrom
docs/279-design-worker-measurements

Conversation

@Ardnived

Copy link
Copy Markdown
Contributor

Summary

Measurements from #279's attended phase, written where the repo said they were owed.

  • AGENTS.md § Deployment: the first Workers build (2026-10-13) used [email protected], [email protected], so the Workers image honours .node-version and packageManager. Also records that Workers Builds' branch rules refuse prefix wildcards (12002 Invalid request body for gh-readonly-queue/*, mockup/*, claude/*), despite the docs. So merge-queue and mockup branches do start preview builds on the design Worker.
  • docs/testing.md: the owed non-vacuity re-run: 10 of 17 smoke specs fail against design.sahajatlas.com on the Worker.
  • public/robots.txt: line 1 no longer says _redirects ships beside it, since fix(build): drop _redirects from the Ladle build the design Worker deploys #295 drops it from build/. This is also deliberately a watched-path change, so merging it is the design Worker's second production deploy. That's Our Cloudflare Pages sites move to Cloudflare Workers, at no extra cost #266's "a second change was pushed and the new address served it" check, observable with curl https://design.sahajatlas.com/robots.txt | head -1.

Test results

  • vitest run scripts — 99 passed. Docs plus one comment line, so no other lane applies.

Refs #279, #266

🤖 Generated with Claude Code

…ement

Measured during #279's attended phase:

- The Workers build image honoured .node-version and packageManager
  (nodejs 22.17.0, pnpm 9.15.0), so AGENTS.md's "unverified" goes.
- Workers Builds branch rules refuse prefix wildcards (12002), so
  gh-readonly-queue/* and mockup/* cannot be excluded as on Pages.
- Smoke against design.sahajatlas.com on the Worker: 10 of 17 fail,
  replacing the owed re-run in docs/testing.md.
- robots.txt no longer claims _redirects ships beside it; the Ladle
  build drops that file since #295. This also gives the Worker a
  second, observable production deploy for #266's gate.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying sahajatlas with  Cloudflare Pages  Cloudflare Pages

Latest commit: eb4a413
Status: ✅  Deploy successful!
Preview URL: https://ae74d7be.sahajatlas.pages.dev
Branch Preview URL: https://docs-279-design-worker-measu.sahajatlas.pages.dev

View logs

@cloudflare-workers-and-pages

Copy link
Copy Markdown

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
sahajatlas-design eb4a413 Oct 13 2026, 04:30 PM

@Ardnived
Ardnived merged commit be5d533 into main Oct 13, 2026
12 checks passed
@Ardnived
Ardnived deleted the docs/279-design-worker-measurements branch October 13, 2026 18:21
@sydevs-bot sydevs-bot moved this from Revising to Done in SYDevelopers Technical Roadmap Oct 13, 2026
sydevs-bot pushed a commit that referenced this pull request Oct 14, 2026
`main` answered this branch's open question while it sat conflicted. #295
measured what I had only narrowed: a Worker reads `_redirects`, and the
Workers API rejects `/*  /index.html  200` as an infinite loop (100324),
so the deploy fails outright rather than shadowing assets. #296 then
measured the first build — the image honours `.node-version` and
`packageManager`, and branch rules refuse prefix wildcards (12002).

Conflicts, both in the half this branch and `main` each rewrote:

- `package.json` — took `main`'s `ladle:build` with its `rm -f`, kept this
  branch's two-config `check:wrangler`.
- `AGENTS.md` § Deployment — took `main`'s measured text wholesale and
  dropped my hedged version of the same facts, then added only what is the
  app's: that `dist/` cannot be cleaned by `pnpm build`.

That last point is the one new thing here. `main` says the app's Worker
move "must drop the line rather than ship it", and `ladle:build` shows the
shape — but `dist/` is not `build/`: the Pages project serving
sahajatlas.com deploys that same directory and needs the splat. So the
deletion cannot live in `pnpm build`. `build:worker` is `build` plus the
same `rm -f`, and it, not `build`, is the app Worker's Builds command.

Verified: `pnpm build` leaves `dist/_redirects` in place, `pnpm
build:worker` removes it. `check:wrangler` cannot catch a regression —
the dry run never reaches the API that rejects the file — so the spec
pins each config to the script that fills its directory, and pins
`pnpm build` as free of the deletion. All three watched fail.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01GWfwsqh3etS8AgAGQRFp5s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant