Commit Graph

3826 Commits

Author SHA1 Message Date
Charles Cunningham
b99d7265f5 Qualify Feature enum in compact suite tests 2026-02-17 17:16:49 -08:00
Charles Cunningham
ab23952482 Move compact reinjection snapshots into suite coverage 2026-02-17 17:16:49 -08:00
Charles Cunningham
8f86cb1580 Treat no-op pre-turn compaction as not-needed 2026-02-17 17:15:51 -08:00
Charles Cunningham
581066bc43 Add comment 2026-02-17 17:15:51 -08:00
Charles Cunningham
8bef5e0933 Make compact unit snapshots Bazel-stable 2026-02-17 17:15:51 -08:00
Charles Cunningham
7712ea323e Persist pre-turn updates before interrupted auto-compaction exits 2026-02-17 17:15:51 -08:00
Charles Cunningham
8fe0e8b903 Persist pre-turn updates before interrupted model-switch compact exits 2026-02-17 17:15:51 -08:00
Charles Cunningham
ace4aa5fc0 Silence interrupted pre-turn compaction failures 2026-02-17 17:15:51 -08:00
Charles Cunningham
3843a4c5c4 Strip incoming model-switch updates from remote compaction input 2026-02-17 17:15:51 -08:00
Charles Cunningham
5e4304c89e core: snapshot pre-turn model-switch compaction strip behavior 2026-02-17 17:14:19 -08:00
Charles Cunningham
fa7f0bb551 compact: strip incoming model-switch before compaction 2026-02-17 17:13:17 -08:00
Charles Cunningham
09e08a5831 compact: snapshot reinjection above last summary 2026-02-17 17:13:17 -08:00
Charles Cunningham
959cf01a31 compact: reinsert context above last summary 2026-02-17 17:13:17 -08:00
Charles Cunningham
5b737fa853 Reinject context for summary-only compacted history 2026-02-17 17:13:17 -08:00
Charles Cunningham
7107158929 Document manual compact turn-context reinjection policy 2026-02-17 17:13:17 -08:00
Charles Cunningham
d53761b33a Use explicit user-message predicate for compaction filtering 2026-02-17 17:13:17 -08:00
Charles Cunningham
fb0f3d1cd5 Comment 2026-02-17 17:13:17 -08:00
Charles Cunningham
8703a0c79c Comments 2026-02-17 17:13:17 -08:00
Charles Cunningham
781896241e Move pre-turn auto-compact error handling into helper 2026-02-17 17:13:17 -08:00
Charles Cunningham
ee34d879be Return sentinel error from model-switch compaction helper 2026-02-17 17:13:17 -08:00
Charles Cunningham
9f00db1395 Move previous-model compact failure handling into helper 2026-02-17 17:13:16 -08:00
Charles Cunningham
152602caa1 Add TODO for legacy compacted history context reinjection 2026-02-17 17:13:16 -08:00
Charles Cunningham
315ffc01df Add comment 2026-02-17 17:13:16 -08:00
Charles Cunningham
32b5f3406d Enable compaction tests and remove stale TODO markers 2026-02-17 17:13:16 -08:00
Charles Cunningham
02eb5152b3 Differentiate model-switch compaction failures from oversize input 2026-02-17 17:12:34 -08:00
Charles Cunningham
6f1f97c715 Rebase: align compaction snapshots and imports 2026-02-17 17:12:34 -08:00
Charles Cunningham
227fad55a3 Avoid wildcard pattern in ResponseEvent::Completed match 2026-02-17 17:12:34 -08:00
Charles Cunningham
8ede3474e6 Align compaction tests with incoming-item and empty-history behavior 2026-02-17 17:12:33 -08:00
Charles Cunningham
708c25cdc8 update snaps 2026-02-17 17:10:48 -08:00
Charles Cunningham
b14e40cfeb Update snaps 2026-02-17 17:10:48 -08:00
Charles Cunningham
b7be40245b Fix clippy useless_vec in compact_remote test 2026-02-17 17:10:48 -08:00
Charles Cunningham
afe5c01d3b Reinject canonical context for model-switch pre-turn compaction 2026-02-17 17:10:48 -08:00
Charles Cunningham
5a5acddcc1 Persist pre-turn updates before apps tool-list cancellation 2026-02-17 17:10:48 -08:00
Charles Cunningham
d02dfe4d0a codex: persist pre-turn updates when compaction fails 2026-02-17 17:10:48 -08:00
Charles Cunningham
c40132caf9 compact: preserve incoming items during pre-turn trim retries 2026-02-17 17:10:48 -08:00
Charles Cunningham
1e6e4c15ea compact: split core logic changes from snapshot test coverage 2026-02-17 17:10:48 -08:00
Charles Cunningham
a62b81cbbe Update pre-sampling model-switch compaction snapshot 2026-02-17 17:10:48 -08:00
Charles Cunningham
3658a2cc4d update snapshot 2026-02-17 17:10:47 -08:00
Charles Cunningham
a919cb525b Simplify 2026-02-17 17:10:47 -08:00
Charles Cunningham
107fc70bd0 Fix model switch compaction 2026-02-17 17:10:47 -08:00
Charles Cunningham
8c7e53ed8d Use shared default remote compaction mock in core tests 2026-02-17 16:59:13 -08:00
Charles Cunningham
57e68647bb Document realistic remote compact test helpers 2026-02-17 15:58:57 -08:00
Charles Cunningham
a64ec85956 Use realistic remote compact mocks in context-shape snapshots 2026-02-17 15:52:13 -08:00
Charles Cunningham
fb757b74f4 Align extracted model-switch snapshots with main behavior 2026-02-17 15:25:39 -08:00
Charles Cunningham
86b296a47d Revert "Move newly added compaction snapshot tests to follow-up PR"
This reverts commit 4fb13213e031e906a2048f0a1caaa73627fd0c96.
2026-02-17 15:21:39 -08:00
Ruslan Nigmatullin
31cbebd3c2 app-server: Emit thread archive/unarchive notifications (#12030)
* Add v2 server notifications `thread/archived` and `thread/unarchived`
with a `threadId` payload.
* Wire new events into `thread/archive` and `thread/unarchive` success
paths.
* Update app-server protocol/schema/docs accordingly.

Testing:
- Updated archive/unarchive end-to-end tests to verify both
notifications are emitted with the expected thread id payload.
2026-02-17 14:53:58 -08:00
Charley Cunningham
709e2133bb tui: exit session on Ctrl+C in cwd change prompt (#12040)
## Summary
- change the cwd-change prompt (shown when resuming/forking across
different directories) so `Ctrl+C`/`Ctrl+D` exits the session instead of
implicitly selecting "Use session directory"
- introduce explicit prompt and resolver exit outcomes so this intent is
propagated cleanly through both startup resume/fork and in-app `/resume`
flows
- add a unit test that verifies `Ctrl+C` exits rather than selecting an
option

## Why
Previously, pressing `Ctrl+C` on this prompt silently picked one of the
options, which made it hard to abort. This aligns the prompt with the
expected quit behavior.

## Codex author
`codex resume 019c6d39-bbfb-7dc3-8008-1388a054e86d`
2026-02-17 14:48:12 -08:00
iceweasel-oai
c4bb7db159 don't fail if an npm publish attempt is for an existing version. (#12044) 2026-02-17 14:20:29 -08:00
viyatb-oai
f2ad519a87 feat(network-proxy): add websocket proxy env support (#11784)
## Summary
- add managed proxy env wiring for websocket-specific variables
(`WS_PROXY`/`WSS_PROXY`, including lowercase)
- keep websocket proxy vars aligned with the existing managed HTTP proxy
endpoint
- add CONNECT regression tests to cover allowlist and denylist decisions
(websocket tunnel path)
- document websocket proxy usage and CONNECT policy behavior in the
network proxy README

## Testing
- just fmt
- cargo test -p codex-network-proxy
- cargo clippy -p codex-network-proxy

Co-authored-by: Codex <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com>
2026-02-17 13:49:43 -08:00
Eric Traut
ad53574d58 Revert "chore(deps): bump rust-toolchain from 1.93.0 to 1.93.1 in /co…dex-rs (#11886)" (#12035)
This reverts commit af3b1ae6cb which is
breaking CI.
2026-02-17 12:29:03 -08:00