Skip to content

Support waiting for code_mode sessions#14295

Merged
pakrym-oai merged 7 commits intomainfrom
pakrym/code-mode-runner-sessions
Mar 12, 2026
Merged

Support waiting for code_mode sessions#14295
pakrym-oai merged 7 commits intomainfrom
pakrym/code-mode-runner-sessions

Conversation

@pakrym-oai
Copy link
Copy Markdown
Collaborator

Summary

  • persist the code mode runner process in the session-scoped code mode store
  • switch the runner protocol from init to start with explicit session ids
  • handle runner-side session processing without the init waiter queue

Validation

  • just fmt
  • cargo check -p codex-core
  • node --check codex-rs/core/src/tools/code_mode_runner.cjs

@pakrym-oai pakrym-oai force-pushed the pakrym/code-mode-runner-sessions branch from 1f98e19 to cf0785e Compare March 11, 2026 21:04
@pakrym-oai pakrym-oai changed the title Persist code mode runner sessions Support waiting for code_mode sessions Mar 12, 2026
- enforce blob size policy in CI with allowlist and Python checker
- update initialize capabilities docs and tests to use `thread/started` example
- extend response schemas and TS types with `namespace` on function calls and new `tool_search_call` / `tool_search_output` items
- wire tool search through Responses API, SSE parsing, history normalization, compaction, rollout policy, telemetry, and arc monitor
- add
Copy link
Copy Markdown
Contributor

@cconger cconger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We spoke out of band, we're likely missing a default yield time on the first exec.

I do think we should revisit if the set_yield_time and set_max_tokens makes as being driven from within the worker calling to parent instead of some other annotation/pragma style approach for encoding the data to the cjs core on the way into the runtime.

@pakrym-oai pakrym-oai merged commit f6c6128 into main Mar 12, 2026
32 checks passed
@pakrym-oai pakrym-oai deleted the pakrym/code-mode-runner-sessions branch March 12, 2026 06:13
@github-actions github-actions bot locked and limited conversation to collaborators Mar 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants