Skip to content

Retry failed receipts directly from upload page - #33

Merged
yipkaio merged 3 commits into
mainfrom
fix/retry-failed-receipts
Sep 27, 2026
Merged

yipkaio merged 3 commits into
mainfrom
fix/retry-failed-receipts

Conversation

@yipkaio

@yipkaio yipkaio commented Sep 27, 2026 •

Copy link
Copy Markdown
Owner

Change

  • Migrate SQLite to v10 so a failed receipt no longer blocks another upload of the same file; completed, processing, review-queue and voided duplicates still block it.
  • Keep the selected file and business purpose on the Upload page after an error, and show Try again. Verify the previous attempt is actually FAILED before resubmitting. If the page was left, reselect the same file normally; no deletion or manual status change is needed.
  • Preserve failed attempts for audit, and prevent an older failed reprocessing draft from being promoted after a newer identical upload succeeded.
  • Update the user/deployment documentation and migration and duplicate tests.

Verification

  • python -m pytest -q -p no:cacheprovider: 272 passed, 3 skipped.
  • Frontend npm run build, npm run lint, npm run test:unit: passed (9 unit tests).

Back up SQLite and uploads together before deployment: database v10 is a forward migration. The separate one-time cleanup of existing Deleted receipts is an operator action, not a change to Ledgerly's 30-day retention policy.

@yipkaio yipkaio changed the title Retry failed receipts without deleting them Retry failed receipts directly from upload page Sep 27, 2026
@yipkaio
yipkaio merged commit f98357c into main Sep 27, 2026
4 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