Skip to content

Search task history from the command center - #60286

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/9864ee006a14bd232e9cfd7ab2ee099c84667597
Nov 8, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Search task history from the command center

Why

Command center search only filtered tasks already loaded for browsing, leaving older tasks undiscoverable without manually loading more history.

What changed

  • Scan history on the active backend for case-insensitive matches in task names, previews, and working directories, using a separate paging cursor for each query.
  • Add loading, retry, and Show more matches states. Cancel superseded searches and ignore stale results.
  • Keep history matches separate from browse results and restore the previous selection when leaving search.
  • Preserve the original task preview for search while displaying the latest prompt in task details.

Testing

Extend discovery and command center tests to cover older history matches, fresh queries after browse pagination is exhausted, selection restoration, actions on search results, loading and retry states, and separate original previews and latest prompts.

## Why

Command center search only filtered tasks already loaded for browsing, leaving older tasks undiscoverable without manually loading more history.

## What changed

- Scan history on the active backend for case-insensitive matches in task names, previews, and working directories, using a separate paging cursor for each query.
- Add loading, retry, and `Show more matches` states. Cancel superseded searches and ignore stale results.
- Keep history matches separate from browse results and restore the previous selection when leaving search.
- Preserve the original task preview for search while displaying the latest prompt in task details.

## Testing

Extend discovery and command center tests to cover older history matches, fresh queries after browse pagination is exhausted, selection restoration, actions on search results, loading and retry states, and separate original previews and latest prompts.

GitOrigin-RevId: 9864ee006a14bd232e9cfd7ab2ee099c84667597
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/9864ee006a14bd232e9cfd7ab2ee099c84667597 branch from 9043a02 to 4e4767f Compare November 8, 2026 19:36
@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-08T19:36:11.381652Z 9043a02 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 4e4767f into main Nov 8, 2026
9 of 24 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/9864ee006a14bd232e9cfd7ab2ee099c84667597 branch November 8, 2026 19:36
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 8, 2026

This branch was previously deployed

1 inactive 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.