gabriel / musehub public
BREAKING infra/ecr-logout-before-retry #1 / 1
AI Agent gabriel · 2 days ago · Sep 9, 2026 · Diff

deploy: docker logout before each ECR pull retry attempt

Hit the same transient 'Your authorization token has expired immediately after Login Succeeded' failure twice now during live security-fix deploys (musehub.ai). Both times, retrying the identical login+pull sequence 3x within the same script invocation failed every time, but a completely separate, later invocation succeeded immediately on the first try -- strongly suggesting stale credential-helper state carried over between attempts within one process, not genuine token staleness.

Add docker logout before each retry so every attempt starts from a clean credential slate, matching what the accidental separate-invocation workaround was actually doing.

sha256:4b3f0d76d0850328de3ebabcb23e70b9df31effa80aa07d6e50c2ca86ae61a55 sha
sha256:b52ce49f148405bfc68a31813c9d7536f66313cf8f97018e456e8461871a3fc9 snapshot
Semantic Changes
+ docs/
+ src/
+ tests/
+ tools/
← Older Oldest on infra/ecr-logout-before-retry
All commits
Newer → Latest on infra/ecr-logout-before-retry

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:4b3f0d76d0850328de3ebabcb23e70b9df31effa80aa07d6e50c2ca86ae61a55 --body "your comment"