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

MITLibraries / dspace-submission-composer / 13422831257
96%

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

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

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

77 of 89 new or added lines in 4 files covered. (86.52%)

1 existing line in 1 file now uncovered.

636 of 675 relevant lines covered (94.22%)

0.94 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
98.61
-1.39% dsc/utilities/aws/sqs.py
3
94.83
-5.17% dsc/config.py
8
94.58
-5.42% dsc/workflows/base/__init__.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.58
-5.42% dsc/workflows/base/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 13422831257.1 19 Feb 2025 09:37PM UTC 17
94.22
GitHub Action Run
Source Files on build 13422831257
  • Tree
  • List 17
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13422831257
  • 909718db on github
  • Prev Build on main (#13271416382)
  • Next Build on main (#13528657865)
  • 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