fix: treat HTTP 409 as success on Portainer stack start #29

Merged
elvis merged 1 commit from feat/cicd_improvements into main 2026-05-28 18:40:36 +00:00
Owner

409 means the stack is already running — the PUT redeployed it successfully. The subsequent POST /start has nothing to do in that case and correctly returns a conflict. Treating it as an error was a false failure.

🤖 Generated with Claude Code

409 means the stack is already running — the PUT redeployed it successfully. The subsequent POST /start has nothing to do in that case and correctly returns a conflict. Treating it as an error was a false failure. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix: treat HTTP 409 as success on stack start
Some checks failed
Test / test (pull_request) Failing after 3s
55e9272c7e
409 means the stack is already running (PUT already redeployed it),
so /start has nothing to do — not an error.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
elvis merged commit 167ab9ebc6 into main 2026-05-28 18:40:36 +00:00
elvis deleted branch feat/cicd_improvements 2026-05-28 18:40:37 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
elvis/actual-mcp!29
No description provided.