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

functional tests testing queries + nexus tasks with versioning-3 #7015

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Shivs11
Copy link
Member

@Shivs11 Shivs11 commented Dec 19, 2024

What changed?

  • various functional tests (sticky, no-sticky) testing Query + Nexus tasks routing with versioning-3
  • refactored taskPoller to now consider query and nexus tasks

Why?

  • more testing

How did you test it?

  • no feature related line changes so N/A

Potential risks

  • none: shall reduce risks if not for anything

Documentation

Is hotfix candidate?

No

@Shivs11 Shivs11 requested a review from a team as a code owner December 19, 2024 19:09
@Shivs11 Shivs11 requested review from ShahabT, carlydf and dnr and removed request for carlydf December 19, 2024 19:09
@@ -361,5 +361,6 @@ func MutableStateToGetResponse(
InheritedBuildId: mutableState.GetInheritedBuildId(),
MostRecentWorkerVersionStamp: mostRecentWorkerVersionStamp,
TransitionHistory: mutableState.GetExecutionInfo().TransitionHistory,
VersioningInfo: mutableState.GetExecutionInfo().VersioningInfo,
Copy link
Member Author

Choose a reason for hiding this comment

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

I think we might have forgotten to add this while making the versioning-3 changes - this is required for query tasks

@@ -239,9 +247,6 @@ func (p *workflowTaskPoller) pollTask(
}

events = history.Events
if len(events) == 0 {
Copy link
Member Author

@Shivs11 Shivs11 Dec 19, 2024

Choose a reason for hiding this comment

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

This required to be removed - I found out that sticky queries do not get sent "partial" histories and are sent empty histories

@Shivs11 Shivs11 changed the title Added functional tests testing queries for versioning-3 functional tests testing queries + nexus tasks with versioning-3 Dec 20, 2024
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.

1 participant