sayan-oai
98845e4840
chore: fix merge race (auto-compaction feature access) ( #29393 )
...
## Summary
- read the `AutoCompaction` feature flag through `TurnContext::config`
- fix both the mid-turn and pre-sampling compaction checks
## Why
#28260 was validated against an older base where `TurnContext` exposed a
direct `features` field. It was then merged after that field had moved
under `config`, leaving the merge result unable to compile with `E0609`
on `turn_context.features`.
This restores compilation for Bazel, SDK, and argument-comment-lint jobs
that build `codex-core`. Behavior is unchanged: disabling
`auto_compaction` still skips automatic compaction.
## Validation
- `just fmt`
- `CODEX_HOME=/private/tmp/codex-fix-auto-compaction-test-home just test
-p codex-core auto_compaction_feature_disabled` — 4 passed
- `just test -p codex-core` — `codex-core` compiled; 2,722 passed and 89
unrelated local-environment failures remained because the sandbox could
not write the default Codex SQLite/proxy paths and some first-party test
binaries were unavailable
2026-06-22 05:11:42 +00:00
..
2026-06-08 11:39:08 +02:00
2026-06-09 12:48:04 -07:00
2026-05-26 20:59:47 -07:00
2026-06-11 18:16:39 -07:00
2026-06-17 11:23:39 -07:00
2026-06-19 10:50:44 +02:00
2026-05-07 15:44:17 -07:00
2026-06-22 03:39:14 +00:00
2026-06-18 11:54:49 -07:00
2026-06-11 21:28:52 -07:00
2026-06-22 03:39:14 +00:00
2026-06-18 11:54:49 -07:00
2026-06-21 14:53:16 +02:00
2026-06-18 19:31:19 +00:00
2026-06-18 19:31:19 +00:00
2026-06-11 18:16:39 -07:00
2026-05-08 04:07:59 +00:00
2026-06-15 21:54:01 +00:00
2026-06-13 21:43:39 -07:00
2026-06-18 20:29:01 +00:00
2026-06-19 13:49:45 +02:00
2026-06-18 14:05:27 -07:00
2026-06-18 14:05:27 -07:00
2026-06-11 18:16:39 -07:00
2026-06-11 18:16:39 -07:00
2026-06-21 15:35:01 -07:00
2026-06-11 22:37:26 -07:00
2026-06-12 02:49:17 -07:00
2026-06-22 03:39:14 +00:00
2026-06-01 21:25:42 -07:00
2026-06-15 21:53:47 -07:00
2026-05-07 15:44:17 -07:00
2026-06-15 20:10:53 -07:00
2026-06-19 14:42:26 +02:00
2026-06-21 13:35:25 -07:00
2026-06-20 19:13:42 -07:00
2026-06-18 20:29:01 +00:00
2026-06-15 15:05:28 -07:00
2026-06-22 05:11:42 +00:00
2026-06-17 17:20:53 -07:00
2026-06-18 18:02:14 -07:00
2026-06-21 14:04:18 +02:00
2026-06-05 15:41:13 -07:00
2026-06-19 10:50:44 +02:00
2026-06-21 13:40:51 +02:00
2026-06-15 21:53:47 -07:00
2026-06-13 21:43:39 -07:00
2026-06-19 12:47:53 -07:00
2026-06-19 12:47:53 -07:00
2026-06-15 15:05:28 -07:00
2026-06-21 20:11:50 -07:00
2026-05-26 15:59:25 -07:00
2026-05-07 15:44:17 -07:00
2026-06-17 10:00:42 -07:00
2026-05-28 23:09:55 -07:00
2026-06-12 16:58:42 -07:00
2026-06-15 15:12:26 -07:00
2026-06-03 19:08:19 -07:00
2026-06-12 19:52:49 +00:00
2026-06-18 14:09:38 +02:00
2026-05-07 15:44:17 -07:00
2026-06-18 14:05:27 -07:00
2026-06-22 03:39:14 +00:00
2026-06-19 10:50:44 +02:00
2026-06-04 09:53:08 -04:00
2026-06-17 11:23:39 -07:00
2026-06-05 17:36:18 -07:00
2026-06-13 21:43:39 -07:00
2026-06-19 13:49:45 +02:00
2026-06-04 09:53:08 -04:00
2026-06-22 03:39:14 +00:00
2026-06-18 00:16:46 -07:00
2026-05-25 17:26:10 -03:00
2026-06-18 16:13:07 -07:00
2026-06-22 03:39:14 +00:00
2026-05-07 15:44:17 -07:00
2026-04-22 22:24:12 -07:00
2026-05-07 15:44:17 -07:00
2026-06-21 12:33:21 +02:00
2026-06-22 03:39:14 +00:00
2026-06-22 03:39:14 +00:00
2026-06-21 12:33:21 +02:00
2026-05-26 20:59:47 -07:00
2026-06-12 19:52:49 +00:00
2026-06-15 08:28:02 -07:00
2026-06-11 18:16:39 -07:00
2026-06-17 19:16:18 +00:00
2026-06-18 22:47:51 -07:00
2026-05-07 15:44:17 -07:00
2026-05-13 21:23:19 +00:00
2026-05-07 15:44:17 -07:00
2026-06-20 19:13:42 -07:00
2026-06-20 13:15:49 -07:00
2026-06-19 05:35:57 -07:00
2026-06-22 03:39:14 +00:00
2026-05-07 15:44:17 -07:00
2026-06-18 15:06:23 -07:00
2026-06-13 21:43:39 -07:00
2026-06-13 21:43:39 -07:00
2026-06-18 11:04:30 -07:00
2026-04-24 17:49:29 -07:00
2026-06-21 14:04:18 +02:00
2026-06-19 12:02:12 -07:00
2026-04-20 22:41:54 -07:00
2026-02-20 19:32:15 -08:00
2026-06-11 18:16:39 -07:00
2026-06-04 09:16:03 -07:00
2026-05-26 20:59:47 -07:00