Repository navigation
GEN-2137: Ingest Codex exec JSONL as the primary job trace - #193
Merged
Merged
Conversation
GEN-2138: Ingest Claude Code stream-json as the primary job trace
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Oct 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Codex jobs now launch with
codex exec --jsonand use stdout exclusively as the primary live and terminal trace artifact. The projection maps lifecycle, reasoning, assistant messages, command/MCP/web calls and results, file changes, plans, errors and usage; preserves item/call relationships; and records guest CLI version and source provenance.Adds current custom-call and legacy function-call native fallback with cross-chunk correlation, while retaining native traces for historical runs and leaving other provider launches unchanged. Malformed raw records and unknown future events continue with bounded diagnostics. Previews are redacted before truncation, including a fix for slow redaction on long tool output.
Validation:
npm run check --workspace=factorizepassed (API boundary checks, email validation checks, TypeScript, 252 tests passed / 22 database-dependent tests skipped, Wrangler deploy dry-run). Additional focused TypeScript and finalization/driver checks passed after cleanup. Includes captured codex-cli 0.161.0 stdout, native schema fixtures, error/future-event cases, and byte-boundary/live-versus-terminal parity tests.Linear: https://linear.app/generation/issue/GEN-2137/ingest-codex-exec-jsonl-as-the-primary-job-trace