Codex Version
v0.134.0 (2026-05-26) / v0.135.0 (2026-05-28)
Change Description
Two new fields were added to turn-level session output across these releases:
- v0.134.0, PR #23980:
trace_id added to TurnStartedEvent
- v0.135.0, PR #24160:
forked_from_thread_id added to turn metadata
- v0.135.0, PR #24368: compaction metadata added to turn headers
Impact on codex-trace
codex-trace consumers that reconstruct turn timelines or session graphs from transcript data will not surface these new fields unless the parser is updated. Specifically:
- Missing
trace_id means turn events cannot be correlated with OpenTelemetry/distributed traces.
- Missing
forked_from_thread_id means forked sessions appear as independent roots rather than branches, breaking session-tree reconstruction.
- Missing compaction metadata in turn headers causes inaccurate context-window accounting in traces.
Severity: Low
Suggested Fix
Add trace_id, forked_from_thread_id, and compaction metadata fields to the turn event parser and expose them in codex-trace output. All fields should be optional (nullable) so older session transcripts remain valid.
Source
Codex Version
v0.134.0 (2026-05-26) / v0.135.0 (2026-05-28)
Change Description
Two new fields were added to turn-level session output across these releases:
trace_idadded toTurnStartedEventforked_from_thread_idadded to turn metadataImpact on codex-trace
codex-trace consumers that reconstruct turn timelines or session graphs from transcript data will not surface these new fields unless the parser is updated. Specifically:
trace_idmeans turn events cannot be correlated with OpenTelemetry/distributed traces.forked_from_thread_idmeans forked sessions appear as independent roots rather than branches, breaking session-tree reconstruction.Severity: Low
Suggested Fix
Add
trace_id,forked_from_thread_id, and compaction metadata fields to the turn event parser and expose them in codex-trace output. All fields should be optional (nullable) so older session transcripts remain valid.Source