Extract of node --test output; application HTTP logs omitted.
✔ DB cache epochs: two replicas, retained Redis keys, concurrent writes and atomic rollback (6434.557331ms)
✔ Redis cache: hits, expiry, invalidation race and unavailable-server fallback (1292.252866ms)
✔ API cache: fewer SQL reads, write invalidation, permissions, logout and Redis fallback (3126.628974ms)
✔ message keyset pagination: timestamp ties, chat isolation and deleted cursor row (3942.163363ms)
✔ Argon2id only: PHC format, independent derivation, unique salts, Unicode and invalid hashes (934.867797ms)
✔ PostgreSQL storage: constraints, pagination, access and application restart (16185.472827ms)
▶ Auth and dependency failures remain bounded and fail closed
  ✔ incorrect password is 401 with Basic challenge (427.894703ms)
  ✔ SESSION_TTL_SECONDS=2 expires without renewing on reads (2817.902277ms)
  ✔ Redis disconnect: SQL fallback and anonymous callers remain unauthorized (2220.317988ms)
  ✔ Redis hangs: command timeout bypasses cache (2547.996445ms)
  ✔ PostgreSQL disconnect: bounded 503, no cached authorization bypass (564.359592ms)
  ✔ PostgreSQL hangs on an established connection: client query timeout (5310.926248ms)
  ✔ both services unavailable: fail closed and recover confirmed data (319.237936ms)
✔ Auth and dependency failures remain bounded and fail closed (22602.846427ms)
ℹ tests 15
ℹ suites 0
ℹ pass 15
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 48905.3297
