API Server: Group bulk actions #5

Closed
opened 2026-03-05 18:44:49 -06:00 by jeremy · 0 comments
Owner

Implement bulk start/stop/restart actions for all containers in a group.

Tasks

  • POST /api/groups/{id}/start - start all containers in the group
  • POST /api/groups/{id}/stop - stop all containers in the group
  • POST /api/groups/{id}/restart - restart all containers in the group
  • Fan-out requests to all relevant node agents in parallel
  • Return aggregate result: {succeeded: [...], failed: [...]}
  • Handle partial failures gracefully

Notes

  • Use asyncio.gather for parallel requests to multiple nodes
  • Should not fail the entire operation if one container action fails
Implement bulk start/stop/restart actions for all containers in a group. ## Tasks - [ ] `POST /api/groups/{id}/start` - start all containers in the group - [ ] `POST /api/groups/{id}/stop` - stop all containers in the group - [ ] `POST /api/groups/{id}/restart` - restart all containers in the group - [ ] Fan-out requests to all relevant node agents in parallel - [ ] Return aggregate result: {succeeded: [...], failed: [...]} - [ ] Handle partial failures gracefully ## Notes - Use asyncio.gather for parallel requests to multiple nodes - Should not fail the entire operation if one container action fails
jeremy added this to the v1.0 milestone 2026-03-05 18:44:49 -06:00
jeremy added the feature label 2026-03-05 18:44:49 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jeremy/farm-manager#5