Skip to content

Conversation

@rmfleet
Copy link
Contributor

@rmfleet rmfleet commented May 24, 2025

Relates to issue #2585
Relates to issue #1633

where the container image platform architecture doesn't match and a local image is being used, leading to the code then attempting to fetch remotely.

This can be confusing as no error is provided about the mismatched architecture and if no remote image exists, the run fails.

Added info logging to indicate that the platforms do not match as a hint.

@rmfleet rmfleet requested a review from panekj June 15, 2025 12:42
@codecov
Copy link

codecov bot commented Jun 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.77%. Comparing base (bd4bc99) to head (9565d86).
Report is 14 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3225      +/-   ##
==========================================
+ Coverage   74.65%   74.77%   +0.11%     
==========================================
  Files          73       73              
  Lines       11139    11190      +51     
==========================================
+ Hits         8316     8367      +51     
- Misses       2186     2187       +1     
+ Partials      637      636       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mergify mergify bot merged commit 0bc47ae into nektos:master Jun 19, 2025
12 checks passed
project-mirrors-bot-tu bot pushed a commit to project-mirrors/forgejo-runner that referenced this pull request Aug 7, 2025
Refs nektos/act#3225

---

* added info log when container image platform mismatched

* inline image architecture comparison into ImageExistsLocally function as per review request

(cherry picked from commit 77d31c96a9486553908fdeb1c3053015238d5a0a)

<!--start release-notes-assistant-->
<!--URL:https://code.forgejo.org/forgejo/runner-->
- features
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/826): <!--number 826 --><!--line 0 --><!--description ZmVhdDogYWRkZWQgaW5mbyBsb2cgd2hlbiBjb250YWluZXIgaW1hZ2UgcGxhdGZvcm0gbWlzbWF0Y2hlZA==-->feat: added info log when container image platform mismatched<!--description-->
<!--end release-notes-assistant-->

Co-authored-by: Ryan Fleet <[email protected]>
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/826
Reviewed-by: Mathieu Fenniak <[email protected]>
Co-authored-by: Earl Warren <[email protected]>
Co-committed-by: Earl Warren <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants