Skip to content

Move Nexus operation token generation outside of callback conditional#2009

Merged
pdoerner merged 1 commit intomasterfrom
nexus-workflow-run-token-fix
Aug 5, 2025
Merged

Move Nexus operation token generation outside of callback conditional#2009
pdoerner merged 1 commit intomasterfrom
nexus-workflow-run-token-fix

Conversation

@pdoerner
Copy link
Copy Markdown
Contributor

What was changed

Moved Nexus operation token generation outside the conditional the checks whether a callback URL has been set.

Why?

Callbacks are optional in the Nexus protocol and many non-workflow callers will start operations without them but still need to get the operation token.

@pdoerner pdoerner requested a review from a team as a code owner July 31, 2025 21:46
@pdoerner pdoerner requested a review from bergundy July 31, 2025 21:46
Copy link
Copy Markdown
Member

@bergundy bergundy left a comment

Choose a reason for hiding this comment

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

Thanks! No reason why the code was in the conditional.

@pdoerner pdoerner enabled auto-merge (squash) August 5, 2025 16:17
@pdoerner pdoerner merged commit 4026e02 into master Aug 5, 2025
29 of 30 checks passed
@pdoerner pdoerner deleted the nexus-workflow-run-token-fix branch August 5, 2025 16:35
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.

3 participants