-
Notifications
You must be signed in to change notification settings - Fork 15
RC dry-run test fixes: QAN search race + RC CLI version resolution #1184
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
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
b8f0b9b
Resolve RC client version from server_version, not v3 VERSION
claude d7b0626
Gate MongoDB Unused Indexes dashboard test to PMM 3.10.0+
claude 2235a84
Gate 3.10.0-only e2e specs against older RC images
claude 9d27f14
Fix PMM-T2227 tarball-upgrade version assertion
claude caab41d
Inline version gate helper and trim comments
claude 5354cab
Fail closed when the upgrade version lookup fails
claude 52d7779
Detect PMM version from the server API, not DOCKER_VERSION
claude 4e36b42
Gate version-specific specs with a min-pmm-version annotation
claude e2bd71e
Move version gates to a central registry, off the tests
claude 58f6747
Gate PMM-T2268 QAN URL-state test to PMM 3.10.0+
claude File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| export const serverVersionBelow = ( | ||
| version: { major: number; minor: number; patch: number }, | ||
| minVersion: string, | ||
| ): boolean => { | ||
| const [major, minor, patch] = minVersion.split('.').map(Number); | ||
| if (version.major !== major) return version.major < major; | ||
| if (version.minor !== minor) return version.minor < minor; | ||
|
|
||
| return version.patch < patch; | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| // Specs keyed by their PMM-T id skip when the running server is below this version. | ||
| export const minPmmVersion: Record<string, string> = { | ||
| 'PMM-T2202': '3.10.0', | ||
| 'PMM-T2262': '3.10.0', | ||
| 'PMM-T2263': '3.10.0', | ||
| 'PMM-T2265': '3.10.0', | ||
| 'PMM-T2266': '3.10.0', | ||
| 'PMM-T2267': '3.10.0', | ||
| 'PMM-T2268': '3.10.0', | ||
| }; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.