Repository navigation
fix: anchor MIG resource pattern matching - #1807
Merged
Merged
Conversation
raglin
force-pushed
the
fix/mig-pattern-anchoring
branch
from
May 26, 2026 11:50
72430be to
723d36e
Compare
|
@tariq1890 / @cdesiniotis will you be able to review this ? |
Contributor
|
Thank you @raglin for your patience. Let's address the following:
|
raglin
force-pushed
the
fix/mig-pattern-anchoring
branch
3 times, most recently
from
June 22, 2026 13:18
cd6c91b to
2942197
Compare
Contributor
Author
|
Thanks for the feedback @tariq1890 |
|
Hi @tariq1890 / @cdesiniotis |
Contributor
|
/ok to test 80d5937 |
tariq1890
enabled auto-merge (squash)
August 19, 2026 13:50
tariq1890
approved these changes
Aug 19, 2026
tariq1890
disabled auto-merge
August 19, 2026 14:18
The wildCardToRegexp function did not anchor patterns with ^ and $, causing patterns like '1g.24gb' to match '1g.24gb-me' via substring. This prevented the mixed MIG strategy from distinguishing profiles with suffixes (-me, +me.all, +gfx) as separate Kubernetes resources. Signed-off-by: Raglin Anthony <raglinanthony@gmail.com>
tariq1890
force-pushed
the
fix/mig-pattern-anchoring
branch
from
August 19, 2026 14:26
80d5937 to
e515bd1
Compare
Contributor
|
/ok to test e515bd1 |
tariq1890
enabled auto-merge (squash)
August 19, 2026 14:27
Contributor
|
Thank you very much for your contribution @raglin ! |
1 task
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The wildCardToRegexp function did not anchor patterns with ^ and $, causing patterns like '1g.24gb' to match '1g.24gb-me' via substring. This prevented the mixed MIG strategy from distinguishing profiles with suffixes (-me, +me.all, +gfx) as separate Kubernetes resources
Fixes #1462