Ship an F2P repro test with every data-export bug fix
Export bugs are silent and customer-visible. Require a failing-then-fixed test alongside the fix so the same corruption can't come back.
CSV export drops the last row and mangles names with commas
A support customer's export was missing its final row and any name with a comma broke into extra columns. Fix the export and add a test so it can't regress.
Slack · #support · thread ↗Verified against the repro
1 of 3 candidates passed BOTH the failing-then-fixed repro and the existing suite; selected Worker B (node-4813). Worker A fixed the dropped row but left commas unescaped — repro still failed.
Open Reports with 1,204 rows loaded → Click Export CSV → Download completes — all rows present → Open in a spreadsheet: "Ada, Lovelace" stays in one column
npm test -- export/csv.repro # fails on base, passes on the fixnpm test -- export/csvSection 3: line terminator is CRLF; header row required; UTF-8, no BOM.
Repro attached a 1,204-row export where row 1,204 was missing and a name broke parsing.
Export bugs are silent and customer-visible. Require a failing-then-fixed test alongside the fix so the same corruption can't come back.