Skip to content

Harden named session lookup in the TUI - #37157

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/c69f86d64ff556bc7b463d13522a9241591eb070
Aug 5, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 5, 2026 •

Copy link
Copy Markdown

Harden named session lookup in the TUI

What changed

  • Share exact-name candidate lookup between resume and archive commands.
  • Prefer valid SQLite names for local sessions, then recover legacy index names without overriding newer metadata.
  • Validate rollout identity, collection, source, and model provider before selecting a local session, and choose the most recently modified eligible legacy duplicate.
  • Preserve server-side lookup behavior for remote workspaces.

Testing

  • Cover stale and duplicate SQLite entries, legacy-name recovery, source and provider filtering, paginated histories, and duplicate legacy names.

## What changed

- Share exact-name candidate lookup between resume and archive commands.
- Prefer valid SQLite names for local sessions, then recover legacy index names without overriding newer metadata.
- Validate rollout identity, collection, source, and model provider before selecting a local session, and choose the most recently modified eligible legacy duplicate.
- Preserve server-side lookup behavior for remote workspaces.

## Testing

- Cover stale and duplicate SQLite entries, legacy-name recovery, source and provider filtering, paginated histories, and duplicate legacy names.

GitOrigin-RevId: c69f86d64ff556bc7b463d13522a9241591eb070
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/c69f86d64ff556bc7b463d13522a9241591eb070 branch from 6adece3 to c38a60d Compare August 5, 2026 20:44
@copyberry
copyberry Bot merged commit c38a60d into main Aug 5, 2026
26 of 30 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/c69f86d64ff556bc7b463d13522a9241591eb070 branch August 5, 2026 20:45
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 5, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — c38a60de Deployed Aug 5, 2026 by marktiwnzhao via Generate label suggestions #36288
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.

5 participants