Skip to content

Conversation

@fbm3307
Copy link
Contributor

@fbm3307 fbm3307 commented Oct 6, 2025

The verify dependencies test case was failing for the PR to remove che related code from api and toolchain-common .
This PR is updating the go dependencies for api and toolchain-common to make sure we are not breaking anything before we merge the api and tc PRs

Related PRs:

Similar PRs:

Summary by CodeRabbit

  • Chores
    • Updated underlying dependencies to newer revisions.
    • Incorporates upstream changes that may influence build-time and transitive runtime behavior without altering app features.
    • No configuration updates or migrations required.
    • No new settings, commands, or UI changes introduced.
    • Existing functionality remains unchanged from an end-user perspective.

@openshift-ci openshift-ci bot requested review from rajivnathan and xcoulon October 6, 2025 06:39
@openshift-ci openshift-ci bot added the approved label Oct 6, 2025
@coderabbitai
Copy link

coderabbitai bot commented Oct 6, 2025

Walkthrough

Updated go.mod to bump two codeready-toolchain dependencies to newer pseudo-versions (commit-based v0.0.0-YYYYMMDDHHMMSS-) in the require block; no API or exported-symbol changes were made.

Changes

Cohort / File(s) Summary
Dependency version bumps
go.mod
Updated require versions: github.com/codeready-toolchain/api from v0.0.0-20250916082953-4ecb3a4645e6 to v0.0.0-20251008084914-06282b83d4cd, and github.com/codeready-toolchain/toolchain-common from v0.0.0-20250916085517-b50328535b99 to v0.0.0-20251006132314-2591ebe0bdb1. No other require or replace directives changed.

Sequence Diagram(s)

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Suggested reviewers

  • rajivnathan
  • alexeykazakov
  • rsoaresd

Poem

I thumped through the mod with a twitch and a hop,
Swapped two little hashes—then I stopped at the top.
Versions refreshed, not a symbol rearranged,
Carrots still build, and the meadow's unchanged. 🥕🐇

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title clearly indicates that the PR updates the API and toolchain-common components to validate removal of the che configuration, which matches the dependency updates in go.mod.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 52377fd and 85cfa60.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • go.mod (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: GolangCI Lint
  • GitHub Check: Test with Coverage
  • GitHub Check: Build & push operator bundles for e2e tests

go.mod Outdated
Comment on lines 132 to 134
replace github.com/codeready-toolchain/api => github.com/fbm3307/toolchainapi v0.0.0-20250924125641-c3fceab9da63

replace github.com/codeready-toolchain/toolchain-common => github.com/fbm3307/toolchain-common v0.0.0-20250923073415-a1ecb04daf74
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

Commit the go.sum updates for these replacements.

The new replace targets introduce fresh module paths, but there’s no matching go.sum update in this PR. On a clean checkout the Go toolchain will rewrite go.sum to add the checksums (and possibly drop the old ones), leaving the tree dirty and breaking any CI step that enforces a clean workspace. Please rerun go mod tidy (or go mod download for the specific versions) and commit the resulting go.sum changes.

🤖 Prompt for AI Agents
In go.mod around lines 132 to 134, you added replace directives pointing to new
module versions but did not update go.sum; run `go mod tidy` (or `go mod
download github.com/fbm3307/[email protected]
github.com/fbm3307/[email protected]`) to
update go.sum and then commit the updated go.sum so the workspace remains clean
for CI.

@codecov
Copy link

codecov bot commented Oct 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.81%. Comparing base (1695608) to head (1bb4203).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #705   +/-   ##
=======================================
  Coverage   80.81%   80.81%           
=======================================
  Files          48       48           
  Lines        4478     4478           
=======================================
  Hits         3619     3619           
  Misses        698      698           
  Partials      161      161           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: Feny Mehta <[email protected]>
@openshift-ci
Copy link

openshift-ci bot commented Oct 7, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fbm3307, MatousJobanek

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [MatousJobanek,fbm3307]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Signed-off-by: Feny Mehta <[email protected]>
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 85cfa60 and bb9c6b1.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • go.mod (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: GolangCI Lint
  • GitHub Check: Build & push operator bundles for e2e tests
  • GitHub Check: Test with Coverage

Comment on lines +4 to +5
github.com/codeready-toolchain/api v0.0.0-20251008084914-06282b83d4cd
github.com/codeready-toolchain/toolchain-common v0.0.0-20251006132314-2591ebe0bdb1
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

Commit the go.sum refresh for the bumped modules.

These new pseudo-versions need matching checksums in go.sum. On a clean checkout go build/go test will rewrite go.sum, leaving the workspace dirty and failing CI cleanliness gates. Please rerun go mod tidy (or go mod download github.com/codeready-toolchain/[email protected] github.com/codeready-toolchain/[email protected]) and commit the resulting go.sum changes.

🤖 Prompt for AI Agents
In go.mod around lines 4 to 5, the bumped pseudo-versions lack corresponding
checksums in go.sum; run `go mod tidy` (or `go mod download
github.com/codeready-toolchain/[email protected]
github.com/codeready-toolchain/[email protected]`)
to refresh go.sum and then commit the updated go.sum so CI cleanliness gates no
longer fail.

@sonarqubecloud
Copy link

@fbm3307 fbm3307 merged commit 8e5e5fd into codeready-toolchain:master Oct 16, 2025
15 of 16 checks passed
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.

2 participants