Skip to content

Speed up weekly forecasts and recent-page loading (1.6.2) - #58

Merged
capisoft-lib merged 1 commit into
mainfrom
codex/page-loading-release
Oct 19, 2026
Merged

capisoft-lib merged 1 commit into
mainfrom
codex/page-loading-release

Conversation

@capisoft-lib

Copy link
Copy Markdown
Owner

Weekly credit forecasts waited on months of raw events and could discard completed reads while Mesh ingestion advanced. This change keeps exact selected-week events, aggregates older EMA samples and calibration in SQL, batches metadata, and caches completed recent days with invalidation. The formula, dated prices, owner/revocation isolation and current-day freshness are preserved.

On the existing private Codex Site, uncached forecast requests fell from 9.7 s to 2.1–4.0 s; a full page reload displayed the chart after 4.4 s. See docs/page-loading-performance.md for fixtures, limits and measurements. Release references advance to 1.6.2.

Validation: 354 root tests; Sites build and 15 tests including workerd/D1; TypeScript and lint; Docker read-only startup, relational migration, replacement-container persistence and compressed-archive smoke tests. Two review passes covered forecast equivalence/boundaries and cache/concurrency/packaging. Unrelated pre-existing project allocation/grouping changes are excluded.

@capisoft-lib
capisoft-lib merged commit d0bc2f1 into main Oct 19, 2026
2 checks passed
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