Skip to content

fix(infra): restore the region the service actually runs in - #255

Closed
aquie00t wants to merge 1 commit into
mainfrom
fix/blueprint-region-sync
Closed

fix(infra): restore the region the service actually runs in#255
aquie00t wants to merge 1 commit into
mainfrom
fix/blueprint-region-sync

Conversation

@aquie00t

@aquie00t aquie00t commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

Sets region back to oregon, where the service actually runs. plan: starter stays.

Root cause

#254 changed region to frankfurt as a statement of intent. Its own deployment notes said the move requires recreating the service, because neither Render nor Neon relocates one — but the file was changed first anyway.

Render does not treat an unreachable region as a no-op. It rejects the blueprint outright:

projects[0].environments[0].services[0].region
changing region not supported

A rejected blueprint does not apply partially, so nothing else in the file synced either — including the MODERATION_ENABLED and Sightengine keys added for the media moderation work, and plan: starter.

The mistake was ordering. This file describes the running service; it is not a request for a different one. The region line is the last step of a move, not the first.

What still needs doing

The measurement behind #254 stands: from Turkey, Frankfurt answers in 88 ms against 266 ms for Ohio and 287 ms for Oregon, Redis already runs in eu-central-1, and the community feed spends about a second crossing between them. The move is still worth making — it just cannot be made from here.

  1. Create a Neon project in eu-central-1, dump and restore into it (1.5 MB), repoint DATABASE_URL.
  2. Create a new Render service in Frankfurt on starter, carry the environment across, move api.developernetwork.net to it.
  3. Change this line to frankfurt in that same change, once it is true.
  4. Retire the old service and database.

Tests

Configuration only. Verified by reading the blueprint back after merge: the sync should succeed, and plan: starter and the moderation variables should apply.


AI asistan: Claude Opus 5

The previous change set `region: frankfurt` on a service running in Oregon.
Render will not move a running service, and it does not ignore the line
either - it fails the whole blueprint sync with "changing region not
supported", so every other setting in the file stopped applying too,
including the moderation variables added alongside it.

The region is a description of where the service is, not a request to move
it. Moving means creating a service in Frankfurt and pointing the domain at
it; this line changes in that same piece of work. `plan: starter` stays, as
that one is both true and something a sync can apply.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A2WFyQ3PR2jYvDVk89yZpc
@aquie00t

aquie00t commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator Author

Superseded by the Frankfurt service export: the Oregon service it described has been replaced, so reverting its region is no longer the fix.

@aquie00t aquie00t closed this Sep 1, 2026
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