Skip to content

chore(workflow): name the Workers deploy target and review wrangler configs - #300

Merged
Ardnived merged 1 commit into
mainfrom
chore/279-workflow-config
Oct 14, 2026
Merged

Ardnived merged 1 commit into
mainfrom
chore/279-workflow-config

Conversation

@Ardnived

Copy link
Copy Markdown
Contributor

Summary

The two attended .claude/workflow.json edits #279 left for a person. No cloud run can write .claude/, which is why they weren't in #294.

  • deployTarget now reads Cloudflare Workers static assets (sahajatlas, sahajatlas-design); sahajatlas.com stays on Cloudflare Pages (sahajatlas) until #266's cutover. That matches AGENTS.md § Deployment after chore(build): move the Ladle playground to Cloudflare Workers #279 and chore(build): serve the atlas app from a Cloudflare Worker #297.
  • securityReview.triggerPattern adds (^|/)wrangler[^/]*\.jsonc?$ and public/_(headers|redirects)$. Both Worker configs (wrangler.jsonc, wrangler.design.jsonc) and the two platform-executed public/ files now fire the review, as vite.config.ts and package.json already do. robots.txt stays out on purpose.
  • docs/security-triggers.md gets a row explaining why: _headers' site-wide ACAO makes anything landing in dist/ or build/ cross-origin readable.

Test results

  • jq parses the file. Run against sample paths, the pattern matches wrangler.jsonc, wrangler.design.jsonc, public/_headers and public/_redirects, and not public/robots.txt, docs/wrangler-notes.md or src/….

Refs #279, #266

🤖 Generated with Claude Code

…onfigs

The two attended edits #279 left for a person, since no cloud run can
write .claude/:

- deployTarget names both Workers, with sahajatlas.com still on Pages
  until #266's cutover.
- securityReview.triggerPattern now matches wrangler*.jsonc and
  public/_headers / _redirects. They decide what each Worker serves
  and which headers reach a host page, and _headers carries the
  site-wide ACAO that publishes every file in dist/ and build/.

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: d6dcf3b
Status: ✅  Deploy successful!
Preview URL: https://18ba1102.sahajatlas.pages.dev
Branch Preview URL: https://chore-279-workflow-config.sahajatlas.pages.dev

View logs

@Ardnived
Ardnived merged commit 5a8d7f1 into main Oct 14, 2026
10 checks passed
@Ardnived
Ardnived deleted the chore/279-workflow-config branch October 14, 2026 18:28
@sydevs-bot sydevs-bot moved this from Revising to Done in SYDevelopers Technical Roadmap Oct 14, 2026
Ardnived added a commit that referenced this pull request Oct 14, 2026
#288 (#286) moved the nine `src/` inventories onto
`src/test-support/source-tree.ts`, so they stopped calling `readdirSync(`
and the walker detector lost all nine. The closed list in
`select-unit-specs.test.ts` failed the merge-queue run, as designed.

A spec that imports the shared walk is a walker now, found through the
reference index, which already resolves `@/`, relative and quoted-path
specifiers. That also picks up `source-tree.test.ts`, whose import
boundary check reads the whole tree. `wrangler-config.test.ts`, which
landed with #300, matches `readdirSync(` on the repo root. It is
over-included on purpose, the way the detector is meant to err.

Twelve walkers instead of ten, so the widest selection is 24
(`src/config/i18n.ts`, `src/lib/shape/index.ts`). On the same machine
the 24-spec run measured no slower than the 22-spec one (~2.0s vs
~2.1s, 11 cores), so the ceiling moves to 26 to keep the same headroom.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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