Repository navigation
fix(ci): allow cold Trivy Java database scans (#62) - #70
Merged
efraespada merged 1 commit intoOct 25, 2026
Merged
efraespada merged 1 commit into
efraespada merged 1 commit into
Conversation
vypbot
self-requested a review
October 25, 2026 08:53
26 tasks done
Bugbot: review complete
|
Copilot approval · Human review neededStatus: This pull request is outside the configured approval scope. Technical evidenceRevision: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #70 +/- ##
==========================================
Coverage 15.33% 15.33%
Complexity 192 192
==========================================
Files 149 149
Lines 16462 16462
Branches 2379 2379
==========================================
Hits 2525 2525
Misses 13834 13834
Partials 103 103 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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
The container security scan in promotion #69 expired while downloading Trivy's Java vulnerability database, before analysis could finish. Give Trivy a 30-minute budget and the complete container job 60 minutes so the existing isolated caches can download their databases and run the full scan.
Related to #62. Follows #68 and unblocks #69.
Change
timeoutinput to30m.The original failure is recorded in Security run 40164041857. The Java DB download alone took 6m32s there. A fresh-cache local reproduction took 22m13s to bootstrap the databases and exceeded an attempted 15-minute scan budget. The database download does not stop immediately when the scan context expires.
Verification
git diff --checkpassed.Review notes
This follow-up uses the same existing branch originally published and verified by the Action for #62. The maintainer authorized fixing any CI failure before completing the develop-to-master promotion. This is a bounded execution-time correction for the complete scan.
Reference: the Trivy troubleshooting guide recommends increasing the scan timeout when analysis reaches its deadline; the action exposes a timeout input.