Production errors get a fix ready while you sleep

Alerting and monitoring can be combined with Devboxes to form a closed loop to automatically resolve issues without waking someone up.

How it looks

Search Acme

billing

2
  1. Tom

    @Devboxes refunds stopped reaching the ledger overnight, every charge.refunded webhook crashes with TypeError: Cannot read properties of undefined (reading 'data') at bookRefund (src/payments/stripe-webhooks.ts:88)

  2. Devboxes APP

    Looked at 5 sources
    1. Slack Read the stack trace in this thread
    2. GitHub Opened stripe-webhooks.ts at line 88
    3. Terminal Reproduced the crash in its workspace
    4. Terminal Ran the new refund tests
    5. GitHub Read the checks on #51

    Hotfix is up in #51. Charges don't include the refund list anymore, so the handler now books from amount_refunded. Partial refunds come in as several events, so it books only what isn't booked yet. Tests cover both, and checks pass.

    GitHub

    #51 Book refunds from amount_refunded

    Open devboxes/refund-webhook-hotfix 3 checks passed

    Ready for review

acme / ledger

Book refunds from amount_refunded #51

Open

devboxes[bot] wants to merge 1 commit into main from devboxes/refund-webhook-hotfix

devboxes Bot reviewed 2 minutes ago View reviewed changes

devboxes Bot left a comment Author

A full refund books once, a partial refund books only the new part, and a replayed event books nothing.

All checks have passed

3 successful checks

  • CI / Lint (pull_request) Details
  • CI / Typecheck (pull_request) Details
  • CI / Tests (pull_request) Details

This branch has no conflicts with the base branch

Merging can be performed automatically.

You can also merge this with the command line.

Files changed 2

  • src/payments/stripe-webhooks.ts +21 −7
  • test/refund-webhook.test.ts +64 −0
See this flow

What operations teams hand off

  1. Search Acme

    incidents

    2
    1. Tom

      @Devboxes nightly invoice export fails since 02:00 with Error: ENOENT: no such file or directory, open 'exports/2026-10.csv'

    Change ready for review

    A fix ready to review, with a test for the error.

  2. Search Acme

    alerts

    2
    1. Tom

      @Devboxes the disk alert on the export worker fires every night around 3. what's filling it up?

    Answered

    The cause and a recommended fix.

  3. Search Acme

    onboarding

    2
    1. Tom

      @Devboxes how does a new hire run the project locally? do they need production keys?

    Answered

    The setup steps, with links to where they come from.

Questions from operations teams

Can Devboxes receive alerts from our monitoring?

Yes. Devboxes takes alerts from your monitoring tools and groups repeats of the same error into one issue with a fix prepared.

Does Devboxes put a fix live by itself?

No. Devboxes prepares the fix, and your team decides when it goes live.

Where does the work run?

On our servers in Germany or on a machine your team registers.

Have a fix ready for the next production error

Start for free with just three commands.

Read the source
curl -fsSLO https://devboxes.ai/install shasum -a 256 -c <<< "35f4c98f35cbb7b1e1773ea523acccf0e4c5472d297195e0fe01dd965910ba32 install" && sh install devboxes signup