ROX-33635: Delete ROX_BASE_IMAGE_DETECTION in ui by pedrottimark · Pull Request #19467 · stackrox/stackrox

Description

Thank you, J. Victor for confirmation:

I doesn't depend on V4.

Review: Hide space because indentation changes.

Feature flag was enabled for 4.10 release on 2026-02-03 in #18809

https://github.com/stackrox/stackrox/tree/master/ui/apps/platform#delete-a-feature-flag-from-frontend-code

Analysis

Find in Files ROX_BASE_IMAGE_DETECTION has 10 results in 9 files.

Solution

Some conditional logic depended only on 'ROX_BASE_IMAGE_DETECTION' but also needed 'ROX_SCANNER_V4' therefore I replaced instead of deleted.

User-facing documentation

  • CHANGELOG.md update is not needed
  • documentation PR is not needed

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

  • edited unit tests
  • edited e2e tests
  • added regression tests
  • added compatibility tests
  • modified existing tests

How I validated my change

  1. npm run tsc in ui/apps/platform folder.
  2. npm run lint:fast-dev in ui/apps/platform folder.
  3. npm run start in ui/apps/platform folder with staging demo as central.

Manual testing

  1. Visit /main/vulnerabilities/inactive-images click Images toggle, filter Image component Layer type Base image and click an image link, and then expand Base image assessment

    See gray label that does not have link
    Base_image_assessment

    Expand vulnerability to see Layer type column in component table
    Layer_type

  2. Visit /main/base-images
    Base_Images