Address the 11 October test report findings #2
Reference in New Issue
Block a user
Delete Branch "fix/test-report-followups"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Addresses the findings in the initial test report (11 October 2026), which was run on the build before #1. Details and rollout notes:
docs/PILOT_READINESS.md("Follow-ups from the 11 October 2026 test report").Findings addressed
Also adds
npm run backfill:stock, which turns purchases recorded before the stock ledger into stock.Testing
npm test: 50 API tests pass.tests/retest-plan.test.tsruns the report's completion and retest plan (pages 9-10) and checks every balance and total it predicts: 18/9 after the online sale, 13/5 after the transfer, two offline sales replayed twice recorded once, final 3L stock 10/4 and 5L 8, revenue KES 320 / 40 / 360.After deploying, before re-testing on ZERRO
npm run backfill:stockonce so the existing test purchases count as stock. Run it before anyone records an opening count, or those units would be counted twice.APP_URLif invite links should use a different public address than the one requests arrive on.🤖 Generated with Claude Code