Repair hotfix route and action flows

This commit is contained in:
master
2026-03-10 18:06:14 +02:00
parent bb8327087d
commit f401a7182c
8 changed files with 312 additions and 6 deletions

View File

@@ -0,0 +1,45 @@
# Sprint 20260310_031 - Hotfix Route And Action Repair
## Topic & Scope
- Remove dead hotfix actions from the Releases surface and converge hotfix creation on the shipped canonical release creation workflow.
- Repair the hotfix queue so `Review` opens the existing detail surface instead of doing nothing.
- Working directory: `src/Web/StellaOps.Web/src/app/routes`.
- Expected evidence: focused Angular route/component tests, live Playwright hotfix action sweep, rebuilt web bundle synced into the local compose stack.
## Dependencies & Concurrency
- Depends on the current local Stella Ops stack staying reachable at `https://stella-ops.local`.
- Safe parallelism: bounded to Releases route wiring, hotfix queue UI, and supporting Playwright harnesses.
## Documentation Prerequisites
- `docs/qa/feature-checks/FLOW.md`
- `docs/modules/platform/architecture-overview.md`
## Delivery Tracker
### TASK-01 - Repair hotfix create and review actions
Status: DONE
Dependency: none
Owners: QA, 3rd line support, Product Manager, Architect, Developer
Task description:
- The current hotfix queue and `/releases/hotfixes/new` route expose active controls that do not perform any user-visible action. This violates the zero-tolerance QA bar for live routes and actionability.
- Diagnose the broken interactions, confirm the canonical shipped workflow, and repair the hotfix route contract and queue actions without reviving duplicate placeholder UI.
Completion criteria:
- [x] `/releases/hotfixes/new` lands on the canonical release creation workflow with `type=hotfix` and `hotfixLane=true` while preserving scope query params.
- [x] The hotfix queue `Review` action opens `/releases/hotfixes/:hotfixId` and preserves current scope.
- [x] Focused route/component tests cover the redirect and queue link behavior.
- [x] A live Playwright hotfix action sweep passes with zero failed actions and zero runtime issues.
## Execution Log
| Date (UTC) | Update | Owner |
| --- | --- | --- |
| 2026-03-10 | Sprint created for live hotfix route and action repair after Playwright found inert `Review` and `Submit For Review` controls. | QA |
| 2026-03-10 | Root cause confirmed: `/releases/hotfixes/new` was a dead placeholder form and the queue `Review` action was an inert button. Redirected hotfix creation to the canonical release creation workflow, rewired `Review` to the existing detail route, rebuilt/synced the web bundle, and passed focused Angular coverage plus live Playwright hotfix and canonical route sweeps (`111/111`). | QA / Developer |
## Decisions & Risks
- Decision: keep `/releases/versions/new` as the canonical hotfix creation workflow and make `/releases/hotfixes/new` a compatibility redirect instead of extending the dead placeholder `HotfixCreatePageComponent`.
- Decision: use the existing hotfix detail page for queue review instead of inventing a new modal or secondary workflow.
- Decision: update the canonical route sweep contract so `/releases/hotfixes/new` is accepted as a compatibility redirect to `/releases/versions/new`; the dedicated hotfix action sweep remains responsible for asserting `type=hotfix` and `hotfixLane=true`.
## Next Checkpoints
- Move to the next deep action sweep under Releases after this scoped commit.