Skip to content

Fix #271: Add "service update paused" case for swarm deployment log parsing#271

Merged
samdark merged 3 commits intomasterfrom
copilot/port-yiisoft-app-pull-456
Mar 20, 2026
Merged

Fix #271: Add "service update paused" case for swarm deployment log parsing#271
samdark merged 3 commits intomasterfrom
copilot/port-yiisoft-app-pull-456

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 19, 2026

Ports yiisoft/app#456. Docker Swarm can fail a deployment with a service update paused state rather than an explicit rollback, which was previously undetected as a failure.

Changes

  • Makefile: Extend prod-deploy failure detection grep pattern to include service update paused alongside existing rollback: and update rolled back patterns
  • Makefile: Generalize failure error messages from rollback-specific wording to "Docker Swarm update failed" to cover all failure modes
  • CHANGELOG.md: Add entry under 1.2.1 under development
# Before
if grep -qiE 'rollback:|update rolled back' deploy.log; then

# After
if grep -qiE 'rollback:|update rolled back|service update paused' deploy.log; then

💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

Loading
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.

3 participants