Republish jobs with converted files with file transfer issues and if fails second time report as File transfer Publishing Errors assigned to PMC
Context
BCMS Users frequently report that the content they process gets "stuck," which corresponds to a component getting stuck in an active status in which the user can no longer conduct any action upon it.
Dependencies
This feature extension improves the User experiences once the bug in #1545 (closed) is resolved.
This feature should be looked at the same time and in relation to other file management and processing integration tickets, particularly #1546, #1474 and #1453 and #1628
Proposal
When a converted file is not transferred for loading a preview due to file transfer (FTP or AWS S3) being down, then:
- The BCMS will try to resend the files to NCBI, OR
- The BCMS will try to pick up the files again from NCBI, AND
- If on the second time trying to send or retrieved transferred files fails, THEN
- A "File transfer error" will be reported as a "Publishing errors" in the Errors tab for the component. The user will see status: Publishing Error and details on the Error tab:
Name: File transfer error
Category: File transfer error
Severity: Error
Assignee: PMC
Message: Publishing failed due to converted file transfer error. Please resubmit the file.
Design
N/A
Acceptance criteria
-
User publishes job and converted files never are received by NCBI so hangs as Publishing. BCMS will auto-resend a second time and if the second time fails send a "Publishing error" typed "File transfer error" assigned to PMC to resolve. The error message will read: "Publishing failed due to converted file transfer error. Please resubmit the file." -
User submits job and it is completed by NCBI but BCMS never receives it so it hangs as Publishing. BCMS will try to retrieve the file a second time and if the second time fails send a "Publishing error" typed "File transfer error" assigned to PMC to resolved. The error message will read: "Publishing failed due to converted file transfer error. Please resubmit the file."
Definition of ready
-
BCMS User Story / Context has been well defined -
The priority of the user story is specified and agreed -
Digital assets added (design, database scheme, mockups etc if relevant) -
Coko Technical Proposal approved by NCBI -
Testable Acceptance Criteria approved by NCBI -
Estimate of effort to complete (time or points) -
The issue has been broken down into development tasks (if necessary) -
Requirements Clarified -
The product owner and development team agree that the user story is ready for development -
NCBI adds “Dev_Ready”
Definition of done
-
All coding tasks are finished and implemented -
QA approved -
Deployed and tested on “ncbidev” (by Coko team) -
Deployed and tested on “ncbi” (by NCBI team) -
Acceptance Criteria Met
Implementation
Alternative approaches (if applicable)
Scheduling
-
Milestone is linked -
Iteration is linked -
Dependencies: ("None" or list issue numbers if relevant) -
Development estimate is added to issue time tracking