Skip to content

Warn when a pause hook blocks the ecs:* lifecycle stage wait - #1069

Merged
fujiwara merged 1 commit into
v2from
feat/warn-paused-hook-on-stage-wait
Aug 10, 2026
Merged

Warn when a pause hook blocks the ecs:* lifecycle stage wait#1069
fujiwara merged 1 commit into
v2from
feat/warn-paused-hook-on-stage-wait

Conversation

@fujiwara

Copy link
Copy Markdown
Collaborator

What

While deploy --wait-until ecs:<stage> is polling, if a pause lifecycle hook is awaiting action, log a warning (once per hook) with the hook ID, the current stage, the target stage, and a hint to resume via aws ecs continue-service-deployment.

Why

A pause hook configured at a stage earlier than the target blocks the deployment until it is continued, so the wait looks like a hang. The warning tells the operator what is happening and what to do at the moment it matters, instead of speculatively warning at deploy start (pausing is an intentional configuration).

🤖 Generated with Claude Code

When waiting for a lifecycle stage with --wait-until ecs:<stage>, a
pause lifecycle hook awaiting action blocks the deployment, which looks
like a hang. Log a warning once per hook with a hint to continue the
deployment.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: fujiwara <fujiwara.shunichiro@gmail.com>
@fujiwara
fujiwara merged commit eff0b08 into v2 Aug 10, 2026
4 checks passed
@github-actions github-actions Bot mentioned this pull request Aug 10, 2026
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