Closed sallain closed 1 week ago
This is now working on this MR: https://github.com/artefactual-sdps/enduro-sfa/pull/2
More specifically this two commits: https://github.com/artefactual-sdps/enduro-sfa/pull/2/commits/ff8c353f63800f2d04b4c5a92b72341ed6a11a27 https://github.com/artefactual-sdps/enduro-sfa/pull/2/commits/3823cf020b69d4fdc641a5d0c6fab193285348b1
When the transfer fails at any point in the pre-processing
step the original transfer will be copied to a failed-transfers
bucket. If the SIP
is created correctly but it fails at any point in the ingest process it will be sent to a failed-sips
bucket.
@DanielCosme you can use github keywords to link issues and PRs - note that using fixes
or closes
will close the issue when the PR is merged, which is kinda nice.
@sallain A few notes/questions about this issue:
@jraddaoui responses!
Thanks @sallain:
@DanielCosme is this issue closed?
Note: this work is on a branch that has been deployed for testing. Issue will remain open until merged into main.
I have updated the WIP branch with:
accessKey
and secretKey
for bucket configuration (re: #1017).Initial implementation has been merged in main. Failed buckets are set up through configuration, we may revisit this in the future to see if we move it to a new type(s) of location in the storage service layer.
Looks like this is working as expected!
Is your feature request related to a problem? Please describe.
When transfers or SIPs fail, the package remains in its current location. If there are many packages, it takes time to locate the failure. Moving the package to a separate location makes it easier for users to see which packages have failed so that they can be fixed.
Describe the solution you'd like
When a transfer fails in pre-processing, move it to a "failed transfer" location (name tbd.)
When a SIP fails during ingest, in either Archivematica or a3m, move it to a "failed SIP" location (name tbd).
The workflow should look something like this, with details to be discussed:
Some sort of user notification should also be present in Enduro (maybe this is a second phase of work) - even just adding the path to the Location column on the Packages tab in Enduro would be helpful.
Describe alternatives you've considered
None
Additional context
Add any other context or screenshots about the feature request here.