Commit 6ccf19c
Add resumable installer with per-step progress tracking
Major improvements to the installer to handle network glitches and
allow resuming from where it left off:
Progress tracking:
- Track completed steps in a system property (workarena.installation.progress)
- Support --fresh flag to start from scratch
- Support --resume flag to resume without prompting
- Interactive prompt when previous progress is detected
- Per-list and per-form progress tracking to avoid redoing completed items
Retry logic:
- Add retry_on_transient_error decorator for all setup functions
- Retry on ConnectionError, TimeoutError, OSError, and Playwright errors
- Per-report retry in patch_report_filters
- 5 retry attempts with informative logging
Fresh install improvements:
- Clean up previously patched reports before re-patching
- Reset report date filter to current time
- Clear progress tracking on fresh install
Other improvements:
- Add progress logging (e.g., "Processing report 50/200")
- Skip completed lists/forms on resume
- Only create test users when there are items to process
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent 613f0bb commit 6ccf19c
1 file changed
+340
-77
lines changed
0 commit comments