Area
services/platform/convex/workflow_executions/mutations.ts, workflow_executions/actions.ts, workflows/executions/resume_debug_step.ts, workflows/triggers/slug_mutations.ts.
Steps to reproduce
- Cancel an execution that is already in a terminal state.
- Re-run an execution while unauthenticated.
- Resume a debug step on a non-paused execution.
- Create a schedule for a workflow that is not installed.
- All rejections surface as opaque "Server Error".
Expected
User-facing errors (not-found, wrong-state, unauthenticated, workflow-not-installed) should be ConvexError({ code: ... }).
Actual
workflow_executions/mutations.ts:
line 36 — Execution not found
line 40 — Cannot cancel execution with status "..."
workflow_executions/actions.ts:
line 32/100/190 — Unauthenticated
line 108/198 — Execution not found
workflows/executions/resume_debug_step.ts:
line 31 — Execution not found
line 35-38 — Cannot resume a debug step on execution with status "..."
line 42 — Execution is not paused in debug mode
line 46 — Execution is missing its component workflow ID
workflows/triggers/slug_mutations.ts:
line 37 — Workflow is not installed
line 52/83/113/134/160/193/218/274/346/370/389 — Unauthenticated
line 55 — Invalid workflow slug
line 86/116/137/196 — Schedule/webhook/subscription not found
Evidence
services/platform/convex/workflow_executions/mutations.ts:34-42
services/platform/convex/workflow_executions/actions.ts:30-34, :98-101, :188-191
services/platform/convex/workflows/executions/resume_debug_step.ts:30-47
services/platform/convex/workflows/triggers/slug_mutations.ts:37-55, :83-86, :113-116, :160-163, :193-196
Notes
These are user-initiated operations from the workflow builder/debug UI. The client has no way to differentiate the error cause without ConvexError.
Area
services/platform/convex/workflow_executions/mutations.ts,workflow_executions/actions.ts,workflows/executions/resume_debug_step.ts,workflows/triggers/slug_mutations.ts.Steps to reproduce
Expected
User-facing errors (not-found, wrong-state, unauthenticated, workflow-not-installed) should be
ConvexError({ code: ... }).Actual
workflow_executions/mutations.ts:line 36— Execution not foundline 40— Cannot cancel execution with status "..."workflow_executions/actions.ts:line 32/100/190— Unauthenticatedline 108/198— Execution not foundworkflows/executions/resume_debug_step.ts:line 31— Execution not foundline 35-38— Cannot resume a debug step on execution with status "..."line 42— Execution is not paused in debug modeline 46— Execution is missing its component workflow IDworkflows/triggers/slug_mutations.ts:line 37— Workflow is not installedline 52/83/113/134/160/193/218/274/346/370/389— Unauthenticatedline 55— Invalid workflow slugline 86/116/137/196— Schedule/webhook/subscription not foundEvidence
services/platform/convex/workflow_executions/mutations.ts:34-42services/platform/convex/workflow_executions/actions.ts:30-34,:98-101,:188-191services/platform/convex/workflows/executions/resume_debug_step.ts:30-47services/platform/convex/workflows/triggers/slug_mutations.ts:37-55,:83-86,:113-116,:160-163,:193-196Notes
These are user-initiated operations from the workflow builder/debug UI. The client has no way to differentiate the error cause without
ConvexError.