Skip to content

Hide attached threads from the agents overview - #61218

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/3417d444cfde7fc034c07ec124ba72cbf64b0ef6
Nov 13, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Hide attached threads from the agents overview

Why

Saved side chats with attached_to_thread_id set could appear as root sessions in the agents overview.

What changed

Exclude attached threads alongside ephemeral threads when building the overview. Reuse the same root eligibility check for history discovery, pinned threads, and refill accounting so attached threads do not count as overview roots.

Testing

Extend shared_overview_shows_only_root_sessions with a saved side chat attached to a root thread, verifying that it stays out of the overview snapshot.

## Why

Saved side chats with `attached_to_thread_id` set could appear as root sessions in the agents overview.

## What changed

Exclude attached threads alongside ephemeral threads when building the overview. Reuse the same root eligibility check for history discovery, pinned threads, and refill accounting so attached threads do not count as overview roots.

## Testing

Extend `shared_overview_shows_only_root_sessions` with a saved side chat attached to a root thread, verifying that it stays out of the overview snapshot.

GitOrigin-RevId: 3417d444cfde7fc034c07ec124ba72cbf64b0ef6
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/3417d444cfde7fc034c07ec124ba72cbf64b0ef6 branch from 8ffef88 to 1111483 Compare November 13, 2026 00:56
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor
Codex Review Summary: 🔄 Running

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

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-11-13T00:56:08.402427Z 8ffef88 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 1111483 into main Nov 13, 2026
12 of 24 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/3417d444cfde7fc034c07ec124ba72cbf64b0ef6 branch November 13, 2026 00:56
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 13, 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