Michael Bolin and GitHub
7d15936e69
core tests: build user turns from permission profiles ( #20011 )
...
## Summary
- Add `turn_permission_fields()` so tests that construct `Op::UserTurn`
directly can provide a canonical `PermissionProfile` while still filling
the required legacy `sandbox_policy` compatibility field.
- Migrate direct user-turn construction in core integration tests from
`SandboxPolicy::DangerFullAccess` to `PermissionProfile::Disabled`.
- Continue reducing direct `SandboxPolicy` usage in
`codex-rs/core/tests`, from 41 files after #20010 to 32 files in this
PR.
## Testing
- `cargo check -p codex-core --tests`
- `just fmt`
- `just fix -p core_test_support`
- `just fix -p codex-core`
2026-04-28 17:03:20 -07:00
..
2026-04-18 11:01:12 -07:00
2026-04-21 17:48:33 -07:00
2026-03-27 19:00:44 -07:00
2026-04-26 20:59:58 -07:00
2026-04-12 18:36:03 -07:00
2026-04-24 17:16:58 -07:00
2026-04-28 11:21:39 -07:00
2026-04-03 15:03:21 -07:00
2026-04-27 21:32:10 -07:00
2026-04-28 09:56:20 -07:00
2026-04-23 11:54:17 -07:00
2026-04-26 20:59:58 -07:00
2026-04-26 20:59:58 -07:00
2026-04-27 19:09:02 +00:00
2026-04-27 18:48:57 -07:00
2026-04-26 17:18:09 -07:00
2026-04-26 15:10:53 -07:00
2026-04-23 11:54:17 -07:00
2026-04-26 13:29:54 -07:00
2026-04-24 13:51:37 -07:00
2026-04-12 18:36:03 -07:00
2026-04-23 07:33:57 +00:00
2026-04-28 14:17:18 -07:00
2026-04-28 17:03:20 -07:00
2026-04-23 11:54:17 -07:00
2026-04-28 17:03:20 -07:00
2025-12-23 19:29:32 -08:00
2026-04-28 17:03:20 -07:00
2026-04-28 13:03:28 +02:00
2026-04-22 13:34:33 -07:00
2026-04-23 11:54:17 -07:00
2026-04-23 11:54:17 -07:00
2026-04-28 17:03:20 -07:00
2026-04-23 11:54:17 -07:00
2026-04-28 23:01:40 +00:00
2026-04-28 11:41:32 -07:00
2026-04-22 13:34:33 -07:00
2026-04-28 17:03:20 -07:00
2026-04-26 15:10:53 -07:00
2026-04-20 10:27:01 -07:00
2026-04-24 04:28:25 +00:00
2026-04-28 01:14:44 +00:00
2026-04-26 20:59:58 -07:00
2026-04-26 17:18:09 -07:00
2026-04-21 17:48:33 -07:00
2026-04-26 17:18:09 -07:00
2026-04-24 17:16:58 -07:00
2026-04-26 20:59:58 -07:00
2026-04-21 17:48:33 -07:00
2026-04-26 20:59:58 -07:00
2026-04-26 20:59:58 -07:00
2026-04-28 17:03:20 -07:00
2026-04-24 17:16:58 -07:00
2026-04-26 20:59:58 -07:00
2026-04-22 13:34:33 -07:00
2026-04-26 17:18:09 -07:00
2026-04-24 17:49:29 -07:00
2026-04-09 18:44:26 +01:00
2026-04-23 11:54:17 -07:00
2026-04-28 23:01:40 +00:00
2026-04-20 10:27:01 -07:00
2026-04-28 23:01:40 +00:00
2026-04-23 11:54:17 -07:00
2026-04-23 11:54:17 -07:00
2026-04-28 17:03:20 -07:00
2026-04-24 04:28:25 +00:00
2026-04-23 11:54:17 -07:00
2026-04-21 17:48:33 -07:00
2026-04-21 17:48:33 -07:00
2026-04-23 18:54:45 +02:00
2026-04-23 11:54:17 -07:00
2026-04-28 17:03:20 -07:00
2026-04-28 23:01:40 +00:00
2026-04-26 20:59:58 -07:00
2026-04-28 23:01:40 +00:00
2026-03-11 12:33:09 -07:00
2026-04-27 18:48:57 -07:00
2026-04-26 20:59:58 -07:00
2026-04-01 23:06:24 -07:00
2026-04-21 17:48:33 -07:00
2026-04-26 15:06:42 -07:00
2026-04-24 17:49:29 -07:00
2026-04-28 23:01:40 +00:00
2026-04-28 17:03:20 -07:00
2026-04-21 17:48:33 -07:00