feat(FN-5196): return 410 Gone for hard-archived task deletions
Implement the hard-archived delete contract: add a typed `ArchivedTaskDeleteError`, map hard-archived task deletes to HTTP 410 Gone at both the store and routes layers, and document the invariant in the soft-delete verification matrix. Fusion-Task-Id: FN-5196
This commit is contained in:
committed by
gsxdsm
parent
6289d4a60b
commit
9a09498397
5
.changeset/fn-5196-archive-delete-contract.md
Normal file
5
.changeset/fn-5196-archive-delete-contract.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@runfusion/fusion": patch
|
||||
---
|
||||
|
||||
FN-5196: pin the archived-task delete contract. `deleteTask` on a hard-archived task now throws the typed `TaskAlreadyHardArchivedError`; the dashboard delete route maps this to HTTP 410 Gone with `code: "TASK_ALREADY_HARD_ARCHIVED"`. No silent no-op.
|
||||
Reference in New Issue
Block a user