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
P1-4: resolveByHostname() ran on every unscoped request (a control-plane DB
lookup in the hot path). RestServer.resolveHostnameCached() now caches
hostname→environmentId for 30s across all 3 call sites, including negative
results so unknown hosts don't hammer the registry; registry errors aren't
cached so a transient blip self-heals. +3 tests.
P1-5: verified the Redis pub/sub fire-and-forget is by design (at-most-once) and
already implied in code. Recorded the durability contract in pubsub.ts:
metadata.changed is a cache-invalidation hint only — the durable source of truth
is the transactional sys_metadata (+ sys_metadata_history) write, so a missed
event self-heals on reload and never loses data. No delivery-semantics change;
risk accepted + documented.
docs/launch-readiness.md P1-4/P1-5 updated (Verify ✅, Sign-off left for the team).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments