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

MITLibraries / dspace-submission-composer / 13422831257 / 1
96%
main: 96%

Build:
DEFAULT BRANCH: main
Ran 19 Feb 2025 09:37PM UTC
Files 17
Run time 1s
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

19 Feb 2025 09:36PM UTC coverage: 94.222% (-1.8%) from 95.988%
13422831257.1

push

github

web-flow
Improve logging for 'submit' and 'finalize' methods (#144)

Why these changes are being introduced:
* Improve the logging of the DSC application for the submit and finalize CLI commands to ensure clear, detailed messages are logged that can help with debugging.

How this addresses that need:
* Update Config to support 'WARNING_ONLY_LOGGERS' env var
* Replace SQSClient.process_result_message with SQSClient.parse_dss_result_message
* Update Workflow.submit_items to return a list of successfully submitted
items (i.e., item submission messages sent to DSS), denoting item identifier
and message ID
* Rework try-except blocks to provide more granular error handling
* Rename Workflow.process_results -> Workflow.process_ingest_results
* Update unit tests as needed

Side effects of this change:
* Change to remove logging of the full DSS result message during 'finalize' methods will require users to either inspect the DSS CloudWatch logs or look at the result message in SQS. This decision was made to avoid the logging of full the `ExceptionTraceback` for failing ingests.

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

636 of 675 relevant lines covered (94.22%)

0.94 hits per line

Source Files on job 13422831257.1
  • Tree
  • List 17
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 13422831257
  • 909718db on github
  • Prev Job for on main (#13271416382.1)
  • Next Job for on main (#13528657865.1)
  • 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