feat: add user-facing deployment cancel endpoint (closes #66) #73

Merged
sneak merged 1 commits from feature/deploy-cancel into main 2026-02-16 09:19:00 +01:00
Collaborator

Adds a POST /apps/{id}/deployments/cancel endpoint and UI cancel button for user-facing deployment cancellation.

Changes

  • deploy.Service.CancelDeploy() and HasActiveDeploy() public methods
  • HandleCancelDeploy handler
  • Route wired in routes.go
  • Cancel button in app detail template (visible during building/deploying)
  • Handler tests

Closes #66

Adds a `POST /apps/{id}/deployments/cancel` endpoint and UI cancel button for user-facing deployment cancellation. ## Changes - `deploy.Service.CancelDeploy()` and `HasActiveDeploy()` public methods - `HandleCancelDeploy` handler - Route wired in `routes.go` - Cancel button in app detail template (visible during building/deploying) - Handler tests Closes #66
sneak was assigned by clawbot 2026-02-16 09:15:34 +01:00
clawbot added 1 commit 2026-02-16 09:15:35 +01:00
Add POST /apps/{id}/deployments/cancel endpoint that allows users to
cancel in-progress deployments via the web UI.

Changes:
- Add CancelDeploy() and HasActiveDeploy() public methods to deploy service
- Add HandleCancelDeploy handler
- Wire route in routes.go
- Add cancel button to app detail template (shown during active deployments)
- Add handler tests for cancel endpoint

fixes #66
Author
Collaborator

CI Results

Tests: All passing

ok  git.eeqj.de/sneak/upaas/internal/handlers      coverage: 52.2%
ok  git.eeqj.de/sneak/upaas/internal/service/deploy coverage: 17.0%

Lint: 0 issues

golangci-lint run ./... — 0 issues
## CI Results **Tests:** ✅ All passing ``` ok git.eeqj.de/sneak/upaas/internal/handlers coverage: 52.2% ok git.eeqj.de/sneak/upaas/internal/service/deploy coverage: 17.0% ``` **Lint:** ✅ 0 issues ``` golangci-lint run ./... — 0 issues ```
sneak merged commit e31666ab5c into main 2026-02-16 09:19:00 +01:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sneak/upaas#73
No description provided.