You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Address four production-readiness concerns from a reviewer (satellite RC
honesty, admin auth, circuit breaker vs Redis, concurrency isolation). Three
were already sound; the work is tests, CI teeth, and doc reconciliation.
Concern 1 - per-satellite MERGED coverage gate. Admin's controllers are
integration-tested by design, so a unit-floor bar would be coverage theatre.
Instead:
- new scripts/check-satellite-coverage.mjs buckets the merged unit+integration
lcov by packages/<sat>/src and gates each RC satellite against a declared
floor (lasagnaSatellite.minMergedCoverage)
- ci.yml uploads each satellite's unit V8 into the aggregate merge and runs the
gate (report-only first run; ratchet floors just under the measured numbers,
then drop SATELLITE_COV_REPORT_ONLY to enforce)
- check-satellite-graduation.mjs now requires the floor declared at the bar
- stability.md + upgrade-to-1.0.md stop telling adopters to treat satellite
packages as experimental (they are RC; in-core opt-in features stay experimental)
Concern 3 - circuit breaker survives a Redis outage. New integration spec forces
the wired Redis to reject and proves persist/restore/destroy never throw; unit
reinforcement for the no-Redis path; new resilience.md section.
Concern 4 - cross-tenant isolation under load. New ~1000-write bounded-concurrency
fuzz spec with direct-DB read-back; data-isolation/index.md concurrency section
(schema-pg scoped).
Concern 2 - admin auth docs point at the demo middleware and the empty-array
boot guard.
Local gates green (794 unit, build:all, typecheck, lint, knip, docs:build).
Integration specs are CI-only.
| Connection LRU, budget, optional hard cap | Release candidate |`enforceConnectionCap` defaults `false`; see [scaling limits](/docs/scaling-limits). |
91
-
| Circuit breaker | Release candidate |OPEN state restored from Redis across restarts. |
91
+
| Circuit breaker | Release candidate |In-memory and per-tenant; survives a Redis outage. See [resilience](/docs/resilience#the-tenant-circuit-breaker). |
92
92
| Dependency resilience (`ResilienceService`, 503 fail-closed) | Release candidate | A resolved tenant whose DB is down returns a typed 503, never central. |
0 commit comments