Fix a production error

Reproduces an error from its stack trace, fixes it and adds a test.

What you ask

Search Acme

engineering

2
  1. Lena

    @devboxes Fix this TypeError in checkout. The stack trace is attached.

    stack-trace.txt Plain Text
  2. devboxes APP

    The error happens when a cart has a discount code but no items left. #92 adds a test that fails the same way and the fix that makes it pass. All checks pass.

What devboxes does

  1. Read the error

    • The failing code and the input that triggers it are identified.
  2. Reproduce it in a test

    • A test fails with the same error as the stack trace.
  3. Fix the cause

    • The new test passes.
    • The fix changes the code that causes the error.
  4. Verify

    1. Install dependencies

    2. Test

    3. Lint

    4. If it fails

      1. Fix

        • The tests pass.
      2. Test again

      3. Lint again

  5. Publish

  6. Review

Good for

Startups

Ask devboxes to fix a production error

Get started for free