Repository navigation
feat(platform): serve sleepingpill.javazone.no from the platform (DO NOT MERGE yet) - #8
Draft
Alexanderamiri wants to merge 1 commit into
Draft
Alexanderamiri wants to merge 1 commit into
Alexanderamiri wants to merge 1 commit into
Conversation
Alexanderamiri
marked this pull request as draft
October 24, 2026 13:33
This was referenced Oct 24, 2026
Alexanderamiri
force-pushed
the
platform/5-cutover
branch
2 times, most recently
from
October 24, 2026 13:38
9aa7917 to
c1d7dbe
Compare
Cutover: the ALB rule's host changes in place to sleepingpill.javazone.no and routing.adopt_dns takes over the existing hand-made record, re-pointing it from Default-ALB to the platform ALB. Same database on both sides, so no data copy or write freeze. Do not merge until the parallel run on moresleep.javazone.no is verified. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Alexanderamiri
force-pushed
the
platform/5-cutover
branch
from
October 24, 2026 13:50
c1d7dbe to
d42ca83
Compare
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.
Why
The cutover.
sleepingpill.javazone.nomoves from the old stack (Default-ALB) to the platform. Both stacks use the same database, so there is no data copy, no write freeze and no consumer change.What
routing.host: moresleep.javazone.no -> sleepingpill.javazone.no.routing.adopt_dns: true.terraform/.How the platform piece works
sleepingpill.javazone.nowas created by hand, so Terraform would normally fail with "record already exists".adopt_dns: truesetsallow_overwriteon the record. Route53 then UPSERTs it to an alias of the platform ALB, and from then on Terraform owns it. The plan shows themoresleep.javazone.norecord replaced bysleepingpill.javazone.no; that is expected.Rollback (break-glass). The old stack keeps running until PR 6 (#10).
masterfirst and disable the Deploy workflow (gh workflow disable deploy.yml -R javaBin/moresleep). Break-glass is not sticky: the next push tomasterruns a plan, sees that the record drifted and re-applies the platform alias, so any unrelated merge would silently undo the rollback.EvaluateTargetHealth: false, as it is today):aws route53 change-resource-record-sets --hosted-zone-id Z09335963LMV0Z5QB9L45 --change-batch '{"Changes":[{"Action":"UPSERT","ResourceRecordSet":{"Name":"sleepingpill.javazone.no","Type":"A","AliasTarget":{"HostedZoneId":"Z215JYRZR1TBD5","DNSName":"dualstack.default-alb-1235825687.eu-central-1.elb.amazonaws.com","EvaluateTargetHealth":false}}}]}'sleepingpill.javazone.no. To abandon the platform completely, a platform admin first runsterraform state rm module.routing.aws_route53_record.thisin the moresleep state, and only then is the PR reverted and Deploy re-enabled.How verified
allow_dns_overwrite = true, andservice_url.adopt_dns) has unit tests in feat(app-yaml): adopt an existing RDS instance and Route53 record platform#155.After merging, smoke-test the consumers:
Watch the 5xx alarm.
Merge when
On an off-season weekday, after PR 4's (#7) checks pass and someone is around for an hour.
🤖 Generated with Claude Code