Skip to content

Surface background conversation failure diagnostics - #1464

Merged
luokerenx4 merged 1 commit into
devfrom
codex/conversation-failure-diagnostics
Sep 10, 2026
Merged

Surface background conversation failure diagnostics#1464
luokerenx4 merged 1 commit into
devfrom
codex/conversation-failure-diagnostics

Conversation

@luokerenx4

@luokerenx4 luokerenx4 commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Failed background conversations could return only failed and a null reply when a runtime wrote its reason to stderr. Completion stored launch errors but dropped other diagnostics, while conversation reads did not inspect the stderr log. Successful recovered runs could also expose an earlier error as their final error.

Use one failure-summary policy for task persistence, conversation records, Issue comment completion, and CLI projections. Preserve launch/watchdog causes and terminal structured errors; otherwise fall back to stderr and process exit information. Successful runs never promote warnings or recovered errors into a final error. Read existing failed-task stderr logs with a 16 KiB bound and expose the tail only in detailed output, including a truncation flag. No credential preflight or persisted-schema change.

Validation: targeted regression tests and root typecheck; Alice owner suite (1,662 tests); actual CLI with a real Pi authentication failure, a successful Codex reply, and a historical stderr-only fixture read after restarting an isolated runtime. A prior successful warning-bearing record now reads without a final error.

Full hermetic suite: 776 files passed; 6,891 tests passed, 3 skipped.

@vercel

vercel Bot commented Sep 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openalice-demo Ready Ready Preview Sep 10, 2026 3:02am UTC

Request Review

@luokerenx4
luokerenx4 merged commit 8650add into dev Sep 10, 2026
3 checks passed
@luokerenx4
luokerenx4 deleted the codex/conversation-failure-diagnostics branch September 10, 2026 03:03
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