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

MITLibraries / dspace-submission-composer / 18541989464
95%
main: 95%

Build:
Build:
LAST BUILD BRANCH: v0.1.0
DEFAULT BRANCH: main
Ran 15 Oct 2025 08:39PM 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

15 Oct 2025 08:37PM UTC coverage: 95.234% (-0.6%) from 95.784%
18541989464

push

github

jonavellecuerdo
Update batch creation report to capture errors

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:
*

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 18541989464.1 15 Oct 2025 08:39PM UTC 18
95.23
GitHub Action Run
Source Files on build 18541989464
  • 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 #18541989464
  • 3b133c3f on github
  • Prev Build on main (#18538289939)
  • 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