mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1667] [CLOSED] feat: experimental persistent Responses and branch checkpoints #3597
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3597
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/1667
Author: @CC-David-CC
Created: 10/9/2026
Status: ❌ Closed
Base:
main← Head:feat/branch-checkpoints📝 Commits (8)
378f3f5feat: extend native sessions with branch history and checkpoint retention9e7bbbaMerge current main and preserve Responses and branch checkpoint controls465b20btest: end the mock server process tree after abrupt Windows restart checksf980067docs: preserve Responses disk integration evidence and consolidate earlier PRs1dd9b5atest: close the integration probe binary hash handlefeb00ecfix: fingerprint current engine restart metadata for branch checkpoints6f702abdocs: record refreshed cache lifecycle and checkpoint validation634a287Merge Strata v0.1.43 into feat/branch-checkpoints📊 Changes
37 files changed (+10963 additions, -51 deletions)
View changed files
➕
bench/results/2026-10-11-cache-refresh/README.md(+71 -0)➕
bench/results/2026-10-11-cache-refresh/branch-32k.json(+1071 -0)➕
bench/results/2026-10-11-cache-refresh/cache-parity-disk-temp0.7.json(+552 -0)➕
bench/results/2026-10-11-cache-refresh/cache-parity-disk-temp0.json(+468 -0)➕
bench/results/2026-10-11-cache-refresh/cache-parity-ram-fallback-temp0.7.json(+552 -0)➕
bench/results/2026-10-11-cache-refresh/cache-parity-ram-fallback-temp0.json(+468 -0)➕
bench/results/2026-10-11-cache-refresh/cache-parity-ram-temp0.7.json(+552 -0)➕
bench/results/2026-10-11-cache-refresh/cache-parity-ram-temp0.json(+468 -0)➕
bench/results/2026-10-11-cache-refresh/provenance.json(+16 -0)➕
bench/results/2026-10-11-cache-refresh/responses-live.json(+1232 -0)➕
docs/BRANCH_CHECKPOINTS_EXPERIMENTAL.md(+166 -0)➕
docs/RESPONSES_DISK_INTEGRATION.md(+146 -0)➕
docs/RESPONSES_EXPERIMENTAL.md(+126 -0)➕
docs/measurements/branch-checkpoints-32k/README.md(+68 -0)➕
docs/measurements/branch-checkpoints-32k/latency.png(+0 -0)➕
docs/measurements/branch-checkpoints-32k/native-audit.txt(+15 -0)➕
docs/measurements/branch-checkpoints-32k/results.json(+1071 -0)➕
docs/measurements/branch-checkpoints-32k/summary.json(+42 -0)➕
docs/validation/responses-disk-20261008/cuda-rtx4090.json(+441 -0)➕
docs/validation/responses-disk-20261008/hip-rx7900xtx.json(+441 -0)...and 17 more files
📄 Description
Adds opt-in durable Responses history, generated summaries, branch/bookmark checkpoints and native session reuse. Branches replay the selected immutable API history; invalid or evicted KV checkpoints fall back to prefill. Native checkpoint retention and API history retention remain separate.
Refreshed onto current main, preserving #1446's Responses groundwork and #1489's integration probe and historical evidence. #1810 retains the native automatic disk-cache implementation; the two surviving PRs were validated together. This supersedes #1446 and the overlapping #1489 integration branch rather than requiring their code to be merged twice.
Enable through the experimental persistence/checkpoint configuration options and a dedicated Responses store. Summaries are separately optional. Usage, branching, retention and limits. No private application profile or deployment migration is included.
Validation on current main: combined serving suite 750 tests, 12 skipped; a 30-test checkpoint/HTTP rerun after fixing the engine restart-metadata fingerprint. The isolated native disk-only Responses probe passed 33 lifecycle checks, including summaries on/off, cancellation, abrupt restart, corrupt-KV fallback and eviction. Six greedy/seeded RAM/disk/fallback token comparisons passed with MTP width 2. The 32K branch benchmark passed all 14 requests, bookmark retention and deleted-cache replay; each restored pair reused 32,761 tokens. Three fresh/restored observations had median first-token times 4.473s/1.244s, excluding startup and shutdown.
These are controlled RTX PRO 6000 Blackwell / ISTA IQ3_XXS integration measurements, not broad performance or cross-backend snapshot-portability claims. Fresh results, source/binary identities, full token records and reproduction. Historical measurements remain separately dated.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.