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

MITLibraries / dspace-submission-composer / 16122559510
95%
main: 96%

Build:
Build:
LAST BUILD BRANCH: IN-1555-migrate-to-uv
DEFAULT BRANCH: main
Ran 07 Jul 2025 04:31PM UTC
Jobs 1
Files 22
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

07 Jul 2025 04:30PM UTC coverage: 95.713% (+0.3%) from 95.42%
16122559510

push

github

web-flow
Update 'finalize' command to use DynamoDB table (#182)

* Update 'finalize' command to use DynamoDB table

Why these changes are being introduced:
* This work is an important part of ensuring that running
DSC is idempotent via tracking the state of item submissions
using a DynamoDB table. With 'finalize' being the last step
of the DSC workflow, it is during this step that the table
is updated with information regarding the attempted deposit
into DSpace and whether the item submission was ingested.

How this addresses that need:
* Break up now-deprecated result message parsing method into two
methods for 'MessageAttributes' and 'Body' content
  - Each method raises an 'InvalidSQSMessageError' exception if invalid
* Rework logic in Workflow.process_sqs_queue to use new parsing methods
* Include calls to update records in DynamoDB table
* Update language in 'sqs_results_summary' count variable
* Update 'finalize' reporting components
* Add method to ItemSubmissionDB for serializing to Python dict
* Fix: Make 'ItemHandle' optional in JSON schema for result message 'Body'
* Rename 'finalize' Workflow methods to align with CLI command name / step

Side effects of this change:
* None

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

61 of 61 new or added lines in 4 files covered. (100.0%)

1 existing line in 1 file now uncovered.

893 of 933 relevant lines covered (95.71%)

0.96 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.52
2.74% dsc/config.py
Jobs
ID Job ID Ran Files Coverage
1 16122559510.1 07 Jul 2025 04:31PM UTC 22
95.71
GitHub Action Run
Source Files on build 16122559510
  • Tree
  • List 22
  • Changed 6
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16122559510
  • ca7cd0db on github
  • Prev Build on support-for-dynamodb (#16055691110)
  • Next Build on support-for-dynamodb (#16122574067)
  • 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