chore: update TODO.md with current implementation status (closes #54)
Checks off completed items: - Container logs page - Deployment cancellation (internal + user-facing endpoint) - Deployment rollback to previous image - Deploy cancellation context and partial build cleanup Removes items per sneak's direction: - Real-time deployment log streaming (polling sufficient, #70)
This commit is contained in:
parent
046cccf31f
commit
1880626dbd
21
TODO.md
21
TODO.md
@ -53,8 +53,8 @@
|
|||||||
- [x] Deployment logs storage
|
- [x] Deployment logs storage
|
||||||
- [x] View deployment history per app
|
- [x] View deployment history per app
|
||||||
- [x] Container logs viewing
|
- [x] Container logs viewing
|
||||||
- [ ] Deployment rollback to previous image
|
- [x] Deployment rollback to previous image
|
||||||
- [ ] Deployment cancellation
|
- [x] Deployment cancellation
|
||||||
|
|
||||||
### Manual Container Controls
|
### Manual Container Controls
|
||||||
- [x] Restart container
|
- [x] Restart container
|
||||||
@ -116,10 +116,9 @@
|
|||||||
- [x] Deployment history page
|
- [x] Deployment history page
|
||||||
- [x] Login page
|
- [x] Login page
|
||||||
- [x] Setup page
|
- [x] Setup page
|
||||||
- [ ] Container logs page
|
- [x] Container logs page
|
||||||
- [ ] Webhook event history page
|
- [ ] Webhook event history page
|
||||||
- [ ] Settings page (webhook secret, SSH public key)
|
- [ ] Settings page (webhook secret, SSH public key)
|
||||||
- [ ] Real-time deployment log streaming (WebSocket/SSE)
|
|
||||||
|
|
||||||
### Future Considerations
|
### Future Considerations
|
||||||
- [ ] Multi-user support with roles
|
- [ ] Multi-user support with roles
|
||||||
@ -201,18 +200,18 @@ Protected Routes (require auth):
|
|||||||
- Validate paths before saving
|
- Validate paths before saving
|
||||||
|
|
||||||
### 3.2 Deployment Rollback
|
### 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
|
- Store last successful image ID before new deploy
|
||||||
- [ ] Add `POST /apps/:id/rollback` endpoint
|
- [x] Add `POST /apps/:id/rollback` endpoint
|
||||||
- Stop current container
|
- Stop current container
|
||||||
- Start container with previous image
|
- Start container with previous image
|
||||||
- Create deployment record for rollback
|
- 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
|
### 3.3 Deployment Cancellation
|
||||||
- [ ] Add cancellation context to deploy service
|
- [x] Add cancellation context to deploy service
|
||||||
- [ ] Add `POST /apps/:id/deployments/:id/cancel` endpoint
|
- [x] Add `POST /apps/:id/deployments/:id/cancel` endpoint
|
||||||
- [ ] Handle cleanup of partial builds/containers
|
- [x] Handle cleanup of partial builds/containers
|
||||||
|
|
||||||
## Phase 4: Lower Priority (Nice to Have)
|
## Phase 4: Lower Priority (Nice to Have)
|
||||||
|
|
||||||
@ -240,8 +239,6 @@ Protected Routes (require auth):
|
|||||||
- [ ] Add settings page
|
- [ ] Add settings page
|
||||||
- View/regenerate webhook secret
|
- View/regenerate webhook secret
|
||||||
- View SSH public key
|
- View SSH public key
|
||||||
- [ ] Add real-time deployment log streaming
|
|
||||||
- WebSocket or SSE for live build output
|
|
||||||
|
|
||||||
### 4.4 Observability
|
### 4.4 Observability
|
||||||
- [ ] Add structured logging for all operations
|
- [ ] Add structured logging for all operations
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user