Small tickets come back with tests passing before you look

How it looks

Search Acme

support

2
  1. Fabian

    @devboxes can you pick up DEV-31? enterprise customers get payment reminders before their grace period is over

  2. devboxes APP

    Looked at 4 sources
    1. Jira Read DEV-31 and its comments
    2. GitHub Opened src/dunning/schedule.ts
    3. GitHub Found gracePeriodDays on customers
    4. Jira Moved DEV-31 to In Review

    #52 is up. The first reminder now waits out the customer's grace period, which was already on the customer record. Checks pass and DEV-31 is in review.

    Jira

    DEV-31 Payment reminders ignore the enterprise grace period

    In Review Dunning

    GitHub

    #52 Respect the contract's grace period before reminding

    Open devboxes/dev-31 3 checks passed

    Opened #52

  3. Fabian

    @devboxes Nina wants the grace period on #52 in business days, that's how the contracts are written

  4. devboxes APP

    Looked at 3 sources
    1. GitHub Read Nina's comment on #52
    2. GitHub Found the reminders' calendar
    3. Terminal Ran the tests

    Done. #52 now counts business days with the same calendar the reminders use, and there's a test for a due date right before a weekend.

    Updated #52

Payment reminders ignore the enterprise grace period

Description

Filed by Jonas. Enterprise contracts grant a grace period, but the first reminder goes out one day after the due date.

Activity

  1. devboxes linked #52

  2. devboxes moved the ticket to In Review

acme / ledger

Respect the contract's grace period before reminding #52

Open

devboxes[bot] wants to merge 1 commit into main from devboxes/dev-31

devboxes Bot reviewed 2 minutes ago View reviewed changes

devboxes Bot left a comment Author

Business days come from the calendar the reminders already use, so public holidays count the same way in both.

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/dunning/schedule.ts +16 −4
  • test/dunning-grace-period.test.ts +38 −0
See this flow

Tasks engineering managers and leads give devboxes

Search Acme

engineering

2
  1. Lena

    @devboxes can you take ENG-410? the invoice date shows the wrong month in December

  2. devboxes APP

    #89 fixes ENG-410. December invoices took their month from the billing run on January 1. A test covers the change of year, and checks pass.

    Opened #89

Search Acme

engineering

2
  1. Lena

    @devboxes Fabian's out today, can you review #88 before I merge it?

  2. devboxes APP

    Reviewed #88. A refund on a cancelled invoice books twice, and I left an example on that line. The rest of the change is fine.

    Review posted

Search Acme

engineering

2
  1. Lena

    @devboxes CI is red on #91 but the tests pass locally. what's going on?

  2. devboxes APP

    The failing test depends on the time zone. CI runs in UTC, so the due date in the test moves back a day. Setting the time zone in the test fixes it.

Alerts become prepared fixes without waking anyone

Search Acme

alerts

1
  1. devboxes APP

    Looked at 4 sources
    1. Sentry Read the new alert
    2. GitHub Found where the invoice export reads the amount
    3. GitHub Found Tuesday's change to it
    4. Terminal Wrote a test that fails with the same error

    Sentry's new alert is the invoice export failing on invoices without a coupon, since Tuesday's release. #61 adds a test that fails the same way and the fix that makes it pass. All checks pass.

    GitHub

    #61 Treat a missing coupon as no discount

    Open devboxes/invoice-export-coupon 3 checks passed

    Ready for review

acme / ledger

Treat a missing coupon as no discount #61

Open

devboxes[bot] wants to merge 1 commit into main from devboxes/invoice-export-coupon

devboxes Bot reviewed 2 minutes ago View reviewed changes

devboxes Bot left a comment Author

Invoices with a coupon export as before, and invoices without one no longer break the export. No findings.

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/invoices/export.ts +4 −1
  • src/invoices/export.test.ts +28 −0

More tasks for engineering managers and leads

See every task

How does devboxes follow our conventions?

devboxes reads the instructions your team already keeps with its code and runs your own tests.

What does the separate review do?

After your tests pass, a separate review looks for problems and devboxes fixes what it finds.

Where can our code live?

On GitHub or GitLab. devboxes also reads CI results from Gitea and Forgejo.

Try devboxes for engineering managers and leads

Get started for free