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

A forge whose billing is `none` sleeps, and a wake shows what happened, a pay-again button and how to export #11393

shipped production is serving it opened this has it
opened this

Part of #11140.

Done:

  • [x] When a forge's lapse state turns none, it is put to sleep through the existing sleep path (src/spawn/host.ts) and its apps stop answering.
  • [x] Waking it serves one plain server-rendered page: what happened in one sentence, a button to pay again (the existing checkout), and how to export the data. No wake of the apps until paid.
  • [x] Paying again (the fake provider's webhook) wakes it as it was.
  • [x] A test drives none → asleep and unwakeable → paid → awake.
commented

Reviewed pull #11485 at its head: ticked When a forge's lapse state turns none, it is put to sleep through the existing sleep path (src/spawn/host.ts) and its apps stop answering.; Waking it serves one plain server-rendered page: what happened in one sentence, a button to pay again (the existing checkout), and how to export the data. No wake of the apps until paid.; Paying again (the fake provider's webhook) wakes it as it was.; A test drives none → asleep and unwakeable → paid → awake..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs