Compare commits

..

2 Commits

15
TODO.md
View File

@ -53,8 +53,8 @@
- [x] Deployment logs storage
- [x] View deployment history per app
- [x] Container logs viewing
- [x] Deployment rollback to previous image
- [x] Deployment cancellation
- [ ] Deployment rollback to previous image
- [ ] Deployment cancellation
### Manual Container Controls
- [x] Restart container
@ -119,6 +119,7 @@
- [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
@ -200,17 +201,17 @@ Protected Routes (require auth):
- Validate paths before saving
### 3.2 Deployment Rollback
- [x] Add `previous_image_id` column to apps table
- [ ] Add `previous_image_id` column to apps table
- Store last successful image ID before new deploy
- [x] Add `POST /apps/:id/rollback` endpoint
- [ ] Add `POST /apps/:id/rollback` endpoint
- Stop current container
- Start container with previous image
- Create deployment record for rollback
- [x] Update deploy service to save previous image before building new one
- [ ] Update deploy service to save previous image before building new one
### 3.3 Deployment Cancellation
- [x] Add cancellation context to deploy service
- [x] Add `POST /apps/:id/deployments/:id/cancel` endpoint
- [ ] Add `POST /apps/:id/deployments/:id/cancel` endpoint
- [x] Handle cleanup of partial builds/containers
## Phase 4: Lower Priority (Nice to Have)
@ -239,6 +240,8 @@ 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