Felipe Cardoso
2edfbe7158
fix(backend): critical bug fixes for agent termination and sprint validation
Bug Fixes:
- bulk_terminate_by_project now unassigns issues before terminating agents
to prevent orphaned issue assignments
- PATCH /issues/{id} now validates sprint status - cannot assign issues
to COMPLETED or CANCELLED sprints
- archive_project now performs cascading cleanup:
- Terminates all active agent instances
- Cancels all planned/active sprints
- Unassigns issues from terminated agents
Added edge case tests for all fixed bugs (19 new tests total):
- TestBulkTerminateEdgeCases
- TestSprintStatusValidation
- TestArchiveProjectCleanup
- TestDataIntegrityEdgeCases (IDOR protection)
Coverage: 93% (1836 tests passing)
2025-12-31 15:23:21 +01:00
..
2025-12-31 12:47:30 +01:00
2025-12-31 15:23:21 +01:00
2025-12-30 02:07:40 +01:00
2025-12-31 15:23:21 +01:00
2025-12-31 12:47:19 +01:00
2025-12-30 15:39:51 +01:00
2025-12-30 10:35:30 +01:00
2025-12-30 02:08:14 +01:00
2025-11-10 11:55:15 +01:00
2025-10-31 21:57:12 +01:00
2025-12-30 10:35:30 +01:00
2025-11-24 19:20:28 +01:00
2025-11-26 13:23:44 +01:00