Skip to content

feat(console): show a storage.mode memory banner from /healthz - #185

Merged
Bugs5382 merged 2 commits into
mainfrom
feat/180-memory-mode-banner
Oct 15, 2026
Merged

Bugs5382 merged 2 commits into
mainfrom
feat/180-memory-mode-banner

Conversation

@Bugs5382

Copy link
Copy Markdown
Contributor

What and why

cryptos-manager#201 added a storage.mode field to the anonymous /healthz body so the
console can warn an operator running storage.mode: memory. This adds that warning: a
persistent banner in the app shell when the manager reports memory storage, naming what is
lost on restart (operator registrations and the manager's own audit log; the CA nodes keep
their own audit chains). It's dismissible for as long as the page stays open, but a reload
asks /healthz again and shows it again if the manager still answers memory.

Refs #180

Verification

  • Lint clean
  • Tests pass
  • Build succeeds
  • Documentation updated (if behavior or API changed)

How this was verified

  • npx vitest run in apps/console (725 tests, including the new health.test.ts and
    memory-mode-banner.test.tsx, the latter with an axe check)
  • npm run lint (eslint + prettier) at the repo root
  • npm run build at the repo root, then node scripts/check-release-bundle.mjs apps/console/dist (the release bundle carries no mock fixtures)
  • task license --dry (0/374 files need a header change)

No new dependency. No behavior change outside the new banner, so no other docs needed.

Refs #180

Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
@Bugs5382
Bugs5382 marked this pull request as ready for review October 15, 2026 18:47
@github-actions github-actions Bot added the enhancement New feature (feat). Minor version bump. label Oct 15, 2026
@Bugs5382

Copy link
Copy Markdown
Contributor Author

Approved. The memory-mode banner. Refs #180

@Bugs5382
Bugs5382 enabled auto-merge (squash) October 15, 2026 19:21
@Bugs5382
Bugs5382 merged commit 4bb64b0 into main Oct 15, 2026
9 checks passed
@Bugs5382
Bugs5382 deleted the feat/180-memory-mode-banner branch October 15, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature (feat). Minor version bump.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant