Skip to content

fix(software): count CSV records rather than quoted physical lines - #24

Merged
appdevelopsk merged 5 commits into
mainfrom
fix/software-csv-record-limits-20261103
Nov 3, 2026
Merged

appdevelopsk merged 5 commits into
mainfrom
fix/software-csv-record-limits-20261103

Conversation

@appdevelopsk

Copy link
Copy Markdown
Owner

Bug fixed

CSV Cleaner Pro free limit was checked via input.split(/\r?\n/), counting newline characters inside correctly quoted CSV fields as extra rows. This rejected valid small files with multiline cells.

Changes

  • Apply byte limits first, then count actual records using existing quote-aware parseCsv.
  • Centralize software free-tier enforcement in isWithinSoftwareLimits and use it in the workbench.
  • Add regression tests for quoted cells with >1000 embedded newlines, 1000 vs 1001 CSV records, text line and JSON byte limits.

Verification

CI pending. No GitHub merge or production deployment until tests pass.

@appdevelopsk
appdevelopsk merged commit a9b011e into main Nov 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant