Skip to content

Add query sharding integration test - #16247

Merged
zenador merged 9 commits into
mainfrom
zenador/query-sharding-integration-test-2
Aug 18, 2026
Merged

zenador merged 9 commits into
mainfrom
zenador/query-sharding-integration-test-2

Conversation

@zenador

@zenador zenador commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

What this PR does

Adds an integration test to check that results with and without query sharding (within MQE with remote execution) are the same (along with the annotations).

Vendors changes from prometheus/client_golang#1963, but this is blocked now that main vendors a newer dskit which vendors a newer release of client_golang that doesn't include this change.

Which issue(s) this PR fixes or relates to

N/A

Checklist

  • Tests updated.
  • Documentation added.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]. If changelog entry is not needed, please add the changelog-not-needed label to the PR.
  • about-versioning.md updated with experimental features.

No changelog as it's not user-facing

@zenador
zenador requested review from a team and stevesg as code owners July 28, 2026 02:33
@zenador zenador mentioned this pull request Jul 28, 2026
2 of 4 tasks
Comment thread integration/querier_sharding_test.go
@zenador zenador added the changelog-not-needed PRs that don't need a CHANGELOG.md entry label Jul 28, 2026
Comment thread integration/querier_sharding_test.go
Comment thread integration/querier_sharding_test.go Outdated
Comment thread integration/querier_sharding_test.go Outdated
Comment thread integration/querier_sharding_test.go Outdated
Comment thread integration/querier_sharding_test.go Outdated

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 7ff2840. Configure here.

Comment thread integration/querier_sharding_test.go Outdated
@pitasi

pitasi commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

please rebase this PR on latest main, otherwise it can't merge — it's blocked on required checks that will never report.

context: #16335 changed the unit test CI matrix and the required checks got renamed (test (N, 10) → test (N, 5)). CI runs from before that change only report the old names, so the branch needs to pick up the new workflow from main. sorry for the churn.

@zenador
zenador force-pushed the zenador/query-sharding-integration-test-2 branch 2 times, most recently from dbbc8ff to 99602cd Compare August 13, 2026 14:48
@zenador
zenador force-pushed the zenador/query-sharding-integration-test-2 branch from 99602cd to 7609916 Compare August 13, 2026 15:15

@monoxane monoxane left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@zenador
zenador merged commit 7b00c67 into main Aug 18, 2026
91 checks passed
@zenador
zenador deleted the zenador/query-sharding-integration-test-2 branch August 18, 2026 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-not-needed PRs that don't need a CHANGELOG.md entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants