- Home
- Skills
- Testing & Debugging
- Repair Cancellation Propagation
More screenshots
Works with the AI Agents you already use
Repair Cancellation Propagation
Repair lost cancellation signals, orphaned async work, retry-after-cancel bugs, stale completions, and unclear request-vs-durable task lifetimes.
$1
Repair Cancellation Propagation
Example session with this skill installed
Our Next.js/TypeScript API uses AbortController at the route layer, but the signal is not passed through the service to our fetch-based vendor client or Prisma wrapper. When a browser cancels a long export request, the vendor call and database aggregation continue for 20–40 seconds. Promise.all starts four child operations; if one fails, two others keep running. A retry helper can start another vendor request even after the route was cancelled. Repair cancellation propagation locally with deterministic tests. Do not call the live vendor, query production data, kill production jobs, or assume an already accepted vendor request was undone by local cancellation.
- Read your context and instructions
- Compiled the repair cancellation propagation
Cancellation propagation gaps found. The request AbortSignal is lost at service boundaries, vendor calls ignore it, sibling work can outlive failure, and retry may start after cancellation. The repair forwards cancellation through request-owned work, adds structured cleanup and retry suppression, protects durable handoff boundaries, and adds deterministic cancellation tests. Remote provider and production DB cancellation remain unverified.
Connects securely to your tools. The creator never sees your data.
About this skill
Cancellation bugs are lifecycle bugs. A browser disconnects, but the vendor call keeps running. One sibling task fails while others continue. A retry starts after the caller is gone. Or the opposite happens: a durable background job is incorrectly tied to request cancellation.
Repair Cancellation Propagation gives an AI coding agent a repository workflow for mapping cancellation sources and lifetime domains, forwarding AbortSignals/tokens, repairing structured concurrency and cleanup, protecting durable handoff boundaries, separating timeout from cancellation, and building deterministic cancellation tests.
It does not cancel production work, kill processes, call live dependencies, or assume local cancellation reverses a remote side effect.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.
Repairs repository-level cancellation ownership only. It cannot guarantee a remote provider stops after local cancellation, decide whether business work must be durable, cancel production jobs, prove production resource savings, or replace idempotency/reconciliation for unknown outcomes.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 3 months ago
Permissions
Run on a clean branch. Use fake slow dependencies, local databases, disposable files/processes, and deterministic synchronization. Keep production credentials, customer data, tokens, live queues, and production processes out of scope.