Get a reported bug fixed with a test

A bug in Linear comes back as a reviewed fix, with a test that would have caught it.

  • Engineering
  • Product
Search Acme

billing

2
  1. Zendesk APP

    New ticket #4521 from Müller GmbH: "The PDF of our invoice INV-2026-311 ends at the bottom of page one. The last line and the total are missing."

  2. Lena

    @Devboxes can you fix this one?

  3. Devboxes APP

    Looked at 5 sources
    1. Slack Read Zendesk ticket #4521
    2. GitHub Read the README's Invoice PDFs section
    3. Terminal Reproduced Müller's PDF in its workspace
    4. GitHub Read the checks on #47
    5. Linear Moved ENG-212 to In Review

    Fixed in #47 and filed as ENG-212. When the lines didn't fit on page one, the PDF stopped at its bottom. It now continues on page two, so Müller's invoice shows every line and the total. A new test covers it, checks pass and the review found nothing.

    Linear

    ENG-212 Invoice PDFs lose the last line when page one is full

    In Review Billing, Bug

    GitHub

    #47 Continue invoice PDFs on a new page

    Open devboxes/eng-212 3 checks passed

    Ready for review

Invoice PDFs lose the last line when page one is full

  • In Review
  • Medium
  • Billing
  • Bug

From Zendesk ticket #4521. Müller's INV-2026-311 ends at the bottom of page one, without its last line and the total.

Activity

  1. Devboxes linked change #47
  2. Devboxes moved the issue to In Review

Leave a comment…

acme / ledger

Continue invoice PDFs on a new page #47

Open

devboxes[bot] wants to merge 1 commit into main from devboxes/eng-212

devboxes Bot reviewed 2 minutes ago View reviewed changes

devboxes Bot left a comment Author

Page breaks now follow the README. Müller's invoice shows every line and the total, and invoices that fit on one page come out as before.

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/pdf.ts +18 −9
  • test/invoice-pdf-pages.test.ts +41 −0