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

6672-Fix Workflow Resume #7521

Conversation

qqmyers
Copy link
Member

@qqmyers qqmyers commented Jan 21, 2021

What this PR does / why we need it: This fixes a bug introduced in 2018 :-) that resulted in different workflow Ids being recorded in the db and log (and presumably sent the an external client with the https/r workflow step), making it 'hard' to resume the workflow and, for prepublish workflows to then finalize publication. (Things worked if you could get the correct invocationid from the database).

Which issue(s) this PR closes:

Closes #6672

Special notes for your reviewer:

Suggestions on how to test this: Set up and running a workflow including the pause step. You should then be able to post a success/fail message and have it work. All per Guides instruction. Note that one can test the combo of this and #7519 by setting this up a pre-publication workflow. This fix will allow you to unpause the workflow and #7519 will assure that publication is not finalized until after you do.

Does this PR introduce a user interface change? If mockups are available, please link/include them here: no

Is there a release notes update needed for this change?:

Additional documentation:

Copy link
Contributor

@scolapasta scolapasta left a comment

Choose a reason for hiding this comment

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

Looks good!

@scolapasta scolapasta removed their assignment Jan 21, 2021
@kcondon kcondon self-assigned this Jan 21, 2021
@kcondon kcondon merged commit 492a651 into IQSS:develop Jan 21, 2021
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.001%) to 19.622% when pulling 7a04ae3 on GlobalDataverseCommunityConsortium:IQSS/6672-fix_workflow_resume into bd91444 on IQSS:develop.

@djbrooke djbrooke added this to the 5.4 milestone Jan 21, 2021
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.

Unable to resume a "Paused" workflow
5 participants