Skip to content

The server rebuilds the cache: confirmed, not inferred - #17

Merged
mspinola merged 1 commit into
mainfrom
claude/confirm-cache-rebuild
Aug 5, 2026
Merged

mspinola merged 1 commit into
mainfrom
claude/confirm-cache-rebuild

Conversation

@mspinola

@mspinola mspinola commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Follow-up to #16, which said data_cache/ and cot_data.db are pushed by nothing and that the server regenerates the cache — with an explicit hedge that this was inference from the old push having been broken since PR #12, rather than something anyone had confirmed.

Confirmed by the maintainer, 2026-08-04. The hedge comes out and the mechanism goes in: CotIndexer writes per-instrument parquet under COTMETRICS_CACHE on first use and busts it on the upstream cotdata.schema_version() plus METRICS_CACHE_VERSION, so a store push is the only input it needs.

The consequence worth knowing is a latency one rather than a missing payload: the first request after a release runs against a cold cache. That is one slow request, not an absent artifact.

This closes the last open question from the deprecation. Nothing is pushed by nothing.

Testing

170 passed. ruff clean. bash -n clean, script still exits 2.

🤖 Generated with Claude Code

#16 said data_cache/ and cot_data.db are pushed by nothing and that the server
regenerates the cache, with an explicit hedge that this was inference from the old
push having been broken since PR #12 rather than something anyone had confirmed.

Confirmed by the maintainer 2026-08-04. The hedge is removed and the mechanism
stated: CotIndexer writes per-instrument parquet under COTMETRICS_CACHE on first
use and busts it on the upstream cotdata.schema_version() plus
METRICS_CACHE_VERSION, so a store push is the only input it needs.

The consequence worth knowing is a latency one rather than a missing payload: the
first request after a release runs against a cold cache.

That closes the last open question from the deprecation. Nothing is pushed by
nothing.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@mspinola
mspinola merged commit d9a7c05 into main Aug 5, 2026
3 checks passed
@mspinola
mspinola deleted the claude/confirm-cache-rebuild branch August 5, 2026 03:37
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