Repository navigation
Record how long a native Git chat waits before a transport failure - #6410
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 adds optional request elapsed milliseconds to native Git chat failure receipts for recognized transport failures and the client deadline. Example: A native Git chat loses its socket after 169,995 milliseconds without receiving HTTP headers.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this maintainer-authored draft open: it adds a useful CI diagnostic absent from main, and the reviewed diff has no actionable correctness or security findings. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe installed Skipper CI helper sends chat requests to an Agent Gateway; its bounded diagnostics pass through the test reporter, workflow outputs, and failure-receipt writer. flowchart TB
A[Installed Skipper chat] --> B[Gateway request helper]
B --> C[Allowlisted failure diagnostic]
C --> D[Test reporter and recorder]
D --> E[Workflow output bindings]
E --> F[Sanitized failure receipt]
Technical reviewBest possible solution: Keep request timing in the existing helper and allowlisted receipt pipeline without interpreting elapsed time as the transport root cause. Do we have a high-confidence way to reproduce the issue? Current-main source establishes the missing request-duration diagnostic; this read-only review did not reproduce the underlying disconnect or execute tests. Is this the best way to solve the issue? The implementation fits the existing owners, uses a monotonic clock, preserves deadline attribution, and validates the optional value at each public-output boundary. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 114d1a8e3d7b. 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 17, 2026, 7:49 PM ET / November 18, 2026, 00:49 UTC. |
The installed Skipper check can report a socket close before it receives HTTP headers. The duration of the whole test step includes fixture setup and cleanup, so it cannot say how long the request was pending.
For the native Git chat, record whole milliseconds from immediately before creating the existing client deadline until the request rejects. Retain that optional number for a socket close, connection reset, headers timeout, or the client’s own deadline. The other chat phases and unclassified transport errors omit it.
A short interval can rule out proximity to the client deadline. An interval near 170 seconds still leaves the cause of the disconnect open. An installed measurement requires a future run containing this change.