- Home
- Skills
- APIs & Backend
- Repair Retry-After Header & Backoff Handling Bugs
More screenshots
Works with the AI Agents you already use
Repair Retry-After Header & Backoff Handling Bugs
Diagnose or review Retry-After parsing, delta-seconds versus HTTP-date, clock skew, maximum backoff, retry budgets, 429/503 policy, jitter, cancellation, and deterministic tests. Works from repositories/workspaces or supplied evidence and produces concrete findings, bounded repairs or readiness gates, and deterministic validation while preserving public behavior, authorization, security boundaries, and evidence honesty.
$1
Repair Retry-After Header & Backoff Handling Bugs
Example session with this skill installed
An API client respects Retry-After after 429 responses. Numeric values work, but an HTTP-date value is parsed in local time and can become negative on machines outside UTC. Negative delays are treated as zero, causing an immediate retry burst. The client also ignores its 30-second overall retry budget when the header requests 120 seconds.
- Read your context and instructions
- Compiled the repair retry-after header
FAULT BOUNDARY IDENTIFIED
Case analyzed
An API client respects Retry-After after 429 responses. Numeric values work, but an HTTP-date value is parsed in local time and can become negative on machines outside UTC. Negative delays are treated as zero, causing an immediate retry burst. The client also ignores its 30-second overall retry budget when the header requests 120 seconds.
The supplied facts are sufficient to perform a concrete repair diagnosis for this case. No repository, production, vendor, or legal access is assumed.
Verified evidence
- VERIFIED: Numeric Retry-After works.
- VERIFIED: HTTP-date is incorrectly parsed using local time.
- VERIFIED: Negative computed delays trigger immediate retries.
- VERIFIED: A 30-second overall retry budget exists but a 120-second header can override it.
Concrete findings
- HTTP-date must be parsed as an absolute UTC instant; local-time parsing explains the negative delay outside UTC.
- A negative computed delay must not become an immediate synchronized retry; route it through bounded retry policy.
- Retry-After is server guidance, not authority to exceed the client's 30-second total retry budget.
- For 503 Retry-After: 15, preserve the minimum wait but add bounded positive jitter so hundreds of workers do not wake together.
- The sleep must observe cancellation.
The canonical acceptance rule is
Retry-After handling is safe only when both legal formats are parsed consistently, negative or extreme values are bounded, retry budgets and cancellation remain authoritative, and server guidance does not create synchronized retry storms.
The current result is based on that invariant, not on a generic success banner or a reusable checklist.
Required actions
- Delta-Seconds Parsing: repair the ownin
Connects securely to your tools. The creator never sees your data.
About this skill
Repair Retry-After Header & Backoff Handling Bugs is a ToolForge Labs workflow for Retry-After parsing, delta-seconds versus HTTP-date, clock skew, maximum backoff, retry budgets, 429/503 policy, jitter, cancellation, and deterministic tests. It performs the supplied case instead of returning a generic template, separates verified evidence from hypotheses, and produces bounded repair or readiness actions with deterministic validation.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.
Does not modify infrastructure-level rate limiters like Nginx or Cloudflare. Focuses strictly on client-side parsing and handling logic.
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 1 month ago
Permissions
Use a clean branch or controlled review workspace. Supply relevant files, logs, traces, configuration, documents, sample data, or policy evidence. Review changes and owner decisions before merge or operational action.