docs(plans): retire the S25 relationship cache plan

Summary

This MR removes the plan 2026-09-15-s25-relationship-cache-key-value-store, which moved the IAM relationship cache from each pod's memory into the shared Redis cache store. It shipped in three steps:

All the pods now share one entry per request, with one expiry. Nothing user-visible changes. The plan's docs/plans/README.md row becomes a retired row.

Checklist

  • Lessons: A cache write that runs after the answer needs an absolute expiry (answer time plus cache_ttl), or a late write stretches how long a revoked grant stays visible. !3789 (merged) moved the write to that form, and the spec now requires it. Also, a slow store can only be proven bounded against a server that accepts the connection and never answers: stubs that honour the context, and healthy servers, never reach that path. Proving it also needed !3095 (merged), which binds the caller's context to the Redis socket read. Last, a plan's claims about CI rules need checking against .gitlab-ci.yml: Step 3 carried a false security-mirror claim until !3974 (merged) removed it.
  • Where it lives now: Nothing moves. S25 (iam-relationships-client), section Caching, carries the contract: key shape and version, JSON value, absolute expiry, per-instance coalescing, fallback on store faults, the per-command deadline, and the 0s disable. The configuration reference carries iam.timeout (a tenth bounds each store command) and iam.cache_ttl. The observability catalog carries the event counting rules and the Warn line. redis-testing.md carries the digest-keyed test isolation and why the package stays out of the Redis topology matrix. The .gitlab-ci.yml comments carry the iam-rig Redis service and that job's fork and security-mirror exclusion. Dropped on purpose: research notes, sizing measurements, the step breakdown, file lists, naming and the test stub design. They describe how the work was built, and the code and git history keep them.
  • Drift: None. Each step updated the spec with its code. Two counting details the spec leaves out live in the observability catalog: a value that fails to encode counts as error, and a caller who leaves first books nothing.
  • User docs: docs/user/** is unaffected: the cache is internal and changes no route, status or body.
  • Follow-ups: Proposed, not filed: a testutil helper that returns a client already connected to the stalling Redis listener. It would replace the three client setups written by hand over testutil.NewStallingRedis in internal/iam/caching_integration_test.go, internal/storage/middleware/urlcache/urlcache_stalled_test.go and internal/redisclient/client_integration_test.go. This is cleanup, not a gap or a risk.

Related to #1279

Merge request reports

Loading
Loading