Fix CachedResources flakes#4037
Open
mjudeikis wants to merge 4 commits intokcp-dev:mainfrom
Open
Conversation
Contributor
|
Skipping CI for Draft Pull Request. |
Contributor
Author
|
/test all |
Contributor
Author
|
/test all |
Contributor
Author
|
/test all |
Contributor
Author
|
/retest |
Contributor
Author
|
/test all |
Signed-off-by: Mangirdas Judeikis <mangirdas@judeikis.lt>
This reverts commit cbec4af.
eb7d830 to
418afe8
Compare
gman0
reviewed
Apr 16, 2026
mjudeikis
commented
Apr 16, 2026
da0da5c to
11ad745
Compare
Contributor
Author
|
/test all |
1 similar comment
Contributor
Author
|
/test all |
Contributor
Author
|
/test all |
Contributor
|
/approve |
Contributor
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: xrstf The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Contributor
|
@xrstf wait, i think this might need a closer look. /hold |
Contributor
|
/lgtm cancel oops, sorry. |
Contributor
|
Will check again today. |
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.
Summary
In general, failures with cached resources were due to multiple tests using the same GK (not GVR), which caused shared informers to get confused. We were getting errors as the wrong schema was being picked up (kcp logs shows "missing namespace on schema" errors). To make it worse, other GVR running in parallel tests were in namespaces. So we had a namespace vs cluster scope clash.
I will create a follow-up issue as we have to move more of those to identity-based indexing as its an issue not only for cached resources but in general.
What Type of PR Is This?
/kind bug
/kind cleanup
Related Issue(s)
Fixes #
Release Notes