inspector/clients/web/src/test
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall 8c10b8eb8e fix(auth): make clear* hydration-safe, migrate raw-key blobs, doc keepalive/memo caveats
Address round-1 @claude review of #1592:

- OAuthStorageBase.clear* no longer mutate the pre-hydration (empty) store —
  a clear issued before hydration is deferred until it lands, so it merges
  onto the real persisted state instead of (a) being resurrected by the late
  rehydrate merge or (b) persisting a near-empty blob that clobbers every
  other server's on-disk credential. Already-hydrated clears stay synchronous.
- store.setServerState migrates a pre-normalization raw-key blob onto the
  canonical key on first partial write (was: shadowed it with a fresh
  canonical entry, orphaning the raw blob's other fields). clearServerState
  now also drops the raw-key orphan.
- Document the keepalive 64KB combined-body ceiling on the remote-storage
  write, the getRemoteOAuthStorage memo key intentionally omitting fetchFn,
  and the real ordering invariant behind the sync getScope.
- Tests for the clear-before-hydration and raw-key-migration paths.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S3fTN8H3R8YV4yUGvZjYnX
2026-07-01 19:20:49 -04:00
..
core fix(auth): make clear* hydration-safe, migrate raw-key blobs, doc keepalive/memo caveats 2026-07-01 19:20:49 -04:00
fixtures feat(apps): add AppListItem and AppDetailPanel groups (#1261) (#1273) 2026-05-04 10:28:58 -04:00
integration feat(web): migrate OAuth store to shared /store API (RemoteOAuthStorage parity) (closes #1548) 2026-07-01 18:39:17 -04:00
lib feat(export): wire History + Logs export JSON handlers (#1354) (#1367) 2026-05-27 19:06:28 -04:00
renderWithMantine.tsx test(coverage): bootstrap vitest unit infra and add tests at 90%+ per file (#1245) (#1269) 2026-05-01 15:15:32 -04:00
scrollAreaStoryAssertions.ts fix(web): give History/Network/Logging list scrollbars a gutter, hide when idle (#1474) (#1475) 2026-06-14 10:03:30 -04:00
setup.ts refactor: self-validating clients, fast validate + separate coverage/smoke (#1504) (#1505) 2026-06-21 11:41:33 -04:00