Repository navigation
ROX-37158: rename workload type exclusion to kind - #23242
Conversation
…en terminology over Type Co-authored-by: Cursor <cursoragent@cursor.com>
|
Skipping CI for Draft Pull Request. |
🚀 Build Images ReadyImages are ready for commit c099890. To use with deploy scripts: export MAIN_IMAGE_TAG=5.1.x-171-gc0998905a7 |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (5)
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThe workload exclusion feature flag and Sensor capability were renamed from workload type to workload kind. End-to-end environment setup now uses the renamed flag. ChangesWorkload Kind Exclusion
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Refactor Suggested reviewers: Merge Risk: ⚪ Minimal · up to No actionable merge-blocking risk is established by the reviewed changes. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #23242 +/- ##
==========================================
- Coverage 51.97% 51.94% -0.03%
==========================================
Files 2908 2908
Lines 183034 183034
==========================================
- Hits 95123 95070 -53
- Misses 79587 79624 +37
- Partials 8324 8340 +16
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Description
Renames the workload exclusion feature flag and Sensor capability from Type to Kind. The exclusion applies to Kubernetes kinds (Job, CronJob), and Kind is the chosen term.
ROX_POLICY_WORKLOAD_TYPE_EXCLUSION→ROX_POLICY_WORKLOAD_KIND_EXCLUSIONPolicyWorkloadTypeExclusion→PolicyWorkloadKindExclusionWorkloadTypeExclusion→WorkloadKindExclusionThe flag is still off by default, so the capability string change does not affect released Sensors.
Follow-up stack PRs (#22961–#22965) still use Type in proto, validation, sync, UI, and e2e names.
User-facing documentation
Testing and quality
Automated testing
How I validated my change
Rename only. The flag remains off by default. CI covers compilation of the renamed identifiers.
Made with Cursor