Skip to content

perf: bound Codex session catalog queries - #12

Merged
Leeeon233 merged 1 commit into
mainfrom
perf/history-catalog-query
Jul 30, 2026
Merged

perf: bound Codex session catalog queries#12
Leeeon233 merged 1 commit into
mainfrom
perf/history-catalog-query

Conversation

@Leeeon233

Copy link
Copy Markdown
Member

Summary

  • filter thread/list server-side when the requested cwd is absolute
  • request the latest 100 sessions ordered by updated_at descending
  • skip global diagnostic queries for a valid empty cwd-scoped result
  • keep the existing client-side cwd filter as a compatibility safeguard

Validation

  • pnpm test -- src/tests/CodexACPAgent/list-sessions.test.ts
  • pnpm typecheck
  • pnpm build

@Leeeon233
Leeeon233 merged commit b380c34 into main Jul 30, 2026
1 check passed
@Leeeon233
Leeeon233 deleted the perf/history-catalog-query branch July 30, 2026 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant