Skip to content

Add an in-memory agent message board for ephemeral sessions - #47946

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/d0b2083f8ea5b1c5a3a70f258ef738b87ea74cef
Sep 24, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Add an in-memory agent message board for ephemeral sessions

Why

Ephemeral sessions cannot use the SQLite-backed agent message board. An in-memory backend lets agents share discussions without creating durable board storage.

What changed

  • Add the opt-in message_board_in_memory setting to the multi-agent v2 configuration, allowing the board to run in ephemeral sessions when both required features are enabled.
  • Share board state across agents in the same tree and release it when the last handle is dropped.
  • Implement channels, posts, subscriptions, notifications, search, and paginated reads through the existing AgentMessageBoard interface, including request deduplication.

Testing

Add coverage for shared handles, concurrent request deduplication, tree isolation, and state release. Run existing query and tool test cases against both backends, and extend the parent/child scenario to verify ephemeral board sharing without creating a board database.

## Why

Ephemeral sessions cannot use the SQLite-backed agent message board. An in-memory backend lets agents share discussions without creating durable board storage.

## What changed

- Add the opt-in `message_board_in_memory` setting to the multi-agent v2 configuration, allowing the board to run in ephemeral sessions when both required features are enabled.
- Share board state across agents in the same tree and release it when the last handle is dropped.
- Implement channels, posts, subscriptions, notifications, search, and paginated reads through the existing `AgentMessageBoard` interface, including request deduplication.

## Testing

Add coverage for shared handles, concurrent request deduplication, tree isolation, and state release. Run existing query and tool test cases against both backends, and extend the parent/child scenario to verify ephemeral board sharing without creating a board database.

GitOrigin-RevId: d0b2083f8ea5b1c5a3a70f258ef738b87ea74cef
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/d0b2083f8ea5b1c5a3a70f258ef738b87ea74cef branch from 2e486cd to dda2278 Compare September 24, 2026 21:55
@copyberry
copyberry Bot merged commit dda2278 into main Sep 24, 2026
1 check passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/d0b2083f8ea5b1c5a3a70f258ef738b87ea74cef branch September 24, 2026 21:55
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 24, 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.

1 participant