• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MITLibraries / dspace-submission-composer / 18565553930
95%

Build:
DEFAULT BRANCH: main
Ran 16 Oct 2025 02:59PM UTC
Jobs 1
Files 18
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Oct 2025 02:57PM UTC coverage: 95.234% (-0.6%) from 95.784%
18565553930

push

github

web-flow
Update batch creation report to capture errors (#205)

Why these changes are being introduced:
* While errors during the 'submit' and 'finalize' steps
are recorded in the DynamoDB table, errors that occur during
batch creation (the 'create' step) need to be captured and
included in reporting through some method. The purpose of these
changes are to pass along the list of errors returned by
Workflow.prepare_batch to the reporting module, CreateReport,
which renders a CSV file to report on item submissions
that fail batch creation.

How this addresses that need:
* Add 'errors' instance attr to CreateReport
* Define method for writing an 'errors' CSV file on CreateReport
* Define method for generating attachments
* Update signature of Workflow.send_report to accept instantiated
Reports (instead of classes)
* Add try-except block in 'create' CLI command to handle
'BatchCreationFailedError'

Side effects of this change:
* None

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/IN-1512

27 of 35 new or added lines in 4 files covered. (77.14%)

1059 of 1112 relevant lines covered (95.23%)

0.95 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
96.2
-0.03% dsc/workflows/base/__init__.py
2
80.77
-3.23% dsc/exceptions.py
2
97.75
-2.25% dsc/reports/report.py
3
86.84
-2.05% dsc/cli.py
Jobs
ID Job ID Ran Files Coverage
1 18565553930.1 16 Oct 2025 02:59PM UTC 18
95.23
GitHub Action Run
Source Files on build 18565553930
  • Tree
  • List 18
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18565553930
  • 81b6941e on github
  • Prev Build on main (#18538289939)
  • Next Build on main (#18727232901)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc