fix: add POST /start to ensure Portainer stack comes up #23

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

Summary

PUT /api/stacks/{id} updates the stack config and redeploys running containers, but does not start a stopped stack. Adding POST /api/stacks/{id}/start after the PUT ensures containers are created/started regardless of the stack's current state.

Test plan

  • Stop the stack in Portainer, then merge to main → confirm the workflow starts it back up with the new image

🤖 Generated with Claude Code

## Summary `PUT /api/stacks/{id}` updates the stack config and redeploys running containers, but does not start a stopped stack. Adding `POST /api/stacks/{id}/start` after the PUT ensures containers are created/started regardless of the stack's current state. ## Test plan - [ ] Stop the stack in Portainer, then merge to main → confirm the workflow starts it back up with the new image 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix: add POST /start after PUT to ensure stack comes up
Some checks failed
Test / test (pull_request) Failing after 3s
0a4720140c
PUT only updates a running stack; it does not start stopped containers.
The explicit start call handles both cases.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
elvis merged commit d35efb68e9 into main 2026-05-28 18:08:44 +00:00
elvis deleted branch feat/cicd_improvements 2026-05-28 18:08:44 +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!23
No description provided.