Skip to content

ROX-19064: Scanner V4 CI Wait for Vulns to Load (readiness version)#19930

Open
dcaravel wants to merge 1 commit intomasterfrom
dc/scan4-wait-vulns-probe
Open

ROX-19064: Scanner V4 CI Wait for Vulns to Load (readiness version)#19930
dcaravel wants to merge 1 commit intomasterfrom
dc/scan4-wait-vulns-probe

Conversation

@dcaravel
Copy link
Copy Markdown
Contributor

@dcaravel dcaravel commented Apr 10, 2026

Description

Alternative to: #19836 (only one is needed)

Adds the rails for CI jobs to wait for vuln loads to finish before starting tests.

This PR modifies Scanner V4 Matcher behavior such that the pod will not become ready until vulns fully loaded by default. Jobs that do not want this behavior must explicitly set SCANNER_V4_VULN_READINESS to false (assumes the majority of jobs will want this behavior once Scanner V4 is enabled for all)

Prior to polling the available storage classes are listed for the cluster to assist troubleshooting if loads are slow (to verify if the DB PVC is using an SSD), additionally each poll dumps the current top pods cpu/mem consumption to assist in troubleshooting/measuring (as needed).

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

  • modified existing tests

How I validated my change

CI

@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Apr 10, 2026

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

@dcaravel
Copy link
Copy Markdown
Contributor Author

/test all

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 10, 2026

🚀 Build Images Ready

Images are ready for commit 9ad24ea. To use with deploy scripts:

export MAIN_IMAGE_TAG=4.11.x-614-g9ad24eac34

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.56%. Comparing base (2bc78b8) to head (9ad24ea).
⚠️ Report is 14 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #19930   +/-   ##
=======================================
  Coverage   49.55%   49.56%           
=======================================
  Files        2764     2764           
  Lines      208346   208346           
=======================================
+ Hits       103254   103265   +11     
+ Misses      97437    97428    -9     
+ Partials     7655     7653    -2     
Flag Coverage Δ
go-unit-tests 49.56% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

@dcaravel dcaravel marked this pull request as ready for review April 10, 2026 21:54
@dcaravel dcaravel requested review from a team and jvdm April 10, 2026 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant