Skip to content

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

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

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

Conversation

@fujiwara

Copy link
Copy Markdown
Collaborator

Port of #1069 to pre-v3.

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 run ecspresso continue. The pause detection is extracted into pausedHookIDs, shared with deploymentPaused (the --wait-until=paused path).

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 run
`ecspresso continue`.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: fujiwara <fujiwara.shunichiro@gmail.com>
@fujiwara fujiwara added the v3 label Aug 10, 2026
@fujiwara
fujiwara merged commit e493378 into pre-v3 Aug 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant