multica-ai/multica · error · ErrTaskNoLongerQueued
task is no longer queued
Error message
task is no longer queued
What it means
Error "task is no longer queued" thrown in multica-ai/multica.
Source
Thrown at server/internal/service/task.go:2291
}
type CancelledChatMessageResult struct {
ChatSessionID string
MessageID string
Content string
RestoreToInput bool
// Attachments are the rows detached from the deleted user message so they
// survive the ON DELETE CASCADE and can re-bind when the restored draft is
// re-sent.
Attachments []db.Attachment
}
type CancelTaskResult struct {
Task db.AgentTaskQueue
CancelledChatMessage *CancelledChatMessageResult
}
var ErrTaskNoLongerQueued = errors.New("task is no longer queued")
// CancelTaskOptions carries what the caller knows about the client that asked
// for the cancellation.
type CancelTaskOptions struct {
// ClientSupportsDraftRestore is true when the caller can recover a prompt
// through the durable draft-restore path (#5219). Only such a client may be
// handed a deferred outcome; for anyone else the empty-transcript judgment
// stays synchronous, because the cancel response is their only chance to get
// the prompt back. See protocol.AppCapabilityChatDraftRestoreV1.
ClientSupportsDraftRestore bool
// QueuedOnly turns queue edit/remove into a session-scoped compare-and-set.
QueuedOnly bool
ExpectedChatSession pgtype.UUID
QueueAction string
// ErrorMessage / FailureReason, when set, are persisted onto the cancelled
// row. Only for cancellations the USER did not ask for (e.g. the worktree
// claim gate refusing a too-old daemon): a user-initiated cancel needs no
// explanation, but a server-initiated one without a persisted reasonView on GitHub (pinned to 2c0912b6ec)
Solutions
- The task has already been dequeued or started; refresh its status before retrying.
When it happens
Trigger: Thrown at server/internal/service/task.go:2291 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of multica-ai/multica@2c0912b6ec (2026-08-15).
Data as JSON: /api/errors/07b2ca4f0cc5e618.
Report an issue: GitHub.