feat(FN-5208): guard soft-delete resurrection across upsert and triage writ
FN-5208 hardens the soft-delete boundary in the task store by adding read guards that block access to deleted tasks, write guards that reject upserts and triage mutations against deleted task IDs, and a resurrection guard that aborts re-enqueue of archived tasks back into `triage`/`todo`. The core l Fusion-Task-Id: FN-5208
This commit is contained in:
committed by
gsxdsm
parent
87da1cb757
commit
e67df21de1
@@ -42,6 +42,7 @@ const defaultSettings = {
|
||||
|
||||
vi.mock("../../api", () => ({
|
||||
fetchProjects: vi.fn(() => Promise.resolve([])),
|
||||
fetchGitRemotes: vi.fn(() => Promise.resolve({ remotes: [] })),
|
||||
fetchSettings: vi.fn(() => Promise.resolve({ ...defaultSettings })),
|
||||
fetchSettingsByScope: vi.fn(() => Promise.resolve({ global: { ...defaultSettings }, project: {} })),
|
||||
updateSettings: vi.fn(() => Promise.resolve({ ...defaultSettings })),
|
||||
|
||||
Reference in New Issue
Block a user