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

A test pins Usage › Spend as a forge admin's: a guest is asked to sign in and anyone else is told not found #6856

shipped production is serving it opened this has it
opened this

src/web/pages/spend-tab.ts draws what the crew spent by credential, app, agent and issue; no test imports it.

Done:

  • [ ] test/spend-tab.test.ts: a guest is sent to sign in; a signed-in non-admin (including a repository owner who is not a forge admin) gets the not-found page and no figure from the page.
  • [ ] A forge admin sees the seeded runs' dollars by credential and by app, and the response carries its Server-Timing phase.

Files: a test only.

Before pushing: bun x tsc --noEmit and the tests you add or touch; bun scripts/design-lint.ts if src/web/ changes. Small and single-purpose; tests never read the wall clock — pass now in.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs