Bug fixes
Describe the bug. Get a tested fix.
Codend finds the cause, fixes it and adds a test so it stays fixed, then opens a pull request.

$ npm test FAIL cart.test.ts › total rounds to cents Expected: 19.99 Received: 19.98Tests 1 failed, 95 passed
How it helps
From report to fix
01
It finds the cause
Codend reads the code around the problem and explains what goes wrong before it changes anything.
02
A focused fix
Only the lines that need to change, plus a test that fails before the fix and passes after.
03
Ready to merge
You get a pull request with the cause, the fix and the passing checks.
The pull request
Every fix comes with proof
You don’t take the fix on trust. The pull request shows why it broke and how you know it’s fixed.
- The cause, explained in plain words
- A test that failed before the fix
- Your checks, all passing

#41
Keep sessions alive across token refresh
- Tests passed
- Typecheck passed
- Build passed
Ready for your review. Merging is up to you.
What it fixes
The bugs that eat your week
Crashes
Errors in the logs or a blank screen, traced to the line that throws.
Wrong results
Totals, dates and states that are off, with a test that pins the right answer.
Broken layouts
Pages that break on a phone or one browser, checked in a real browser.
Slow pages
Slow queries and heavy renders, measured before and after the change.
Try it
Start with one of these
Login loop. Users get sent back to the login page after signing in on Safari. Find out why and fix it.
Try itWrong totals. The cart total is off by a cent for some prices. Find the rounding bug and fix it.
Try itCrash on an empty list. The dashboard crashes when a user has no projects. Fix it and show an empty state.
Try it