-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[7797] Allow a CSV bulk upload to be cancelled through the Summary page #4800
base: 7744-create-upload-summary-page-part-2
Are you sure you want to change the base?
Conversation
Outline of error handling and rollback
We can now import into the DB
Add `validated` and `submitted` states because we need interim states between two new states between `pending` and `completed` to - indicate that the upload has been validated (and has no errors) - indicate that the upload has been submitted but has not finished processing.
This spec now invokes the dry run and submit background jobs to complete the import of valid records.
Co-authored-by: Serafeim Maroulis <[email protected]>
Leaving the rendering of error messages for later tickets.
This means that the creation of row records happens inside a job (and not as part of the same database transation that creates the upload record.
Co-authored-by: De Fong <[email protected]>
Co-authored-by: De Fong <[email protected]>
Co-authored-by: De Fong <[email protected]>
* Render info about the trainee uploads
1fbe098
to
134951a
Compare
Quality Gate passedIssues Measures |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 7744-create-upload-summary-page-part-2 #4800 +/- ##
=======================================================================
Coverage 96.02% 96.02%
=======================================================================
Files 722 722
Lines 15735 15738 +3
=======================================================================
+ Hits 15109 15112 +3
Misses 626 626
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
49e4470
to
48ebc09
Compare
Context
7797-allow-a-csv-bulk-upload-to-be-cancelled-through-the-summary-page
Changes proposed in this pull request
cancelled
Guidance to review
Important business
NB: Please notify the #twd_data_insights team and ask for a review if new fields are being added to analytics.yml