Repository navigation
feat(proxy): translate CloudFormation-generated physical names across restarts - #46
Merged
Merged
Conversation
keepstack validate:
|
| Step | Result |
|---|---|
| init | ✅ ok |
| plan | ✅ ok |
| apply | ✅ ok |
| idempotency | ✅ ok |
| smoke | ✅ ok |
Plan: 0 to add, 0 to change, 0 to replace, 0 to destroy
keepstack · 15.3 s · AWS Emulator, no AWS account used
This was referenced Nov 13, 2026
… restarts (#19) After CreateStack, UpdateStack or ExecuteChangeSet, keepstack polls DescribeStackResources until the stack settles and journals the answer. The replay waits for the replayed stack and pairs old and new physical names by logical ID.
sanlega
force-pushed
the
feat/19-cfn-physical-names
branch
from
November 13, 2026 23:08
b6ef49f to
774c38f
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.
Closes #19
Physical names that CloudFormation generates (
stack-Q-C212895A2991for a queue withoutQueueName) only appear in read responses, so they changed after every restart.How
CreateStack/UpdateStack/ExecuteChangeSet, a background thread pollsDescribeStackResourcesuntil nothing is*_IN_PROGRESSand journals that answer as its own row (sosnapshot,compactandDeleteStackpairing treat it like any other row).Limits (documented): a stack still deploying when keepstack stops keeps new names; only the query (form) protocol.
Tests
tests/test_e2e_cfn.py: unnamed queue in a stack, kill keepstack + container, restart:DescribeStackResourcesreturns the original URL and SendMessage/GetQueueAttributes on it work. Fails without the fix (names-Q-581B9682522D!=names-Q-2126D0F6E1ED).scripts/verify.ps1: 147 tests OK. README + es/zh-CN, compatibility, how-it-works, CHANGELOG updated.🤖 Generated with Claude Code