Skip to content

fix(agent): show model request failures and retries in trajectory - #6879

Merged
M4n5ter merged 1 commit into
rust-previewfrom
codex/trajectory-request-outcomes
Nov 13, 2026
Merged

M4n5ter merged 1 commit into
rust-previewfrom
codex/trajectory-request-outcomes

Conversation

@M4n5ter

@M4n5ter M4n5ter commented Nov 13, 2026

Copy link
Copy Markdown
Member

Summary

Model requests that fail before returning output can stay marked as working in Trajectory. Show the recorded failure and whether its retry is scheduled, started, or cancelled. Stopping an in-flight retry now updates the request in place.

Verification

  • macOS desktop: closed a real TLS handshake and confirmed that Trajectory showed tls handshake eof, a retry time, and Retried. Stopped the next request and confirmed its details changed to Model request — Stopped / model request cancelled without leaving Trajectory.
  • macOS desktop: returned HTTP 429 with Retry-After, then a successful response. The old row showed Retried and the new one showed Completed.
  • The interrupted-model recovery test, Trajectory ledger tests, and contract/type checks passed locally.

AI use

  • Generative tooling made a substantive contribution

OpenAI Codex implemented and verified the fix.

@M4n5ter
M4n5ter merged commit fcc4b29 into rust-preview Nov 13, 2026
1 check passed
@M4n5ter
M4n5ter deleted the codex/trajectory-request-outcomes branch November 13, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant