Skip to content

Fix pending image scheduling to favor least-progressed scans#2153

Merged
nichtsfrei merged 1 commit intomainfrom
choose-images-based-on-woot
Mar 10, 2026
Merged

Fix pending image scheduling to favor least-progressed scans#2153
nichtsfrei merged 1 commit intomainfrom
choose-images-based-on-woot

Conversation

@nichtsfrei
Copy link
Member

Previously, pending image downloads were selected in FIFO order, which could favor already running scans when multiple scans were started.

Change the SQLite pending-image query to order by host_finished so images from the least-progressed scans are picked first. This makes image scheduling fairer across concurrent scans.

@nichtsfrei nichtsfrei requested a review from a team as a code owner March 10, 2026 07:28
@github-actions
Copy link

github-actions bot commented Mar 10, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA ea5ac80.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

Previously, pending image downloads were selected in FIFO order, which
could favor already running scans when multiple scans were started.

Change the SQLite pending-image query to order by host_finished so
images from the least-progressed scans are picked first. This makes
image scheduling fairer across concurrent scans.
@nichtsfrei nichtsfrei force-pushed the choose-images-based-on-woot branch from eb44241 to ea5ac80 Compare March 10, 2026 07:35
@github-actions github-actions bot added the patch_release creates a patch release label Mar 10, 2026
@nichtsfrei nichtsfrei merged commit c693fe3 into main Mar 10, 2026
79 of 97 checks passed
@nichtsfrei nichtsfrei deleted the choose-images-based-on-woot branch March 10, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch_release creates a patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants