Skip to content

Enable parallel execution for read-only tools - #52245

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/97b5634f1f84be2ba092be89e6e9c634ca75c07b
Oct 8, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/97b5634f1f84be2ba092be89e6e9c634ca75c07b

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Enable parallel execution for read-only tools

Why

Tools that do not opt into parallel execution acquire an exclusive scheduler lock, serializing independent reads.

What changed

Allow skill listing and reading, memory listing, reading and searching, conversation history search and reading, plugin listing, agent listing, current time, remaining context, and get_goal to run in parallel. Keep goal creation and updates serialized.

Testing

Add cloud_skill_reads_run_in_parallel, which uses a barrier to require two cloud skill reads to overlap and verifies that each returns the expected resource contents.

## Why

Tools that do not opt into parallel execution acquire an exclusive scheduler lock, serializing independent reads.

## What changed

Allow skill listing and reading, memory listing, reading and searching, conversation history search and reading, plugin listing, agent listing, current time, remaining context, and `get_goal` to run in parallel. Keep goal creation and updates serialized.

## Testing

Add `cloud_skill_reads_run_in_parallel`, which uses a barrier to require two cloud skill reads to overlap and verifies that each returns the expected resource contents.

GitOrigin-RevId: 97b5634f1f84be2ba092be89e6e9c634ca75c07b
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Note

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/97b5634f1f84be2ba092be89e6e9c634ca75c07b branch from 1ed3483 to c9e0fff Compare October 8, 2026 19:29
@copyberry
copyberry Bot merged commit c9e0fff into main Oct 8, 2026
1 check passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/97b5634f1f84be2ba092be89e6e9c634ca75c07b branch October 8, 2026 19:30
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 8, 2026
@funkynao-rgb
funkynao-rgb deployed to issue-triage October 8, 2026 19:40 — with Image GitHub Actions Active
@funkynao-rgb
funkynao-rgb deployed to issue-triage October 8, 2026 19:40 — with Image GitHub Actions Active
@funkynao-rgb
funkynao-rgb deployed to issue-triage October 8, 2026 19:40 — with Image GitHub Actions Active
@funkynao-rgb
funkynao-rgb deployed to issue-triage October 8, 2026 19:41 — with Image GitHub Actions Active
@YouAI-Liu
YouAI-Liu deployed to issue-triage October 8, 2026 19:50 — with Image GitHub Actions Active
@YouAI-Liu
YouAI-Liu deployed to issue-triage October 8, 2026 19:50 — with Image GitHub Actions Active
@YouAI-Liu
YouAI-Liu deployed to issue-triage October 8, 2026 19:50 — with Image GitHub Actions Active
@spiderwisp
spiderwisp deployed to issue-triage October 8, 2026 20:02 — with Image GitHub Actions Active
@spiderwisp
spiderwisp deployed to issue-triage October 8, 2026 20:02 — with Image GitHub Actions Active
@spiderwisp
spiderwisp deployed to issue-triage October 8, 2026 20:02 — with Image GitHub Actions Active
@spiderwisp
spiderwisp deployed to issue-triage October 8, 2026 20:03 — with Image GitHub Actions Active

This branch was successfully deployed

1 active deployment
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.

5 participants