Skip to content

Broadcast thread section changes to connected clients - #58380

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/128ba7eddc9aae8e3bac766f47e4a2c55c64a6a5
Oct 30, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Broadcast thread section changes to connected clients

Why

Clients need to refresh section membership and ordering when another client moves a thread.

What changed

Broadcast thread/section/changed after a successful thread/section/move, including moves within the same section. Send the response before the notification, and include threadId and the destination sectionId, using null for removal. Failed moves do not emit the notification.

Add the notification to the protocol schemas, TypeScript exports, and Python SDK models and registry, and document its behavior.

Testing

Add a WebSocket integration test with separate writer and observer clients covering section insertion, reordering, removal, and a failed move.

## Why

Clients need to refresh section membership and ordering when another client moves a thread.

## What changed

Broadcast `thread/section/changed` after a successful `thread/section/move`, including moves within the same section. Send the response before the notification, and include `threadId` and the destination `sectionId`, using `null` for removal. Failed moves do not emit the notification.

Add the notification to the protocol schemas, TypeScript exports, and Python SDK models and registry, and document its behavior.

## Testing

Add a WebSocket integration test with separate writer and observer clients covering section insertion, reordering, removal, and a failed move.

GitOrigin-RevId: 128ba7eddc9aae8e3bac766f47e4a2c55c64a6a5
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/128ba7eddc9aae8e3bac766f47e4a2c55c64a6a5 branch from 31d7c92 to 1f0290c Compare October 30, 2026 16:10
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-30T16:10:00.927840Z 31d7c92 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot merged commit 1f0290c into main Oct 30, 2026
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/128ba7eddc9aae8e3bac766f47e4a2c55c64a6a5 branch October 30, 2026 16:10
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 30, 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