Skip to content

[Worker] No telemetry outcome for shutdown-released claims (abandoned_shutdown), and TranscriptTriageWorker unchecked for the stranded-Failed window #1632

Description

@Chris0Jeky

Residuals from #1605 / PR #1631 (posted on the issue thread; re-homed here so they survive the Closes).

  1. Both shutdown paths added by PR Release a shutdown-abandoned queue claim instead of charging it a retry #1631 (claim release in the cancellation guard, retry-transition completion under cancellation) record no WorkerItemsProcessed outcome tag. OutboundWebhookDeliveryWorker already has the pattern (its shutdown tag) — add an equivalent abandoned_shutdown / cancelled_requeued outcome so operators can distinguish clean-shutdown releases from real failures in metrics.

  2. TranscriptTriageWorker was outside PR Release a shutdown-abandoned queue claim instead of charging it a retry #1631's ownership and was NOT examined for the same defect class: a stranded-Failed row when cancellation lands inside the backoff delay after MarkAsFailed commits, and retry-budget burn on graceful shutdown. Audit it against the two mechanisms fixed in LlmQueueToProposalWorker and port the ReleaseClaim/ApplyRetryTransition idiom if it shares them.

Refs #1605, PR #1631.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority IIIValuable but unscheduled: residuals, tech-debt, performance, depth work.tech-debtDebt cleanup or deferred engineering quality work with limited product-surface change.workerBackground worker runtime behavior, queue processing, retry semantics, and observability.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions