Skip to content

ROX-33582: retry kind load image#19456

Merged
janisz merged 1 commit intomasterfrom
ROX-33582
Mar 17, 2026
Merged

ROX-33582: retry kind load image#19456
janisz merged 1 commit intomasterfrom
ROX-33582

Conversation

@janisz
Copy link
Contributor

@janisz janisz commented Mar 17, 2026

Description

Loading images from quay may fail, let's retry it to prevent failures.

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

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

How I validated my change

CI

Signed-off-by: Tomasz Janiszewski <tomek@redhat.com>
@janisz janisz requested a review from a team as a code owner March 17, 2026 12:05
Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've left some high level feedback:

  • The retry 5 true docker exec ... invocation looks suspicious—if retry expects the retry count as the first argument and the command as the rest, you probably want retry 5 docker exec ... (or whatever the expected signature is) rather than passing an extra true argument.
  • Sourcing scripts/lib.sh in the run step assumes a Bash-compatible shell; consider explicitly setting shell: bash on this step or confirming the default shell is compatible to avoid subtle failures.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The `retry 5 true docker exec ...` invocation looks suspicious—if `retry` expects the retry count as the first argument and the command as the rest, you probably want `retry 5 docker exec ...` (or whatever the expected signature is) rather than passing an extra `true` argument.
- Sourcing `scripts/lib.sh` in the `run` step assumes a Bash-compatible shell; consider explicitly setting `shell: bash` on this step or confirming the default shell is compatible to avoid subtle failures.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@rhacs-bot
Copy link
Contributor

Images are ready for the commit at 2527489.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.11.x-344-g2527489e2d.

@codecov
Copy link

codecov bot commented Mar 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.37%. Comparing base (2654a0e) to head (2527489).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #19456      +/-   ##
==========================================
- Coverage   49.37%   49.37%   -0.01%     
==========================================
  Files        2713     2713              
  Lines      204977   204977              
==========================================
- Hits       101207   101202       -5     
- Misses      96242    96245       +3     
- Partials     7528     7530       +2     
Flag Coverage Δ
go-unit-tests 49.37% <ø> (-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.

@janisz janisz merged commit 130624c into master Mar 17, 2026
88 of 89 checks passed
@janisz janisz deleted the ROX-33582 branch March 17, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants