Skip to content

fix(ci): bump codacy/base orb to 10.1.1 (fixes invalid machine image) - #89

Open
ahmedsamer wants to merge 1 commit into
codacy:masterfrom
ahmedsamer:fix/circleci-codacy-orb-image
Open

fix(ci): bump codacy/base orb to 10.1.1 (fixes invalid machine image)#89
ahmedsamer wants to merge 1 commit into
codacy:masterfrom
ahmedsamer:fix/circleci-codacy-orb-image

Conversation

@ahmedsamer

@ahmedsamer ahmedsamer commented Jul 20, 2026

Copy link
Copy Markdown

Problem

The CircleCI ci workflow fails at the tag_version job with:

Job was rejected because resource class large, image ubuntu-2004:202107-02 is not a valid resource class

This has been blocking all releases since January 2024. There are currently 4 commits on master that haven't shipped:

Commit Date Description
3d8e868 2026-04-17 Security: pin GitHub Actions to SHA hashes
2a0b7f0 2026-03-19 bump: upgrade go version to 1.24.13
ca82207 2025-10-31 bump: upgrade golang version to 1.24.9
858e94b 2025-04-29 fix: use only one linux binary

Root Cause

The tag_version and tag_version_latest jobs come from the Codacy orb (codacy/base@9.3.5). The orb's machine executor hard-codes the deprecated machine image ubuntu-2004:202107-02, which CircleCI no longer accepts. The job exposes no image/executor/resource_class parameter, so it cannot be overridden from the workflow — the orb itself must be bumped.

Version-by-Version Image Trace

Orb Version Machine Image Status
9.3.5 ubuntu-2004:202107-02 ❌ Broken
9.3.6 ubuntu-2004:202107-02 ❌ Broken
10.0.x ubuntu-2004:202107-02 ❌ Broken
10.1.0 ubuntu-2004:202107-02 ❌ Broken
10.1.1 (published 2023-01-31) ubuntu-2004:2022.10.1 First fixed version
13.1.1 (latest) ubuntu-2004:2024.08.1 ✅ Works

Fix

Bump the orb to codacy/base@10.1.1 — the minimal, lowest-risk fix that stays within the same major version and only changes the machine image.

Non-Blocking Note

The build job uses cimg/go:1.24 while the publish job uses cimg/go:1.19. This inconsistency is unrelated to this fix and left unchanged.

codacy/base@9.3.5 pins the deprecated machine image ubuntu-2004:202107-02,
which CircleCI now rejects, failing the tag_version job. 10.1.1 is the first
orb release that updates the machine executor to a supported image.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request updates the codacy/base orb version from 9.3.5 to 10.1.1 in the CircleCI configuration file. There are no review comments, and I have no additional feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@codacy-production codacy-production Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

The PR updates the codacy/base orb from version 9.3.5 to 10.1.1 to resolve a CI failure in the tag_version job caused by a deprecated machine image. Codacy results indicate the configuration is up to standards, and no new quality issues or security vulnerabilities were introduced. While the configuration change correctly implements the requested update, the actual resolution of the CI failure remains to be verified through job execution.

Test suggestions

  • Verify CircleCI configuration syntax validity after orb version bump
  • Execution of the tag_version job using the new orb version
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify CircleCI configuration syntax validity after orb version bump
2. Execution of the tag_version job using the new orb version

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

@ahmedsamer

ahmedsamer commented Jul 29, 2026

Copy link
Copy Markdown
Author

Hi @afsmeira @jorgebraz — this PR fixes the broken tag_version job that's been blocking releases since January 2024. The fix is a single-line orb version bump and all checks pass.

Would appreciate a review when you have a chance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant