Skip to content

[codex] Improve query cache refresh behavior - #117

Merged
philcunliffe merged 1 commit into
masterfrom
codex/query-cache-refresh-updates
May 15, 2026
Merged

[codex] Improve query cache refresh behavior#117
philcunliffe merged 1 commit into
masterfrom
codex/query-cache-refresh-updates

Conversation

@philcunliffe

Copy link
Copy Markdown
Contributor

Summary

  • make proxy_messages cache refresh incremental for same-day JSONL growth, with bounded replay for stream reconstruction and prior-seen lookups streamed from Iceberg
  • switch query execution for cache-backed datasets and collections to Iceberg data sources so scans can project only requested/scope columns instead of reading full tables up front
  • soften stale-cache messaging to report when the cache was last refreshed, and update CLI tests, README, and bundled query-skill docs

Why

The query cache path was doing too much full-file/full-table work for growing proxy recordings, and the stale-cache warning phrasing was too easy for LLM callers to misinterpret as a hard data-quality failure. This keeps the freshness behavior while making the CLI message factual and timestamp-oriented.

Validation

  • npm test
  • npm run typecheck
  • npm run lint (exits 0; existing warnings remain)
  • git diff --check

@philcunliffe
philcunliffe marked this pull request as ready for review May 15, 2026 22:26
@philcunliffe
philcunliffe merged commit b542530 into master May 15, 2026
7 checks passed
@philcunliffe
philcunliffe deleted the codex/query-cache-refresh-updates branch May 15, 2026 22:26
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