Money: rapid CSV file selections can lose the first file #1289

Open
opened 2026-10-07 00:54:44 +00:00 by kayg · 1 comment
Owner

Steps to reproduce:

  1. Open Money → Import a Budget and choose the YNAB CSV format.
  2. Select Plan.csv in the file picker.
  3. Before the browser finishes reading its header, select Register.csv in a second file-picker action.

Expected: the wizard keeps both files and enables Continue.

Actual: the second selection invalidates the first asynchronous header read. The wizard shows “Now choose the Plan CSV file”, retains only Register.csv, and keeps Continue disabled. The User can recover by choosing Plan again, but the paired import does not handle rapid sequential selections.

Evidence: artifacts/money/money-csv-pair-race-light-390.png. The production-server e2e reproduces this by delaying the 4 KiB header read to model a slow device; the first file is stale before its detection result is applied.

Severity: minor. No imported data is changed, but the import flow loses a valid selection and cannot continue until the User retries.

Steps to reproduce: 1. Open Money → Import a Budget and choose the YNAB CSV format. 2. Select `Plan.csv` in the file picker. 3. Before the browser finishes reading its header, select `Register.csv` in a second file-picker action. Expected: the wizard keeps both files and enables Continue. Actual: the second selection invalidates the first asynchronous header read. The wizard shows “Now choose the Plan CSV file”, retains only Register.csv, and keeps Continue disabled. The User can recover by choosing Plan again, but the paired import does not handle rapid sequential selections. Evidence: `artifacts/money/money-csv-pair-race-light-390.png`. The production-server e2e reproduces this by delaying the 4 KiB header read to model a slow device; the first file is stale before its detection result is applied. Severity: minor. No imported data is changed, but the import flow loses a valid selection and cannot continue until the User retries.
Author
Owner

This report duplicates Money issue #1288. Keep #1288 as the canonical report; I am leaving this issue open because the bug-bash rules say never to close issues. The evidence path and reproduction are the same: artifacts/money/money-csv-pair-race-light-390.png.

This report duplicates Money issue #1288. Keep #1288 as the canonical report; I am leaving this issue open because the bug-bash rules say never to close issues. The evidence path and reproduction are the same: `artifacts/money/money-csv-pair-race-light-390.png`.
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal-v0#1289
No description provided.