-
Notifications
You must be signed in to change notification settings - Fork 168
ROX-31406: Update just the broken default categories #18046
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
ROX-31406: Update just the broken default categories #18046
Conversation
|
This change is part of the following stack: Change managed by git-spice. |
|
Skipping CI for Draft Pull Request. |
|
Images are ready for the commit at 32eb261. To use with deploy scripts, first |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## ajheflin/revert-ed9c7ab230 #18046 +/- ##
==============================================================
- Coverage 49.37% 49.36% -0.01%
==============================================================
Files 2698 2698
Lines 198848 198879 +31
==============================================================
+ Hits 98177 98180 +3
- Misses 93052 93080 +28
Partials 7619 7619
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
clickboo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left a comment
|
The backport to To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-release-4.8 release-4.8
# Navigate to the new working tree
cd .worktrees/backport-release-4.8
# Create a new branch
git switch --create backport-18046-to-release-4.8
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 3cb8d2dea48d36c7e4e8de29840a91696a0f58bb
# Push it to GitHub
git push --set-upstream origin backport-18046-to-release-4.8
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-release-4.8Then, create a pull request where the |
| panic(err) | ||
| } | ||
|
|
||
| // ROX-31406: Fix categories that were impacted by previous bug |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably going to want a few more words than that to simplify life for future maintainers
Description
This is a fix for what was originally in #17804 that is less invasive, so that it only updates default policy categories that were broken, not any user-created ones.
User-facing documentation
Testing and quality
Automated testing
How I validated my change
Worked in a cluster when tested. Removed
Docker CisandDevops Best Practices.Before changes (Using
4.10.x-nightly-20251028):After changes:
The two extra rows in the first query are the duplicate categories that have no policies in them, as you can see in the second query they're now the only category that exists as the "Incorrect" ones are gone