Repository navigation
ci(trivy): report dev image scans and stop prerelease uploads - #4971
Merged
Merged
Conversation
SDAChess
requested review from
a team,
derekwaynecarr,
mrunalp and
sjenning
as code owners
October 27, 2026 11:34
|
🌿 Preview your docs: https://nvidia-preview-pr-4971.docs.buildwithfern.com/openshell |
Compatibility review (advisory)New or updated breaking changes; see the full report for all findings. 1. configuration — No explicit risk acceptance foundTrivy Scan previously published image SARIF with upload-sarif enabled alone; it now omits image analyses unless the new release-lane input is nonempty.
Review details
Advisory review; publication gates are unchanged. |
|
This pull request has had no activity for 14 days and is now marked stale. |
SDAChess
force-pushed
the
ci/trivy-stable-alert-lanes/SDAChess
branch
from
November 26, 2026 13:24
f371842 to
be6288e
Compare
alangou
previously approved these changes
Nov 26, 2026
Prerelease scans tagged each image analysis with a per-SHA category on a tag ref, so findings never closed and nothing reached the main alert list. Scan the published :dev images from Release Dev and report them on main. Fixed image references keep each Code Scanning category stable, so every scan replaces the previous one and fixed findings close. The configuration and Helm chart scan rides along under its existing category. Prereleases still run Trivy, but only as an informational check: findings never fail qualification and results are no longer uploaded. Signed-off-by: Simon Scatton <sscatton@nvidia.com>
SDAChess
force-pushed
the
ci/trivy-stable-alert-lanes/SDAChess
branch
from
November 26, 2026 13:29
be6288e to
29249e4
Compare
Scan the floating 0.0.0-dev gateway and workspace charts alongside the dev images, so packaged chart findings also track the current dev build on main. Signed-off-by: Simon Scatton <sscatton@nvidia.com>
Signed-off-by: Simon Scatton <sscatton@nvidia.com>
alangou
approved these changes
Nov 26, 2026
SDAChess
enabled auto-merge
November 26, 2026 13:36
SDAChess
disabled auto-merge
November 26, 2026 13:36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Report Trivy findings for the published
:devimages onmain, so alerts track the current dev build and close once fixed. Prereleases keep scanning as an informational check but stop uploading.Related Issue
No issue; prerelease scans upload under per-SHA categories on tag refs, so their findings never close and never reach the
mainalert list.Changes
Scan Dev Images and Chartsjob to Release Dev after the:devimage and chart promotion. Floatingquay.io/ai-openshell/*:devimages andcharts/{openshell,openshell-workspace}:0.0.0-devcharts keep each category stable, and the existing config/Helm category rides along.fail-on-findings: falseandupload-sarif: false; findings stay in the job summary and report artifact.After merge, the stale
image-*-dev-*analyses onmainfrom the oldghcr.io/nvidiascan will be deleted;trivy/configis left for the first dev scan to reconcile.Release Notes
Testing
trivy-scan.sh configagainst both published0.0.0-devcharts.Checklist