GeezerVison is showing github.com — ROX-37938: [Backport] Drop always-on 4.10+ sensor capability checks by clickboo · Pull Request #24025 · stackrox/stackrox
Conversation
clickboo
commented
Nov 12, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Description
Manual backport of #23933 to release-4.10.
Central no longer branches on always-on 4.10+ sensor capabilities:
SensorDetectionCap — always sync policies and process/network baselines
PullTelemetryDataCap / PullMetricsCap — always pull diagnostics telemetry and metrics
HealthMonitoringCap — rely on the cluster health pipeline for active sensors
NetworkGraphExternalSrcsCap — always push custom external network entities
AuditLogEventsCap — always sync audit log file state
SendDeduperStateOnReconnect — always send hash/deduper state; Sensor still honors Central's SendDeduperState preference
SensorACKSupport stays gated.
Scan-config sync on this branch still uses GetCluster, so the connection test expects three GetCluster calls. Master checks existence with Exists. The deduper-state assertion keeps this file's hash copy loop.
This change was partially generated by AI.
User-facing documentation
Testing and quality
- the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
- CI results are inspected
Automated testing
Updated Central connection tests that previously mocked missing wave-2 capabilities. Diagnostics tests no longer stub HasCapability for telemetry/metrics pull.
- added unit tests
- added e2e tests
- added regression tests
- added compatibility tests
- modified existing tests
How I validated my change
CI only
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Images are ready for the commit at 1fb096c.
To use with deploy scripts, first export MAIN_IMAGE_TAG=4.10.12-rc.0-8-g1fb096ccbf.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
❌ Patch coverage is 48.14815% with 28 lines in your changes missing coverage. Please review.
✅ Project coverage is 49.53%. Comparing base (631c214) to head (1fb096c).
Additional details and impacted files
@@ Coverage Diff @@
## release-4.10 #24025 +/- ##
================================================
+ Coverage 49.51% 49.53% +0.02%
================================================
Files 2663 2663
Lines 201394 201356 -38
================================================
+ Hits 99725 99748 +23
+ Misses 94212 94144 -68
- Partials 7457 7464 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.
🚀 New features to boost your workflow:
- 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.