Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating attributes causes permanent failures when jobs get automatically resubmitted #6842

Open
laritakr opened this issue Jun 21, 2024 · 0 comments
Labels

Comments

@laritakr
Copy link
Contributor

laritakr commented Jun 21, 2024

Descriptive summary

If Create Work Job fails and reschedules itself, it gets rescheduled with missing attributes because the attributes were modified by the following method.

https://github.com/samvera/hyrax/blob/main/app/jobs/create_work_job.rb#L41-L56

A job that gets auto-restarted should have the same parameters as the original job.

Related work

Link to related issues or prior related work here.

@laritakr laritakr added the bug label Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant