Skip to content

fix: PreflightFunction strips UUID from StackSet instance stack names#85

Merged
hyunsies merged 1 commit intomainfrom
fix/preflight-stackset-uuid
Apr 30, 2026
Merged

fix: PreflightFunction strips UUID from StackSet instance stack names#85
hyunsies merged 1 commit intomainfrom
fix/preflight-stackset-uuid

Conversation

@hyunsies
Copy link
Copy Markdown
Contributor

Summary

  • StackSet instance stack names are StackSet-map-auto-tagger-{mpe}-{uuid}
  • Peer detection extracted {mpe}-{uuid} and SSM lookup at /auto-map-tagger/{mpe}-{uuid}/config failed
  • Every disjoint StackSet deploy was blocked as "config unreadable" (fail-closed)
  • Fix: strip trailing UUID via regex before SSM lookup
  • Applied to PreflightFunction + runtime peer detector in both YAML and configurator

Test plan

  • CT3 MA4 confirmed bug: disjoint StackSets blocked before fix
  • CT3 MA3 confirmed PreflightFunction works for same-name peers
  • sync-check.py passes
  • Layer 1 CI
  • Rerun MA4 after merge

🤖 Generated with Claude Code

StackSet instance stack names are `StackSet-map-auto-tagger-{mpe}-{uuid}`.
The peer detection extracted `{mpe}-{uuid}` and looked up SSM config at
`/auto-map-tagger/{mpe}-{uuid}/config` which doesn't exist. This caused
every disjoint StackSet deploy to be blocked as "config unreadable".

Fix: strip trailing UUID (`-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`) via
regex before SSM lookup. Applied to both PreflightFunction and runtime
peer detector in YAML and configurator.

CT3 MA4 confirmed: disjoint StackSets were blocked before this fix.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@hyunsies hyunsies merged commit 571a517 into main Apr 30, 2026
17 checks passed
@hyunsies hyunsies deleted the fix/preflight-stackset-uuid branch April 30, 2026 00:51
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