Repository navigation
Distinguish Skipper’s client deadline from transport failures - #5622
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR distinguishes Skipper’s local request deadline from transport failures and preserves that category in failure receipts. Example: The Gateway sends no response headers before the 170-second client deadline.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open for maintainer triage: this maintainer-authored draft addresses a diagnostic ambiguity still present on main, and source review found no actionable introduced defect. Priority: P3 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe installed Skipper verification receiver sends Gateway chat requests; its bounded diagnostics pass through the test reporter, workflow outputs, and failure-receipt writer. flowchart LR
A[Installed Skipper test] --> B[Gateway receiver]
B --> C[Gateway HTTP request]
C --> D[Failure diagnostic]
D --> E[Test reporter]
E --> F[Workflow outputs]
F --> G[Failure receipt]
Technical reviewBest possible solution: Retain the focused distinction in the existing receiver and receipt owners while preserving content-free diagnostics. Do we have a high-confidence way to reproduce the issue? Current-main source directly shows the deadline rejection entering the unconditional transport catch; the PR reports a baseline reproduction, but this review executed no target code. Is this the best way to solve the issue? The patch uses the existing abort signal and diagnostic projections, distinguishing only the request’s own deadline without introducing retries, new configuration, or another reporting path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 330837dc9c9d. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 12, 2026, 1:13 AM ET / 06:13 UTC. |
A Skipper Gateway request that reaches its local deadline before receiving response headers currently produces the same
transport/0diagnostic as an early socket close. Recordclient-deadline/0whenfetchrejects with the request’s own deadline reason, and carry that category through to the version 1 failure receipt.Validation
client-deadline/0, closing the socket early producestransport/0, and an HTTP 504 with a timeout response producestimeout/504. Interrupted-body, malformed-JSON, permission, and success cases also passed.transport/0for the deadline and showed that step output dropped the new category. With the fix, synthetic checks through the reporter, workflow output bindings, and receipt writer preservedclient-deadline/0and excluded canary text.checks-baseline-2runner passed all 34 cases intests/integration/skipper-release.test.ts. Type checking, lint, formatting, workspace validation, the test ownership audit, and the managed pre-push hook also passed locally.Installed verification is pending a normally selected run that includes this change. Earlier
transport/0failures remain unattributed.