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

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

Build:
Build:
LAST BUILD BRANCH: ocw-mapping-fix
DEFAULT BRANCH: main
Repo Added 02 Dec 2024 08:56PM UTC
Token Is1ouZ3Mu7H6XOLn5MQ3NKDGwcSUnnTxZ regen
Build 511 Last
Files 18
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

LAST BUILD ON BRANCH IN-1512-report-on-failures-during-batch-creation
branch: IN-1512-report-on-failures-during-batch-creation
CHANGE BRANCH
x
Reset
Sync Branches
  • IN-1512-report-on-failures-during-batch-creation
  • 1319-create-separate-folder-for-dspace-metadata
  • IN-1095-simplecsv-workflow
  • IN-1096-ocw-workflow
  • IN-1097-wiley-workflow
  • IN-1098-sccs-workflow
  • IN-1099-aws-clients
  • IN-1099-ses-and-sqs-clients
  • IN-1099-ses-sqs-clients
  • IN-1100-archivesspace-workflow
  • IN-1101-base-workflow
  • IN-1101-sqs-refactor
  • IN-1103-reconcile-cli-command
  • IN-1104-deposit-command
  • IN-1105-finalize-command
  • IN-1106-add-docs
  • IN-1108-setup-app
  • IN-1157-build-report-system
  • IN-1158-revise-reconcile-method
  • IN-1167-remove-demo-workflow
  • IN-1172-improve-logging-for-submit-and-finalize-methods
  • IN-1172-logging-for-finalize-methods
  • IN-1173-create-reconcile-report
  • IN-1174-create-submit-report
  • IN-1176-opencourseware-subjects-field
  • IN-1186-simplecsv-fix-item-identifiers
  • IN-1227-update-dsc-to-use-s3-bucket
  • IN-1235-set-sqs-output-queues
  • IN-1236-rename-s3-bucket-env
  • IN-1315-create-item-db-model
  • IN-1316-update-reconcile-command-to-use-dynamodb
  • IN-1317-submit-dynamodb
  • IN-1318-update-finalize-command-to-use-dynamodb
  • IN-1319-create-separate-folder-for-dspace-metadata
  • IN-1320-consolidate-results-in-finalize-report
  • IN-1323-improve-methods-for-processing-result-messages
  • IN-1324-workflows-use-single-output-queue
  • IN-1341-rename-env-var-for-item-submissions-table
  • IN-1344-finalize-fix-args-when-getting-record-from-dynamodb
  • IN-1352-add-sync-cli-command
  • IN-1354-itemsubmission-class-update
  • IN-1355-refactor-reconcile-for-itemsubmission
  • IN-1356-update-submit
  • IN-1357-finalize-refactor
  • IN-1394-opencourseware-use-metadata-transformer
  • IN-1408-reconcile-by-record
  • IN-1409-repo-alignment
  • IN-1428-opencourseware-contrib-department-field-method
  • IN-1431-align-methods-for-retrieving-source-metadata
  • IN-1432-cache-bitstreams-to-workflow
  • IN-1433-define-record-level-reconcile-item-methods
  • IN-1455-create-batch-for-base-workflow
  • IN-1455-create-batch-for-base-workflow-update
  • IN-1456-add-create-cli-command
  • IN-1460-add-batch-creation-report
  • IN-1460-refactor-reporting-modules
  • IN-1511-ocw-prepare-batch-method-and-review
  • INFRA-509-sccs-deposit-request
  • dependabot/pip/boto3-1.35.76
  • dependabot/pip/boto3-1.35.77
  • dependabot/pip/boto3-1.35.78
  • dependabot/pip/boto3-1.35.79
  • dependabot/pip/boto3-1.35.80
  • dependabot/pip/boto3-1.35.81
  • dependabot/pip/boto3-1.35.82
  • dependabot/pip/boto3-1.35.83
  • dependabot/pip/boto3-1.35.84
  • dependabot/pip/boto3-1.35.85
  • dependabot/pip/boto3-1.35.86
  • dependabot/pip/boto3-1.35.87
  • dependabot/pip/boto3-1.35.88
  • dependabot/pip/boto3-1.35.89
  • dependabot/pip/boto3-1.35.90
  • dependabot/pip/boto3-1.35.91
  • dependabot/pip/boto3-1.35.92
  • dependabot/pip/boto3-1.35.93
  • dependabot/pip/boto3-1.35.94
  • dependabot/pip/boto3-1.35.95
  • dependabot/pip/boto3-1.35.96
  • dependabot/pip/boto3-1.35.97
  • dependabot/pip/boto3-1.35.98
  • dependabot/pip/boto3-1.35.99
  • dependabot/pip/boto3-1.36.0
  • dependabot/pip/boto3-1.36.1
  • dependabot/pip/boto3-1.36.10
  • dependabot/pip/boto3-1.36.11
  • dependabot/pip/boto3-1.36.12
  • dependabot/pip/boto3-1.36.13
  • dependabot/pip/boto3-1.36.14
  • dependabot/pip/boto3-1.36.15
  • dependabot/pip/boto3-1.36.16
  • dependabot/pip/boto3-1.36.17
  • dependabot/pip/boto3-1.36.18
  • dependabot/pip/boto3-1.36.19
  • dependabot/pip/boto3-1.36.2
  • dependabot/pip/boto3-1.36.20
  • dependabot/pip/boto3-1.36.21
  • dependabot/pip/boto3-1.36.22
  • dependabot/pip/boto3-1.36.23
  • dependabot/pip/boto3-1.36.24
  • dependabot/pip/boto3-1.36.25
  • dependabot/pip/boto3-1.36.26
  • dependabot/pip/boto3-1.36.3
  • dependabot/pip/boto3-1.36.4
  • dependabot/pip/boto3-1.36.5
  • dependabot/pip/boto3-1.36.6
  • dependabot/pip/boto3-1.36.7
  • dependabot/pip/boto3-1.36.8
  • dependabot/pip/boto3-1.36.9
  • dependabot/pip/boto3-1.37.0
  • dependabot/pip/boto3-1.37.1
  • dependabot/pip/boto3-1.37.2
  • dependabot/pip/boto3-1.37.3
  • dependabot/pip/boto3-1.37.4
  • dependabot/pip/boto3-stubs-1.35.76
  • dependabot/pip/boto3-stubs-1.35.77
  • dependabot/pip/boto3-stubs-1.35.78
  • dependabot/pip/boto3-stubs-1.35.79
  • dependabot/pip/boto3-stubs-1.35.80
  • dependabot/pip/boto3-stubs-1.35.81
  • dependabot/pip/boto3-stubs-1.35.82
  • dependabot/pip/boto3-stubs-1.35.83
  • dependabot/pip/boto3-stubs-1.35.84
  • dependabot/pip/boto3-stubs-1.35.85
  • dependabot/pip/boto3-stubs-1.35.86
  • dependabot/pip/boto3-stubs-1.35.87
  • dependabot/pip/boto3-stubs-1.35.88
  • dependabot/pip/boto3-stubs-1.35.89
  • dependabot/pip/boto3-stubs-1.35.90
  • dependabot/pip/boto3-stubs-1.35.91
  • dependabot/pip/boto3-stubs-1.35.92
  • dependabot/pip/boto3-stubs-1.35.93
  • dependabot/pip/boto3-stubs-1.35.94
  • dependabot/pip/boto3-stubs-1.35.95
  • dependabot/pip/boto3-stubs-1.35.96
  • dependabot/pip/boto3-stubs-1.35.97
  • dependabot/pip/boto3-stubs-1.35.98
  • dependabot/pip/boto3-stubs-1.35.99
  • dependabot/pip/boto3-stubs-1.36.0
  • dependabot/pip/boto3-stubs-1.36.1
  • dependabot/pip/boto3-stubs-1.36.10
  • dependabot/pip/boto3-stubs-1.36.11
  • dependabot/pip/boto3-stubs-1.36.12
  • dependabot/pip/boto3-stubs-1.36.13
  • dependabot/pip/boto3-stubs-1.36.14
  • dependabot/pip/boto3-stubs-1.36.15
  • dependabot/pip/boto3-stubs-1.36.16
  • dependabot/pip/boto3-stubs-1.36.17
  • dependabot/pip/boto3-stubs-1.36.18
  • dependabot/pip/boto3-stubs-1.36.2
  • dependabot/pip/boto3-stubs-1.36.21
  • dependabot/pip/boto3-stubs-1.36.22
  • dependabot/pip/boto3-stubs-1.36.23
  • dependabot/pip/boto3-stubs-1.36.24
  • dependabot/pip/boto3-stubs-1.36.25
  • dependabot/pip/boto3-stubs-1.36.26
  • dependabot/pip/boto3-stubs-1.36.3
  • dependabot/pip/boto3-stubs-1.36.4
  • dependabot/pip/boto3-stubs-1.36.5
  • dependabot/pip/boto3-stubs-1.36.6
  • dependabot/pip/boto3-stubs-1.36.7
  • dependabot/pip/boto3-stubs-1.36.8
  • dependabot/pip/boto3-stubs-1.36.9
  • dependabot/pip/boto3-stubs-1.37.0
  • dependabot/pip/boto3-stubs-1.37.1
  • dependabot/pip/boto3-stubs-1.37.2
  • dependabot/pip/boto3-stubs-1.37.3
  • dependabot/pip/boto3-stubs-1.37.4
  • dependabot/pip/cryptography-44.0.1
  • dependabot/pip/jinja2-3.1.5
  • dependabot/pip/moto-5.0.23
  • dependabot/pip/moto-5.0.24
  • dependabot/pip/moto-5.0.25
  • dependabot/pip/moto-5.0.26
  • dependabot/pip/moto-5.0.27
  • dependabot/pip/moto-5.0.28
  • dependabot/pip/mypy-1.14.0
  • dependabot/pip/mypy-1.14.1
  • dependabot/pip/mypy-1.15.0
  • dependabot/pip/pre-commit-4.1.0
  • dependabot/pip/pytest-8.3.4
  • dependabot/pip/ruff-0.8.1
  • dependabot/pip/ruff-0.8.2
  • dependabot/pip/ruff-0.8.3
  • dependabot/pip/ruff-0.8.4
  • dependabot/pip/ruff-0.8.5
  • dependabot/pip/ruff-0.8.6
  • dependabot/pip/ruff-0.9.0
  • dependabot/pip/ruff-0.9.1
  • dependabot/pip/ruff-0.9.2
  • dependabot/pip/ruff-0.9.3
  • dependabot/pip/ruff-0.9.4
  • dependabot/pip/ruff-0.9.5
  • dependabot/pip/ruff-0.9.6
  • dependabot/pip/ruff-0.9.7
  • dependabot/pip/ruff-0.9.8
  • dependabot/pip/ruff-0.9.9
  • dependabot/pip/sentry-sdk-2.19.0
  • dependabot/pip/sentry-sdk-2.19.1
  • dependabot/pip/sentry-sdk-2.19.2
  • dependabot/pip/sentry-sdk-2.20.0
  • dependabot/pip/sentry-sdk-2.22.0
  • infra-flow
  • main
  • ocw-mapping-fix
  • refactor-cli-options
  • support-for-dynamodb
  • workaround

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

Relevant lines Covered
Build:
Build:
1112 RELEVANT LINES 1059 COVERED LINES
0.95 HITS PER LINE
Source Files on IN-1512-report-on-failures-during-batch-creation
  • Tree
  • List 18
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
18541989464 IN-1512-report-on-failures-during-batch-creation 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... push 15 Oct 2025 08:39PM UTC jonavellecuerdo github
95.23
18541962066 IN-1512-report-on-failures-during-batch-creation 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... push 15 Oct 2025 08:38PM UTC jonavellecuerdo github
95.45
18538367393 IN-1512-report-on-failures-during-batch-creation [wip] update report push 15 Oct 2025 06:13PM UTC jonavellecuerdo github
94.82
18537757420 IN-1512-report-on-failures-during-batch-creation [wip] push 15 Oct 2025 05:47PM UTC jonavellecuerdo github
95.5
See All Builds (510)

Badge your Repo: dspace-submission-composer

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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

© 2025 Coveralls, Inc