0.7.0 execution plan and evidence gates¶
Historical planning record — 0.7.0 published 2026-11-24. The release was a small correctness release from source
df884644f11eb0e36ae5d74721009fc8e4470c4b. The #100 no-performance-claim deferral was accepted; no speed/p95/p99/HA claim is made. The plan below is retained for audit and is superseded by the published release evidence where it describes pre-release status.
Status: 2026-11-24 — published; historical planning record retained for audit.
Latest published artifact is fastapi-cache-stable 0.7.0.
Source merged after publication is not an installable 0.7.0 release.
The promotion candidate source identity is 0.7.0; published installation examples use the verified 0.7.0 release.
130 (development identity), #131 (error/ownership tests), and #132¶
(candidate wheel socket measurement support) were merged before the final
0.7.0 source df884644f11eb0e36ae5d74721009fc8e4470c4b.
133 now adds real disposable Redis 7.4 daemon stop/restart testing,¶
explicitly with client retries disabled. The maintainer accepted the
100 no-performance-claim deferral on 2026-11-23; independent reviewer¶
validation is still required. None of these changes qualifies production retry latency or constitutes a 0.7.0 release. See the narrow-scope pre-audit decision once reviewed and merged.
Actual progress (supersedes historical status below)¶
| Scope | Verified progress | Still required |
|---|---|---|
| #100 | #120–#122 installed-wheel benchmark + historical AB/BA; #128 real localhost socket; #133 real disposable Redis 7.4 daemon fault with retries disabled | Explicit reviewer + maintainer choice: accept no-speed-claim fixed-hardware deferral for 0.7, or preregister budgets and perform independent controlled measurement. Default redis-py retry latency is NOT qualified. Broad issue stays open. |
| #111 | Redis tuple smoke; #123 merged source (612e9d6), exact InMemory TTL equality; absent from published 0.6.0 |
Contract accepted, clock skew limitation, backend ownership and experimental providers |
| #112 | #124 merged source (4dc66ad), decode-before-304; absent from published 0.6.0 |
Corruption/serialization/backend error policy, privacy and cancellation |
| #99, #103 | New app-scoped and non-HTTP APIs explicitly deferred out of 0.7; singleton behavior remains | Design issues stay open for 0.8+; no multi-app/tenant isolation promise |
| #110 | Version-neutral release pipeline #113 merged | Fresh exact final 0.7.0 SHA + first-attempt 20-job Phase B, security/hashes and separate publication GO |
The historical Redis timing difference between 0.5 and 0.6 changed sign across GitHub CI sessions. No performance superiority or regression claim follows. Published 0.6.0 is unaffected by the newer merged source changes.
The 0.7.0 candidate checklist, performance preregistration protocol and counteraudit packet are planning templates until accepted and backed by exact evidence.
Current release decision: NO-GO¶
The narrow #123/#124 corrections are merged, but complete #111/#112 backend/error contracts remain open; #99/#103 new APIs are deferred for 0.7. Next independently review selected #111/#112/#53 risks and accept/reject the narrow #100 no-speed-claim deferral. #133 already covers a limited real standalone Redis outage with no client retries. Do not add #96/#50 or new #102 policies in 0.7. Then freeze selected source and repeat the exact final SHA 20-job Phase B, wheel/sdist hash, security and TestPyPI/PyPI workflow with explicit approval. Never publish from the historical 0.6.0 artifact, a PR synthetic merge SHA, or CI alone.
Historical starting point (2026-11-22; superseded by status above)¶
| PR | PR status | Related issue | Issue status | What the PR establishes | What it does not establish |
|---|---|---|---|---|---|
| #109 | Merged (ea38814) |
#48 | Open | Current-release docs checks and 0.6.0 migration-demo repair | The separate pages launch; immutable version routes or authorized outreach |
| #113 | Merged (fb9278c) |
#110 | Open | Version-neutral release pipeline | A run on the final future 0.7.0 SHA, a tag or PyPI publication |
| #114 | Merged (ed50598) |
#111 | Open | Redis get_with_ttl() returns the tuple required by the tested contract |
Full conformance of InMemory, Redis, Memcached or DynamoDB |
| #116 / #117 | Merged (fbd90b5) |
#48 | Open | Stable-only Pages deployment and verified public documentation URL | Immutable version routes, launch outreach or PyPI metadata changes |
The published 0.7.0 provenance is immutable; 0.6.0 remains a historical release.
Do not use source-only tests or post-release stable changes to describe its
contents.
Historical broad-scope execution order (superseded for 0.7)¶
| Stage | Work | Acceptance / handoff |
|---|---|---|
| 1 · Documentation | #48 correct stale references and validate built site | Docs preview CI, release-version regression check, links and anchors; Pages is live from stable; immutable version routes remain |
| 2 · Performance baseline | #100 start from installed published 0.6.0 | Reproducible commands, fixed workload and budgets chosen before feature work, raw results, platform metadata and no superiority claims |
| 3 · Backend contract | #111 + #112 | Installed wheel/sdist cases for TTL, clear, ownership, failure and corrupt-data policy; experimental backend limits explicit |
| 4 · Architecture RFCs | #99 + #103 | Reproduction, design alternatives, default and key-compatibility review; accepted designs before new concurrency/events API |
| 5 · Opt-in candidates | #96, #50, basic #102 | Bounded local single-flight, private-data-free events, standalone Redis timeout/disconnect/cancellation tests; separately review or defer |
| 6 · Final 0.7.0 readiness | #110 exact-artifact release gates | New final-source first-attempt matrix (12 Redis migration + 7 installed security + build), artifact hashes, authenticated security delta and express maintainer release GO |
Stages 2–4 can progress in parallel. Do not begin stage 5 implementation before the applicable #99/#103/#112 decisions are accepted. Stage 1 is a documentation/public-visibility dependency for optional outreach (#88), not a mandatory PyPI release gate. Backend conformance (#111) also informs basic Redis resilience (#102).
Performance protocol (infrastructure merged; qualification incomplete)¶
Start with a published-distribution-only baseline from issue #100. Use isolated environments for historical 0.5.0/0.6.0 and current 0.7.0; identify wheels/sdists by package version and SHA-256. Test representative HTTP MISS/HIT/304, Authorization bypass, Vary, payload sizes, expiry and namespace clear. For bounded InMemory, cover 1k/10k/100k keys and LRU/TTL churn; for standalone Redis 7.4, cover 1/10/100/1000 clients with explicit resource limits. Report p50/p95/p99, throughput, peak RSS, warm-up/repeats, environment, errors and raw machine-readable output.
A key-count cap is not a memory-byte cap. Do not assert Redis HA, TLS, Cluster/Sentinel, distributed locks, Python 3.14, or experimental backend parity from these measurements. Performance thresholds must be agreed before comparing candidate changes; publish a comparison page only with real results.
Scope and release decisions¶
Candidates, not promises for 0.7.0: opt-in per-key single-flight (#96), privacy-minimizing cache events (#50), and basic standalone Redis resilience (#102). If research or tests remain inconclusive, ship a smaller qualified 0.7.0 or defer features to 0.7.x; do not relax correctness gates to meet a version number.
Independent or later tracks: #51 Python 3.14 qualification and #55 FIPS portability; #45 DynamoDB fixes; #49 argument exclusions; #97 tags; #98 stale policy; broader multi-app changes in #99/#103; advanced Redis HA qualification in #102.
Keep fastapi_cache imports, ordinary legacy keys, default behavior and
the Python 3.8–3.10 functional legacy lane. Security-supported target
remains server-side CPython 3.11–3.13 unless a separate evidence-backed
decision changes it. Hidden tenant and identity contexts
(#53) do not
become automatically safe.
Completed since the original plan: #120–#122 provide the published wheel baseline and historical comparator. Remaining #100 work is independent-hardware and real-network qualification with agreed budgets. Close issues based on demonstrated acceptance, not merely on merged code.