Commit Graph

5576 Commits

Author SHA1 Message Date
Michael Bolin
fbc4d5583b merge commit for archive created by Sapling 2025-12-11 12:12:12 -08:00
Michael Bolin
99d2dd1316 fix: policy/*.codexpolicy -> rules/*.rules 2025-12-11 12:12:07 -08:00
Michael Bolin
2fadbd1732 merge commit for archive created by Sapling 2025-12-11 10:54:24 -08:00
Michael Bolin
b5df7d71d9 fix: policy/*.codexpolicy -> rules/*.rules 2025-12-11 10:54:07 -08:00
sayan-oai
703bf12b36 fix: dont quit on 'q' in onboarding ApiKeyEntry state (#7869)
### What

Don't treat `q` as a special quit character on the API key paste page in
the onboarding flow.

This addresses #7413, where pasting API keys with `q` would cause codex
to quit on Windows.

### Test Plan

Tested on Windows and MacOS.
2025-12-11 09:57:59 -08:00
pakrym-oai
bb8fdb20dc Revert "Only show Worked for after the final assistant message" (#7884)
Reverts openai/codex#7854
2025-12-11 09:11:42 -08:00
Ahmed Ibrahim
238ce7dfad feat: robin (#7882)
<img width="554" height="554" alt="image"
src="https://github.com/user-attachments/assets/aa86f4c8-fb34-4b0e-8b03-3a9980dfdb08"
/>

---------

Co-authored-by: Dylan Hurd <dylan.hurd@openai.com>
2025-12-11 09:04:08 -08:00
jif-oai
d4554ce6c8 fix: flaky tests 4 (#7875) 2025-12-11 14:26:27 +00:00
jif-oai
29381ba5c2 feat: add shell snapshot for shell command (#7786) 2025-12-11 13:46:43 +00:00
jif-oai
b2280d6205 feat: warning for long snapshots (#7870) 2025-12-11 12:42:47 +00:00
Dylan Hurd
dca7f4cb60 fix(stuff) (#7855)
Co-authored-by: Ahmed Ibrahim <aibrahim@openai.com>
2025-12-11 00:39:47 -08:00
iceweasel-oai
13c0919bff Elevated Sandbox 2 (#7792)
- DPAPI helpers for storing Sandbox user passwords securely
- creation of Offline/Online sandbox users
- ACL setup for sandbox users
- firewall rule setup
2025-12-10 21:23:16 -08:00
pakrym-oai
83aac0f985 Only show Worked for after the final assistant message (#7854)
Before:
<img width="1908" height="246" alt="image"
src="https://github.com/user-attachments/assets/f4d5993a-8d37-4982-a6fd-d37f449215b2"
/>
After:
<img width="1102" height="586" alt="image"
src="https://github.com/user-attachments/assets/e833140d-690a-4c33-8bc7-e2b69b9dc92d"
/>
2025-12-10 21:13:13 -08:00
Michael Bolin
c286ba46cc merge commit for archive created by Sapling 2025-12-10 21:08:23 -08:00
Michael Bolin
e566a3285a fix: introduce AbsolutePathBuf as part of sandbox config 2025-12-10 21:08:18 -08:00
Michael Bolin
8bb7fcbf7c Merge 10b4572d98 into sapling-pr-archive-bolinfest 2025-12-10 21:02:56 -08:00
Michael Bolin
10b4572d98 fix: introduce AbsolutePathBuf as part of sandbox config 2025-12-10 21:02:53 -08:00
Michael Bolin
ae93564b54 Merge 67b08649fe into sapling-pr-archive-bolinfest 2025-12-10 20:46:27 -08:00
Michael Bolin
67b08649fe fix: introduce AbsolutePathBuf as part of sandbox config 2025-12-10 20:46:23 -08:00
Eric Traut
057250020a Fixed regression that broke fuzzy matching for slash commands (#7859)
This addresses bug #7857 which was introduced recently as part of PR
#7704.
2025-12-10 20:42:45 -08:00
Michael Bolin
f2e192eb97 Merge 71cc4deeb8 into sapling-pr-archive-bolinfest 2025-12-10 20:33:16 -08:00
Michael Bolin
71cc4deeb8 fix: introduce AbsolutePathBuf as part of sandbox config 2025-12-10 20:33:13 -08:00
Michael Bolin
bed9b3df3e merge commit for archive created by Sapling 2025-12-10 20:12:07 -08:00
Michael Bolin
ea9c83fe18 fix: introduce AbsolutePathBuf as part of sandbox config 2025-12-10 20:12:02 -08:00
Michael Bolin
959a2dabbc Merge 1c61641d4e into sapling-pr-archive-bolinfest 2025-12-10 20:05:50 -08:00
Michael Bolin
1c61641d4e fix: introduce AbsolutePathBuf as part of sandbox config 2025-12-10 20:05:47 -08:00
Michael Bolin
ed163ec2ed merge commit for archive created by Sapling 2025-12-10 19:57:50 -08:00
Michael Bolin
087ef635a5 fix: introduce AbsolutePathBuf as part of sandbox config 2025-12-10 19:57:44 -08:00
Michael Bolin
021b8fc809 Merge 79da81d867 into sapling-pr-archive-bolinfest 2025-12-10 19:47:57 -08:00
Michael Bolin
79da81d867 fix: introduce AbsolutePathBuf as part of sandbox config 2025-12-10 19:43:38 -08:00
Michael Bolin
006ea531d3 Merge a60e25e1f6 into sapling-pr-archive-bolinfest 2025-12-10 19:24:14 -08:00
Michael Bolin
a60e25e1f6 fix: introduce AbsolutePathBuf as part of sandbox config 2025-12-10 19:24:09 -08:00
Michael Bolin
0a6613dc9e merge commit for archive created by Sapling 2025-12-10 19:08:22 -08:00
Michael Bolin
c66a1fa675 fix: introduce AbsolutePathBuf as part of sandbox config 2025-12-10 19:08:16 -08:00
Michael Bolin
1c476f9575 merge commit for archive created by Sapling 2025-12-10 19:03:02 -08:00
Michael Bolin
39c5b2acfa fix: introduce AbsolutePathBuf as part of sandbox config 2025-12-10 19:02:35 -08:00
Michael Bolin
9fbed19863 Merge 8c6ed97b92 into sapling-pr-archive-bolinfest 2025-12-10 18:46:52 -08:00
Michael Bolin
8c6ed97b92 fix: introduce AbsolutePathBuf as part of sandbox config 2025-12-10 18:45:32 -08:00
Michael Bolin
3fc8b2894f fix: remove inaccurate #[allow(dead_code)] marker (#7851)
Me reading this clippy warning:

<img width="263" height="191" alt="image"
src="https://github.com/user-attachments/assets/3a936a17-f91d-47bc-a08a-cafb154e9e32"
/>
2025-12-10 17:48:46 -08:00
Celia Chen
ce19dbbb22 [app-server] Update readme to include mcp endpoints (#7850)
n/a
2025-12-11 01:08:31 +00:00
Michael Bolin
b096a3e110 Merge c1faea73d7 into sapling-pr-archive-bolinfest 2025-12-10 17:03:26 -08:00
Michael Bolin
c1faea73d7 fix: remove inaccurate #[allow(dead_code)] marker 2025-12-10 17:03:19 -08:00
Michael Bolin
038767af69 fix: add a hopefully-temporary sleep to reduce test flakiness (#7848)
Let's see if this `sleep()` call is good enough to fix the test
flakiness we currently see in CI. It will take me some time to upstream
a proper fix, and I would prefer not to disable this test in the
interim.
2025-12-11 00:51:33 +00:00
Michael Bolin
f31ff7470f Merge 08cd1c47d8 into sapling-pr-archive-bolinfest 2025-12-10 16:36:05 -08:00
Michael Bolin
08cd1c47d8 fix: add a hopefully-temporary sleep to reduce test flakiness 2025-12-10 16:35:52 -08:00
Celia Chen
7cabe54fc7 [app-server] make app server not throw error when login id is not found (#7831)
Our previous design of cancellation endpoint is not idempotent, which
caused a bunch of flaky tests. Make app server just returned a not_found
status instead of throwing an error if the login id is not found. Keep
V1 endpoint behavior the same.
2025-12-10 16:19:40 -08:00
zhao-oai
c1367808fb fixing typo in execpolicy docs (#7847) 2025-12-10 16:11:46 -08:00
Michael Bolin
87f5b69b24 fix: ensure accept_elicitation_for_prompt_rule() test passes locally (#7832)
When I originally introduced `accept_elicitation_for_prompt_rule()` in
https://github.com/openai/codex/pull/7617, it worked for me locally
because I had run `codex-rs/exec-server/tests/suite/bash` once myself,
which had the side-effect of installing the corresponding DotSlash
artifact.

In CI, I added explicit logic to do this as part of
`.github/workflows/rust-ci.yml`, which meant the test also passed in CI,
but this logic should have been done as part of the test so that it
would work locally for devs who had not installed the DotSlash artifact
for `codex-rs/exec-server/tests/suite/bash` before. This PR updates the
test to do this (and deletes the setup logic from `rust-ci.yml`),
creating a new `DOTSLASH_CACHE` in a temp directory so that this is
handled independently for each test.

While here, also added a check to ensure that the `codex` binary has
been built prior to running the test, as we have to ensure it is
symlinked as `codex-linux-sandbox` on Linux in order for the integration
test to work on that platform.
2025-12-10 15:17:13 -08:00
Javi
e2559ab28d fix: thread/list returning fewer than the requested amount due to filtering CXA-293 (#7509)
This caused some conversations to not appear when they otherwise should.

Prior to this change, `thread/list`/`list_conversations_common` would:
- Fetch N conversations from `RolloutRecorder::list_conversations`
- Then it would filter those (like by the provided `model_providers`)
- This would make it potentially return less than N items.

With this change:
- `list_conversations_common` now continues fetching more conversations
from `RolloutRecorder::list_conversations` until it "fills up" the
`requested_page_size`.
- Ultimately this means that clients can rely on getting eg 20
conversations if they request 20 conversations.
2025-12-10 23:06:32 +00:00
Josh McKinney
90f262e9a4 feat(tui2): copy tui crate and normalize snapshots (#7833)
Introduce a full codex-tui source snapshot under the new codex-tui2
crate so viewport work can be replayed in isolation.

This change copies the entire codex-rs/tui/src tree into
codex-rs/tui2/src in one atomic step, rather than piecemeal, to keep
future diffs vs the original viewport bookmark easy to reason about.

The goal is for codex-tui2 to render identically to the existing TUI
behind the `features.tui2` flag while we gradually port the
viewport/history commits from the joshka/viewport bookmark onto this
forked tree.

While on this baseline change, we also ran the codex-tui2 snapshot test
suite and accepted all insta snapshots for the new crate, so the
snapshot files now use the codex-tui2 naming scheme and encode the
unmodified legacy TUI behavior. This keeps later viewport commits
focused on intentional behavior changes (and their snapshots) rather
than on mechanical snapshot renames.
2025-12-10 22:53:46 +00:00