Skip to content

[#29]: Compat audit for Codex v0.129.0 item/fileChange and outputDelta removal#37

Merged
delexw merged 1 commit into
mainfrom
fix-issue-29
May 10, 2026
Merged

[#29]: Compat audit for Codex v0.129.0 item/fileChange and outputDelta removal#37
delexw merged 1 commit into
mainfrom
fix-issue-29

Conversation

@delexw
Copy link
Copy Markdown
Contributor

@delexw delexw commented May 10, 2026

Summary

Audit and compatibility fix for Codex v0.129.0 (PR #20471), which removed item/fileChange and outputDelta notification events from the app-server event stream.

Audit Finding

codex-trace is unaffected by this change. The tool reads JSONL session files from disk (~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl) via filesystem watchers — it never connects to the Codex app-server event stream. Neither item/fileChange nor outputDelta are referenced anywhere in the codebase.

Even if these event types appeared as event_msg entries in older JSONL session files, they would be silently dropped by the existing wildcard arm in handle_event_msg. File-change data is already read from patch_apply_end events via patch_changes — no dependency on the removed notification types exists.

Changes

  • src-tauri/src/parser/turn.rs: Added regression test v0129_removed_item_file_change_and_output_delta_events_ignored_gracefully that:
    • Verifies item/fileChange and outputDelta event_msg entries are silently ignored
    • Confirms turns still complete normally when these events are present in a session JSONL file
    • Documents the architectural boundary (disk-based JSONL reading, not app-server subscription)

Testing

All existing tests continue to pass (60 Rust unit tests, 122 frontend tests). The new test explicitly exercises the v0.129.0 compat scenario.

Fixes #29

…n v0.129.0

Codex v0.129.0 (PR #20471) removed item/fileChange and outputDelta notification
events from the app-server event stream.

Audit finding: codex-trace is unaffected because it reads JSONL session files
from disk via filesystem watchers — it never connects to the Codex app-server
event stream. Neither item/fileChange nor outputDelta appear anywhere in the
codebase; the turn parser's wildcard arm already drops unknown event_msg types
gracefully.

Add an explicit regression test in turn.rs that:
- Verifies item/fileChange and outputDelta event_msg entries are silently ignored
- Confirms turns still complete normally when these events are present in a JSONL file
- Documents the architectural reason (disk-based JSONL reading, not app-server subscription)

Fixes #29
@delexw delexw merged commit 7edb2b9 into main May 10, 2026
1 check passed
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.

[Compat] Codex v0.129.0: item/fileChange and outputDelta notifications removed from event stream

1 participant