Repository navigation
feat(platform): run two tasks on moresleep.javazone.no - #7
Open
Alexanderamiri wants to merge 1 commit into
Open
Alexanderamiri wants to merge 1 commit into
Alexanderamiri wants to merge 1 commit into
Conversation
Alexanderamiri
added this pull request to stack #9
October 24, 2026 13:32
This was referenced Oct 24, 2026
Alexanderamiri
force-pushed
the
platform/4-two-tasks
branch
from
October 24, 2026 13:36
6b1974b to
8e1543e
Compare
Alexanderamiri
force-pushed
the
platform/4-two-tasks
branch
from
October 24, 2026 13:38
8e1543e to
6bdcb15
Compare
Raise desired_count from 0 to 2, the same as the old CDK service. Merge only after the five secrets hold real values (javabin secret list shows none left at PLACEHOLDER). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Alexanderamiri
force-pushed
the
platform/4-two-tasks
branch
from
October 24, 2026 13:50
6bdcb15 to
ae9c31a
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
Starts the parallel run: two platform tasks on
moresleep.javazone.no, using the same database as production. Production traffic still goes to the old stack.What
compute.desired_count: 0 -> 2(the old service's count), plus the regeneratedterraform/main.tf.How the platform piece works
Secrets. The secrets PR 3 (#6) created hold
PLACEHOLDER. Set them from the SOPS file with the platform CLI, logged in with your own SSO user (permission setjavabin-team-moresleep):Also compare the SOPS values of
SERVER_PORT,RUN_FROM_JAR,ALL_OPEN_MODE,LOAD_FROM_SLEEPINGPILLandDBHOSTwithapp.yaml.DBHOSTis now injected from the adopted instance and must point at the same database.Scaling is just this number. Change it, open a PR, read the plan, merge. ECS keeps that many tasks running and replaces unhealthy ones. The ALB only routes to tasks whose
/health check passes.How verified
Only the generated diff (
desired_count = 2).After merging, check on
moresleep.javazone.no:GET /public/allSessionsand/public/allSessions/javazone_2026are byte-identical to sleepingpill.curl -X POST https://moresleep.javazone.no/data/conference -d '{}'. That provesALL_OPEN_MODEis off. Some reads, likeGET /data/conference, are anonymous by design./ecs/moresleep/moresleep) are clean.Merge when
After the secrets are set (
javabin secret listshows nothing atPLACEHOLDER). If you merge earlier, the tasks start with placeholder credentials and fail health checks. That is harmless but noisy.🤖 Generated with Claude Code