Skip to content

Conversation

@JPrevost
Copy link
Member

@JPrevost JPrevost commented May 1, 2024

There is no code, only a docs update to provide additional context to an edge case we are now supporting.

@JPrevost JPrevost requested review from jazairi and matt-bernhardt May 1, 2024 16:58
@mitlib mitlib temporarily deployed to thesis-submit-pr-1310 May 1, 2024 16:58 Inactive
@jazairi jazairi self-assigned this May 1, 2024
@coveralls
Copy link

Coverage Status

coverage: 98.313%. remained the same
when pulling 3469cee on bump-publish
into 5aa22e3 on main.

Copy link
Contributor

@jazairi jazairi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you include information about the consequences of publishing the same thesis multiple times? I assume the issue is duplicate DSpace records and/or multiple handles, but it may be useful to explicitly document what the risk is.

README.md Outdated
```

Note: `Pending publication` is allowed here, but not expected to be a normal occurence, to handle the edge case of the app thinking data was sent to SQS but the data not arriving for any reason.
Warning: `Pending publication` is allowed here, but not expected to be a normal occurence, to handle the edge case of the app thinking data was sent to SQS but the data not arriving for any reason. It is possible to send multiple copies of a single thesis to the publishing queue with this feature. Please be sure the SQS queues are fully processed and that you are absolutely confident that sending a `Pending publication` status thesis back into the publishing queue is appropriate. Failure to use care could lead to a single thesis being published more than once, which is bad. This is only a concern specifically for the `Pending publication` and `Publication review` statuses as no other statuses can be sent to the queue with this method.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are the implications of double-publishing? Multiple DSpace records?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ha. Great question and I agree it should be added here for context. I'm not actually even sure what would happen in our app in this situation, but it would definitely involve having the thesis team clean up the extra record. I'll leave this open until I can figure out how best to word the important context here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fwiw, I think it would provide sufficient context to say something like, "which may result in duplicated theses being published and other unexpected consequences." (I don't think we necessarily need to document everything that could go wrong.)

@jazairi
Copy link
Contributor

jazairi commented Mar 14, 2025

@JPrevost I noticed this PR while doing some maintenance and tried to do a bit more wordsmithing. Let me know what you think!

@coveralls
Copy link

Coverage Status

coverage: 98.313%. remained the same
when pulling 75fd595 on bump-publish
into c26476d on main.

Copy link
Member Author

@JPrevost JPrevost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That seems very clear. Thanks for taking the time to explain the situation better!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants