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

Test server support for Nexus operation complete before start #2348

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

pdoerner
Copy link
Contributor

What was changed

Added support to the test server for completing Nexus operations before the start response is received.

@pdoerner pdoerner marked this pull request as ready for review December 13, 2024 20:27
@pdoerner pdoerner requested a review from a team as a code owner December 13, 2024 20:27
Copy link
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.

LGTM but I'm not super familiar with this codebase. Will defer to @Quinn-With-Two-Ns for approval.

ctx -> {
StateMachine<NexusOperationData> operation =
getPendingNexusOperation(ref.getScheduledEventId());
if (operation.getState() == State.INITIATED) {
Copy link
Member

Choose a reason for hiding this comment

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

To save me from reading, does this cover when the activity is backing off and scheduled?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it goes back to INITIATED when backing off.

@Quinn-With-Two-Ns Quinn-With-Two-Ns force-pushed the test-server-nexus-complete-before-start branch from 4b284ce to 6549d8c Compare January 7, 2025 17:30
@Quinn-With-Two-Ns
Copy link
Contributor

@pdoerner is this good to merge?

@pdoerner pdoerner merged commit cf06131 into master Jan 8, 2025
11 checks passed
@pdoerner pdoerner deleted the test-server-nexus-complete-before-start branch January 8, 2025 14:56
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