Jeremy Rose and GitHub
7dc7096ae1
[codex] Restore thread recency with compatible migration history ( #28671 )
...
## Summary
- Revert #28655 , restoring the thread `recencyAt` behavior introduced by
#27910 .
- Move `threads_recency_at` to migration 0039 so it no longer collides
with `external_agent_config_imports` at version 0038.
- Repair databases that already applied the recency migration as version
38 by moving the matching migration-history row to version 39 before
SQLx validation. The current version-38 migration can then apply
normally.
## Validation
- `just test -p codex-state
migrations::tests::repairs_recency_migration_that_was_applied_as_version_38`
- `just test -p codex-state -p codex-rollout -p codex-thread-store -p
codex-app-server-protocol -p codex-tui`: 3,439 passed; six TUI tests
could not open the machine's existing read-only incident database at
`~/.codex/sqlite/state_5.sqlite`.
- `just fix -p codex-state`
- `just fmt`
- Verified that state migration versions are unique.
2026-06-17 18:52:18 +00:00
..
2026-06-17 17:01:06 +02:00
2026-04-21 10:22:36 -07:00
2026-04-07 00:32:41 +00:00
2026-06-17 17:01:06 +02:00
2026-06-16 19:05:26 -07:00
2026-06-17 14:48:56 +02:00
2026-06-17 17:01:06 +02:00
2026-06-15 22:07:07 +00:00
2026-06-17 10:00:42 -07:00
2026-06-17 19:52:43 +02:00
2026-06-17 17:01:06 +02:00
2026-06-16 22:17:24 -07:00
2026-06-17 19:52:43 +02:00
2026-06-16 22:17:24 -07:00
2026-06-16 21:42:28 +00:00
2026-06-16 21:42:28 +00:00
2026-04-07 21:20:22 +00:00
2026-05-11 16:33:44 -07:00
2026-05-08 12:36:02 -07:00
2026-06-15 15:05:28 -07:00
2026-06-16 22:17:24 -07:00
2026-06-15 15:05:28 -07:00
2026-06-15 15:05:28 -07:00
2026-06-17 19:52:43 +02:00
2026-06-17 19:52:43 +02:00
2026-06-16 19:05:26 -07:00
2026-04-01 23:06:24 -07:00
2026-06-16 22:17:24 -07:00
2026-06-16 22:17:24 -07:00
2026-06-17 14:48:56 +02:00
2026-06-16 22:17:24 -07:00
2026-06-10 12:54:21 +02:00
2026-06-15 15:24:33 -07:00
2026-06-15 15:24:33 -07:00
2026-06-16 21:42:28 +00:00
2026-06-15 15:05:28 -07:00
2026-06-15 15:05:28 -07:00
2026-04-26 15:10:53 -07:00
2026-04-26 15:10:53 -07:00
2026-06-05 11:20:52 -07:00
2026-06-05 11:20:52 -07:00
2026-06-05 11:20:52 -07:00
2026-06-03 10:41:41 -07:00
2026-06-17 10:00:42 -07:00
2026-05-13 11:31:27 +02:00
2026-06-08 21:32:46 -07:00
2026-06-16 14:34:54 +02:00
2026-06-15 15:05:28 -07:00
2026-06-15 15:05:28 -07:00
2026-04-28 13:03:28 +02:00
2026-04-28 19:43:44 -07:00
2026-06-17 17:01:06 +02:00
2026-06-16 21:42:28 +00:00
2026-06-12 22:03:51 +00:00
2026-05-26 20:59:47 -07:00
2026-06-16 22:17:24 -07:00
2026-06-16 22:17:24 -07:00
2026-06-15 15:24:33 -07:00
2026-06-15 15:24:33 -07:00
2026-06-15 11:10:51 +02:00
2026-06-15 08:28:02 -07:00
2026-04-02 23:00:02 -07:00
2026-04-09 10:53:06 -07:00
2026-05-20 17:10:37 -07:00
2026-06-11 18:16:39 -07:00
2026-04-24 17:49:29 -07:00
2026-05-11 11:32:40 -07:00
2026-06-02 12:10:14 +02:00
2026-06-14 00:14:26 -07:00
2026-06-16 19:05:26 -07:00
2026-06-17 18:52:18 +00:00
2026-06-16 11:46:59 +02:00
2026-06-15 16:15:58 -07:00
2026-06-15 17:14:22 -07:00
2026-06-01 18:45:07 +00:00
2026-06-11 13:42:09 -07:00
2026-05-26 11:01:18 +02:00
2026-04-01 23:06:24 -07:00
2026-06-01 23:33:42 +00:00
2026-05-19 11:03:47 -07:00
2026-05-07 11:33:47 +02:00
2026-05-15 10:58:50 -07:00
2026-05-15 10:58:50 -07:00
2026-06-16 14:34:54 +02:00
2026-06-16 14:34:54 +02:00
2026-04-03 00:33:34 -07:00
2026-06-11 16:55:01 -07:00
2026-06-15 20:10:53 -07:00
2026-06-16 21:42:28 +00:00
2026-06-15 08:18:13 -07:00
2026-06-15 08:18:13 -07:00
2026-06-17 17:01:06 +02:00
2026-06-03 10:41:41 -07:00
2026-05-04 11:46:03 -07:00
2026-06-16 22:44:10 +00:00
2026-06-17 06:03:00 +00:00
2026-06-11 13:42:09 -07:00
2026-06-16 21:42:28 +00:00
2026-06-17 17:01:06 +02:00
2026-06-15 15:05:28 -07:00
2026-06-12 13:50:04 -07:00
2026-06-10 17:17:44 -07:00
2026-06-10 17:17:44 -07:00
2026-06-11 13:42:09 -07:00
2026-06-11 13:42:09 -07:00
2026-06-15 15:05:28 -07:00
2026-06-15 15:05:28 -07:00
2026-04-20 22:39:17 -07:00
2026-06-16 22:17:24 -07:00
2026-05-14 16:54:59 -07:00
2026-05-14 16:54:59 -07:00
2026-05-28 15:26:55 -07:00
2026-05-28 15:26:55 -07:00
2026-05-22 12:13:52 +02:00
2026-05-29 11:01:44 -07:00