Skip to content

Add thread section management APIs - #36380

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/dc9a4be283c21dbc93ab1829eafc4825d8df6575
Jul 31, 2026
Merged

Add thread section management APIs#36380
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/dc9a4be283c21dbc93ab1829eafc4825d8df6575

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 31, 2026

Copy link
Copy Markdown

Add thread section management APIs

What changed

  • Add threadSection/create, threadSection/update, and threadSection/delete app-server methods, with generated protocol schemas and TypeScript bindings.
  • Persist custom sections in SQLite with stable UUIDv7 identities, trim and validate display names, and prevent renaming or deleting the built-in pinned section.
  • Delete sections transactionally and return their active and archived threads to the unsectioned list.
  • Serialize section mutations with section listing so concurrent requests observe ordered updates.

Testing

  • Cover section persistence across restarts, ordered renames, member cleanup on deletion, invalid requests, unsupported stores, and thread-store/state-runtime behavior.

## What changed

- Add `threadSection/create`, `threadSection/update`, and `threadSection/delete` app-server methods, with generated protocol schemas and TypeScript bindings.
- Persist custom sections in SQLite with stable UUIDv7 identities, trim and validate display names, and prevent renaming or deleting the built-in pinned section.
- Delete sections transactionally and return their active and archived threads to the unsectioned list.
- Serialize section mutations with section listing so concurrent requests observe ordered updates.

## Testing

- Cover section persistence across restarts, ordered renames, member cleanup on deletion, invalid requests, unsupported stores, and thread-store/state-runtime behavior.

GitOrigin-RevId: dc9a4be283c21dbc93ab1829eafc4825d8df6575
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/dc9a4be283c21dbc93ab1829eafc4825d8df6575 branch from 387cdf2 to c42ea41 Compare July 31, 2026 19:09
@copyberry
copyberry Bot merged commit c42ea41 into main Jul 31, 2026
27 of 30 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/dc9a4be283c21dbc93ab1829eafc4825d8df6575 branch July 31, 2026 19:10
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 31, 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.

4 participants