ADR: what blocked a first AWS deployment (August 2026) - #258
Open
wooheum-xin wants to merge 1 commit into
Open
Conversation
Seven things stopped a fresh --target aws deployment until each was worked around, written up as an ADR under the process in CONTRIBUTING.md. The two that cost the most were an ADMIN_GRANTS seed that locks an operator out of their own Admin area with no documented recovery, and a rotted gh version pin that fails the MicroVM image build with no diagnostic anywhere in AWS. Claude-Session: https://claude.ai/code/session_01AnKuftwBchrSLpfQkzBHUE
Author
|
One follow-up on the The RPM repository at Worth noting that |
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.
Notes from standing up a fresh
--target awsdeployment, following the process inCONTRIBUTING.md— a.mdfile inadrs/, informal, describing what we hit rather than proposing an implementation.Seven things stopped the deployment until each was worked around. Roughly by how much damage they do:
ADMIN_GRANTSis a first-boot seed, not a setting. Seeding an address that cannot sign in locks the deployment out of its own Admin area, and recovery needed a one-off ECS task writing toadmin_grantsdirectly because RDS is VPC-private and ECS Exec is off.gh-2.96.0-1pin in the MicroVM agent image has rotted — the RPM repo drops old versions, soqm infra build-imagefails. AWS surfaces no diagnostic at all:CREATE_FAILEDwith nostateReasonand a log group with no stream.architecturetoarm64.npm auditgate indeploy/core/Dockerfileblocks--build-fromwhen a production advisory has no fix available.registry.invalidsentinel and fails deep into the deploy, after infrastructure exists and secrets are pushed..envbecome part of the secret and travel to the provider.Plus smaller notes on
infra delete-image, secret-only changes not restarting tasks, and the public-URL check assuming CloudFront when a proxying CDN sits in front of the ALB.Happy to expand on any of these, and glad to test fixes against a live AWS deployment.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.