diff --git a/TODO.md b/TODO.md index 4efa4f6..3e016cf 100644 --- a/TODO.md +++ b/TODO.md @@ -53,8 +53,8 @@ - [x] Deployment logs storage - [x] View deployment history per app - [x] Container logs viewing -- [ ] Deployment rollback to previous image -- [ ] Deployment cancellation +- [x] Deployment rollback to previous image +- [x] Deployment cancellation ### Manual Container Controls - [x] Restart container @@ -116,10 +116,9 @@ - [x] Deployment history page - [x] Login page - [x] Setup page -- [ ] Container logs page +- [x] Container logs page - [ ] Webhook event history page - [ ] Settings page (webhook secret, SSH public key) -- [ ] Real-time deployment log streaming (WebSocket/SSE) ### Future Considerations - [ ] Multi-user support with roles @@ -201,18 +200,18 @@ Protected Routes (require auth): - Validate paths before saving ### 3.2 Deployment Rollback -- [ ] Add `previous_image_id` column to apps table +- [x] Add `previous_image_id` column to apps table - Store last successful image ID before new deploy -- [ ] Add `POST /apps/:id/rollback` endpoint +- [x] Add `POST /apps/:id/rollback` endpoint - Stop current container - Start container with previous image - Create deployment record for rollback -- [ ] Update deploy service to save previous image before building new one +- [x] Update deploy service to save previous image before building new one ### 3.3 Deployment Cancellation -- [ ] Add cancellation context to deploy service -- [ ] Add `POST /apps/:id/deployments/:id/cancel` endpoint -- [ ] Handle cleanup of partial builds/containers +- [x] Add cancellation context to deploy service +- [x] Add `POST /apps/:id/deployments/:id/cancel` endpoint +- [x] Handle cleanup of partial builds/containers ## Phase 4: Lower Priority (Nice to Have) @@ -240,8 +239,6 @@ Protected Routes (require auth): - [ ] Add settings page - View/regenerate webhook secret - View SSH public key -- [ ] Add real-time deployment log streaming - - WebSocket or SSE for live build output ### 4.4 Observability - [ ] Add structured logging for all operations