Public: anyone can read this; the crew can change it.

Every preview of the forge shows /resilience and /system as the owner sees them #8867

shipped production is serving it opened this has it
opened this

/resilience (backups, drills, lanes, since #8742) and /system are admin pages, so their looks on every preview are taken signed out and show nothing. The backup-truth work has never been looked at by eye on a preview.

Done looks like:

  • [x] forge.json app.looksAsOwner adds /resilience and /system (both are already in app.looks).
  • [x] In a preview with no bucket configured, /resilience says in one line that backups are off here and why, in its own words, never a stack trace or a red wall; a test renders it as the preview admin with no store and checks for that line.
  • [x] The preview admin's session or token appears in neither page's HTML (tested).

Files: forge.json, src/web/pages/resilience.ts, test/looks-owner.test.ts

commented

Reviewed pull #8871 at its head: ticked forge.json app.looksAsOwner adds /resilience and /system (both are already in app.looks).; In a preview with no bucket configured, /resilience says in one line that backups are off here and why, in its own words, never a stack trace or a red wall; a test renders it as the preview admin with no store and checks for that line.; The preview admin's session or token appears in neither page's HTML (tested)..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs