Skip to content

feat: wire the staging environment (control-stg remote + staging dispatch frame)#3

Merged
MrCoder merged 1 commit into
masterfrom
staging-remote-wiring
Jul 16, 2026
Merged

feat: wire the staging environment (control-stg remote + staging dispatch frame)#3
MrCoder merged 1 commit into
masterfrom
staging-remote-wiring

Conversation

@MrCoder

@MrCoder MrCoder commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds the control-stg remote (staging control Worker, fetch+compute) so the resolver's invokeRemote routing has a staging target — previously a staging install would silently route to the dev control key.
  • Adds the staging dispatch Worker to permissions.external.frames so the staging Custom UI may embed the served mini-site iframe.
  • Resolver derives control-stg from a -staging CONTROL_BASE_URL.

Staging infra stood up alongside (out-of-band, staging-scoped): mini-sites-staging dispatch namespace created (also un-breaks master's staging auto-deploy), both staging Workers deployed, K_GRANT/CONTROL_SHARED_SECRET/WFP_API_TOKEN_PROVISIONING set.

Test plan

  • pnpm test 224/224 + typecheck green (no Worker code touched).
  • Live staging spot check (Forge staging deploy + install on lite-stg): macro renders and the staging control Worker logs via:"fit".

🤖 Generated with Claude Code

https://claude.ai/code/session_01UDYKDJBU8KZP9SWMaxNxSp

@MrCoder
MrCoder marked this pull request as ready for review July 16, 2026 09:34
@MrCoder
MrCoder merged commit d672348 into master Jul 16, 2026
6 checks passed
@MrCoder
MrCoder deleted the staging-remote-wiring branch July 16, 2026 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant