Repository navigation
OPN2: core's placement names the database's region - #9
Merged
Merged
Conversation
The openproduct Cloudflare account refuses the monorepo's
{ "mode": "smart", "hint": "apac" } ("placement hint not allowed", code
10023), which failed core's first stage deploy and held back everything
behind it. core now uses the documented Placement Hints form,
{ "region": "aws:ap-southeast-1" }, naming the region the Supabase projects
run in, so it still runs next to its database.
The status doc records the first deploy: the placement refusal, R2 not yet
enabled on the account (the owner's step), and the synthetic monitor
deployed on stage and prod.
Orun-Task: OPN-8
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
R2 is now enabled on the openproduct account. orun plan --changed schedules only components whose own files change, and a plain dependsOn edge orders without scheduling, so media, the gateway and the website each get a real note in their component.yaml: - media: the prerequisite comment said the first plan checks R2. It cannot: OPN-8's first apply planned cleanly and failed at create (10042). - gateway: the media edge held it back on that deploy, as designed. - web: a plain edge orders but never schedules. This merge then redeploys all four, in order: media, core, gateway, website, stage before prod. Orun-Task: OPN-8 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tests/web's opennext-config test pinned core's placement to the monorepo's
{ mode: "smart", hint: "apac" }. It now reads the database's region from
infra/supabase and asserts the placement is { region: "aws:<that region>" },
so the two cannot drift apart.
Orun-Task: OPN-8
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pullely
added a commit
that referenced
this pull request
Nov 11, 2026
The status doc records OPN-8's go-live and closes OPN2: - #9's merge deployed media, core, the gateway and the website, stage before prod, all green. - Both environments answer on the openproduct workers.dev hosts. /health is ok, all seven sweep phases ran and are healthy, core reads Postgres from beside it, and the synthetic monitor's promises hold. - No secret is in GitHub Actions or in a committed file. - Password sign-up stays with OPN3, as already recorded. The risks file gains OPN-V: requireApproval is set on stage and prod, yet the push-to-main run did not wait on an approval. That is the owner's question, and any fix is a platform one. Orun-Task: OPN-8 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A follow-up to #8 for the same task. Its first deploy (run 43110234860) failed on core's stage lane:
Everything that orders after core was held back with it.
The change
{ "mode": "smart", "hint": "apac" }to{ "region": "aws:ap-southeast-1" }:regionis the documented Placement Hints form (developers.cloudflare.com/workers/configuration/placement), and wrangler 4.100's schema accepts it.ap-southeast-1(infra/supabase,supabaseRegion). So the worker still runs next to its database, which was the point of OPP13.tests/webopennext-config.test.tspinned the oldhintform. It now reads the region frominfra/supabaseand asserts the placement is{ region: "aws:<that region>" }, so the two cannot drift apart.The held-back lanes redeploy with it
openproduct-mediafailed on the same deploy with "Please enable R2 through the Cloudflare Dashboard" (10042). R2 is now enabled on the account.orun plan --changedschedules only components whose own files change, and a plaindependsOnedge only orders. So the second commit adds a real note to each of the media, gateway and websitecomponent.yamlfiles:The merge's plan (
orun plan --changed --trigger github-push-main), stage before prod:Checks (local)
wrangler deploy --dry-runwith the fixture wiring passes for stage and prod (174 KiB gzip).orun task check OPN-8: 6 changed components, all inside the contract.orun validatepasses.🤖 Generated with Claude Code