Skip to content

chore(build): name the Ladle Worker wemeditate-design - #216

Merged
Ardnived merged 5 commits into
mainfrom
claude/chore-266-rename-design-worker
Oct 31, 2026
Merged

Ardnived merged 5 commits into
mainfrom
claude/chore-266-rename-design-worker

Conversation

@Ardnived

@Ardnived Ardnived commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • The Workers Builds project behind design.wemeditate.com was created as wemeditate-design, not the wm-design that ci(preview): move the Ladle site to Workers and fail on no preview #184 planned. This PR moves every reference to that name:
    • wrangler.design.jsonc
    • the ladle smoke leg's CF_PROJECT_MATCH in ci.yml
    • EXCLUDE in scripts/get-cloudflare-preview-url.mjs
    • docs/cloudflare-previews-ci.md
  • Workers Builds deploys with --config wrangler.design.jsonc, so until this merges, a main build would deploy a second Worker called wm-design. It would not update the connected one.
  • .claude/workflow.json gets the two attended edits ci(preview): move the Ladle site to Workers and fail on no preview #184 left for a person:
    • deployTarget no longer says Ladle is on Pages.
    • securityReview.triggerPattern matches ^wrangler\., so wrangler.design.jsonc is covered as well as wrangler.toml.
  • docs/cloudflare-previews-ci.md loses three sentences this PR's own CI disproves — see ## Change outline.
  • AGENTS.md stops saying Pages serves the playground: the Worker exists, only the address is still Pages.

Part of sydevs/SahajAtlasWeb#266 (the We Meditate library move).

Change outline

The rename

wemeditate-design replaces wm-design in the Worker's own name, the smoke matrix, the discovery script's EXCLUDE and the docs. The preview host carries the Worker name, so CF_PROJECT_MATCH and EXCLUDE had to move in the same commit.

The prose the rename sweep got wrong

Three statements in docs/cloudflare-previews-ci.md, each corrected against an observation on this PR rather than a reading of the code:

  • The Pages comment still matches. matchesTarget hays `${project} ${url}`, and fromPrComments lifts the project out of the Pages comment's Deploying wemeditate-design with …. So the new substring selects a stale Pages preview by project name, as wm-design did by host, and discoverUrl takes the first comment — pushing again cannot shake it off. ci(preview): move the Ladle site to Workers and fail on no preview #184's overlap guard is restored.
  • The Builds trigger carries no path filters. This PR's push touched no WATCH path, so Smoke (ladle) skipped discovery in 4s; Workers Builds: wemeditate-design built and commented anyway. Green, nothing smoked — the silent green ci(preview): move the Ladle site to Workers and fail on no preview #184 closed, reached from the other side. The heading and the "gets no Ladle preview" sentence are conditional now.
  • The Workers Builds check run is named here. Workers Builds: <worker>, whose details_url is the dash.cloudflare.com build page and carries no preview address. ci(preview): move the Ladle site to Workers and fail on no preview #184 is closed with that item unticked, so the doc and ci.yml:18's checks: read comment stop deferring to it.

AGENTS.md's deployment section follows: the Worker exists and serves every PR preview, and the breadcrumb moves from closed #184 to the open goal.

State of the move

wemeditate-design Worker serves the library at wemeditate-design.contact-c66.workers.dev with access-control-allow-origin: * (one value) and x-robots-tag: noindex on every path. /_headers is parsed, not served.
design.wemeditate.com still on the wemeditate-design Pages project — re-measured 2026-10-30 22:59Z, it serves referrer-policy and x-content-type-options, which the Worker preview does not. The address moves after this merges and a main build is seen deploying.
Header difference vs Pages Pages adds referrer-policy and x-content-type-options: nosniff on its own; Workers does not. design.sahajatlas.com has run without them since its move.

Smoke (ladle) on e150ab7 went green in 4s reading no address: the push touched no path Ladle reads, so the scope step set built=false and skipped discovery, while the Worker's unfiltered Builds trigger built a preview regardless. Until path_includes/path_excludes are set on the trigger, that check tests nothing on a push like this one.

Preview

Test results

  • Lean gate: ✓ pnpm lint, tsc --noEmit, pnpm test:run — 89 files, 909 tests passed
  • Build: N/A — this push changes two Markdown files and one YAML comment

Notes for reviewer

  • Setting path_includes/path_excludes on the wemeditate-design Builds trigger is still attended Cloudflare-API work, as is turning the Pages project's preview builds off. The docs now name both as unset rather than describing them as done.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Mg9rjYEry4uYDJeqiheTFW

The Workers Builds project for design.wemeditate.com was created as
`wemeditate-design`, so the wrangler config, the ladle smoke leg's
CF_PROJECT_MATCH, the discovery script's EXCLUDE list and the docs move
to that name. The workflow config stops describing Ladle as a Pages site,
and the security-review trigger now covers wrangler.design.jsonc.

Refs sydevs/SahajAtlasWeb#266

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

cloudflare-workers-and-pages Bot commented Oct 30, 2026 •

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 Preview URL Updated (UTC)
✅ Deployment successful!
View logs
wemeditate-design 209d77c Commit Preview URL

Branch Preview URL
Oct 30 2026, 11:04 PM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 30, 2026 •

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 Preview URL Updated (UTC)
✅ Deployment successful!
View logs
wemeditate-web 209d77c Commit Preview URL

Branch Preview URL
Oct 30 2026, 11:04 PM

@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Oct 30, 2026
@sydevs-bot

sydevs-bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

🤖 no session running

recent dispatches
  • 22:57Z address-review · attempt 1 · session · done
  • 22:57Z address-review · attempt 1 · session
  • 22:49Z review-pr · attempt 2 · session · done
  • 22:49Z review-pr · attempt 2 · session
  • 20:41Z review-pr · attempt 1 · session · timed out

Written by the sydevs dispatcher. Sessions never edit this comment.

@sydevs-bot sydevs-bot moved this from Awaiting to Working in SYDevelopers Technical Roadmap Oct 30, 2026
@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Oct 30, 2026
@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Oct 30, 2026

@sydevs-bot sydevs-bot 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.

🧐 Adversarial review

The rename is right and should land: Workers Builds deploys with --config wrangler.design.jsonc, so until this merges a main build creates a second Worker and never updates the connected one. Five files, one name, nothing smuggled — the two .claude/workflow.json edits are #184's attended leftovers and belong here.

The prose around it does not hold. Two sentences the sweep added state the opposite of what the code and this PR's own CI do, and both bear on the silent green #184 existed to close.

Findings

  • should-fix — docs/cloudflare-previews-ci.md:33: the match substring still selects the old Pages preview, by project name. See thread.
  • should-fix — docs/cloudflare-previews-ci.md:48: the Builds trigger carries no path filters, and this push proves it. See thread.
  • should-fix — AGENTS.md:67-69, no hunk to anchor: still says the playground is served by a Cloudflare Pages project until #184's phase 2. The Worker exists and serves the library.
  • consider — docs/cloudflare-previews-ci.md:30: the check-run name is observable here. See thread.

What was checked

  • The diff whole from the checkout, then the discovery script, ci.yml's smoke job, both docs, #184 (closed by #189; this PR is ticketless, so judged against its body), and a repo-wide grep for the old name — the only hits not above are the sitemap spec's fixture and the line documenting it.
  • The ladle branch preview: /, /meta.json and /robots.txt all 200, ACAO * single-valued, x-robots-tag: noindex, no referrer-policy or nosniff, as the body says. /_headers returns the Ladle shell as text/html, so it is parsed, not served.
  • e150ab7's check runs: Smoke (ladle) green in 4s, Workers Builds: wemeditate-design successful. The dashboard, the Builds trigger and DNS are unreachable from here.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

Comment thread docs/cloudflare-previews-ci.md Resolved
Comment thread docs/cloudflare-previews-ci.md Resolved
Comment thread docs/cloudflare-previews-ci.md Resolved
@sydevs-bot sydevs-bot added bot:working Lock: a cloud session is running on this item. Removed when it ends. and removed bot:working Lock: a cloud session is running on this item. Removed when it ends. labels Oct 30, 2026
`matchesTarget` hays `${project} ${url}`, and `fromPrComments` lifts the project
name out of the Pages comment's `Deploying wemeditate-design with …`. So the
renamed match substring selects a stale Pages preview by project name, exactly as
`wm-design` did by host. `discoverUrl` returns the first matching candidate and PR
comments arrive oldest-first, so pushing again cannot shake it off.

Restores #184's overlap guard, which the rename sweep dropped.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjYEry4uYDJeqiheTFW
#216's own push touched no WATCH path, so `Smoke (ladle)` skipped discovery in
4s — yet `Workers Builds: wemeditate-design` built and commented. The Worker's
Builds trigger therefore carries no path_includes/path_excludes, and the doc's
present tense claimed it did. Until they are set, a push outside the list gets a
preview nothing smokes, which is the silent green #184 closed.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjYEry4uYDJeqiheTFW
#184 is closed with that item unticked, so both the doc and ci.yml's `checks: read`
comment deferred to a ticket that will never record it. #216 answers it:
`Workers Builds: wemeditate-design` and `Workers Builds: wemeditate-web`, each with a
`dash.cloudflare.com` details_url and no preview address, so the check-run fallback
yields nothing.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjYEry4uYDJeqiheTFW
#216 created it: the branch preview answers on
claude-chore-266-rename-design-worker-wemeditate-design.contact-c66.workers.dev.
`design.wemeditate.com` is still Pages — it serves `referrer-policy` and
`x-content-type-options`, which the Worker preview does not — so the address, not
the Worker, is what remains. #184 is closed, so the breadcrumb moves to the goal.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjYEry4uYDJeqiheTFW
@sydevs-bot

Copy link
Copy Markdown
Contributor

Adopted all four review points. Pushed 209d77c.

PR body refreshed — its Smoke (ladle) line promised an address the check never read. Lean gate green, 909 tests.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Oct 30, 2026
@sydevs-bot
sydevs-bot enabled auto-merge October 30, 2026 23:06
@sydevs-bot sydevs-bot moved this from Working to Awaiting in SYDevelopers Technical Roadmap Oct 30, 2026
@Ardnived
Ardnived merged commit 41f6f61 into main Oct 31, 2026
50 of 54 checks passed
@Ardnived
Ardnived deleted the claude/chore-266-rename-design-worker branch October 31, 2026 04:43
@sydevs-bot sydevs-bot moved this from Awaiting to Done in SYDevelopers Technical Roadmap Oct 31, 2026
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.

ci(preview): move the Ladle site to Workers and fail on no preview

3 participants