Skip to content

Read and write the Codex journeys' delivery records through RECORD - #7199

Merged
max-sixty merged 2 commits into
mainfrom
fix-codex-record-journeys
Nov 26, 2026
Merged

max-sixty merged 2 commits into
mainfrom
fix-codex-record-journeys

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

main fails five journeys in tests/journeys/test_codex_adapter.py since #7157, which stores each record shape in a file of its own (<id>@<since>.json). These tests still read and wrote Codex delivery records at their bare paths: the two restarts read None where they edit a record in place, and the two receipt recoveries find no queued record. They now go through codex_model.RECORD.read and RECORD.write, which name the shape's file and supply its format. Test-only; no behaviour changes.

I merged #7157 on the maintainer's go-ahead, and this repairs what it left failing. The five tests pass locally.

This was written by Claude Code on behalf of max-sixty

#7157 stores each record shape in a file of its own (`<id>@<since>.json`), but five
journeys in `tests/journeys/test_codex_adapter.py` still read and wrote Codex delivery
records at their bare paths, so `main` fails them: the restarts read None where they
edit a record in place, and the receipt recoveries find no queued record. They now
go through `codex_model.RECORD.read` and `RECORD.write`, which name the shape's file
and supply its `format`.
@max-sixty
max-sixty merged commit a247a07 into main Nov 26, 2026
6 checks passed
@max-sixty
max-sixty deleted the fix-codex-record-journeys branch November 26, 2026 02:07
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.

2 participants