Skip to content

Remove unused DurationBeforeChangeTierRequestDeletion config#730

Merged
rajivnathan merged 3 commits intocodeready-toolchain:masterfrom
rajivnathan:removeDurationBeforeCTRDeletionMember
Feb 26, 2026
Merged

Remove unused DurationBeforeChangeTierRequestDeletion config#730
rajivnathan merged 3 commits intocodeready-toolchain:masterfrom
rajivnathan:removeDurationBeforeCTRDeletionMember

Conversation

@rajivnathan
Copy link
Contributor

@rajivnathan rajivnathan commented Feb 25, 2026

Related to codeready-toolchain/api#499 and codeready-toolchain/toolchain-common#515

Summary by CodeRabbit

  • Chores
    • Updated two module dependencies to newer versions in the project manifest to align with updated releases.
    • No changes to public APIs or exported interfaces; behavior and external contracts remain unchanged.

@coderabbitai
Copy link

coderabbitai bot commented Feb 25, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Cache: Disabled due to data retention organization setting

Knowledge base: Disabled due to data retention organization setting

📥 Commits

Reviewing files that changed from the base of the PR and between c352f93 and 5ff5646.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • go.mod
🚧 Files skipped from review as they are similar to previous changes (1)
  • go.mod

Walkthrough

Updated go.mod replace directives for two github.com/codeready-toolchain modules to newer commit-based versions (Feb 26, 2026). No changes to exported API signatures or other require statements.

Changes

Cohort / File(s) Summary
Dependency versions
go.mod
Bumped two replace entries: github.com/codeready-toolchain/api and github.com/codeready-toolchain/toolchain-common now point to newer commit-based module versions dated 2026-02-26.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The PR title describes removing a configuration, but the actual changes only show go.mod dependency updates with no configuration removal visible. The title should accurately reflect the actual changes in the PR. If the configuration removal is in other files, ensure the title matches the visible changes, or clarify that the go.mod updates are the primary changes.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@go.mod`:
- Around line 3-5: Remove the temporary local fork replace directives for
github.com/codeready-toolchain/api and
github.com/codeready-toolchain/toolchain-common from go.mod (the two "replace"
entries pointing to github.com/rajivnathan/*) and update the corresponding
"require" entries for those modules to the official canonical pseudoversions
produced by the upstream merges (api#499 and toolchain-common#515); after
updating, run go mod tidy to ensure module graph is consistent and the
ci-check-gomod pipeline will pass.

ℹ️ Review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Cache: Disabled due to data retention organization setting

Knowledge base: Disabled due to data retention organization setting

📥 Commits

Reviewing files that changed from the base of the PR and between e5cbab1 and 08b7b0d.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • go.mod

…or into removeDurationBeforeCTRDeletionMember
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.

♻️ Duplicate comments (1)
go.mod (1)

3-5: ⚠️ Potential issue | 🔴 Critical

Remove temporary personal-fork replace directives before merge.

Line 3 and Line 5 pin canonical dependencies to a personal fork, which is risky for mainline reproducibility and typically breaks governance/CI expectations for released branches.

🐛 Proposed fix
-replace github.com/codeready-toolchain/api => github.com/rajivnathan/api v0.0.0-20260225164436-80c782ea57de
-
-replace github.com/codeready-toolchain/toolchain-common => github.com/rajivnathan/toolchain-common v0.0.0-20260225170920-5096cffa010b
#!/bin/bash
# Verify no personal-fork replace directives remain in go.mod
rg -n '^replace github.com/codeready-toolchain/(api|toolchain-common)\s*=>\s*github.com/rajivnathan/' go.mod

# Expected result: no matches

As per coding guidelines, "Focus on major issues impacting performance, readability, maintainability and security. Avoid nitpicks and avoid verbosity."

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@go.mod` around lines 3 - 5, The go.mod contains temporary personal-fork
replace directives pointing github.com/codeready-toolchain/api and
github.com/codeready-toolchain/toolchain-common to github.com/rajivnathan/*
which must be removed before merge; open go.mod and delete the two replace lines
that start with "replace github.com/codeready-toolchain/api =>
github.com/rajivnathan/..." and "replace
github.com/codeready-toolchain/toolchain-common => github.com/rajivnathan/..."
(or restore them to the canonical module versions), then run `go mod tidy` to
update the module graph and confirm no remaining personal-fork replaces for
those modules.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Duplicate comments:
In `@go.mod`:
- Around line 3-5: The go.mod contains temporary personal-fork replace
directives pointing github.com/codeready-toolchain/api and
github.com/codeready-toolchain/toolchain-common to github.com/rajivnathan/*
which must be removed before merge; open go.mod and delete the two replace lines
that start with "replace github.com/codeready-toolchain/api =>
github.com/rajivnathan/..." and "replace
github.com/codeready-toolchain/toolchain-common => github.com/rajivnathan/..."
(or restore them to the canonical module versions), then run `go mod tidy` to
update the module graph and confirm no remaining personal-fork replaces for
those modules.

ℹ️ Review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Cache: Disabled due to data retention organization setting

Knowledge base: Disabled due to data retention organization setting

📥 Commits

Reviewing files that changed from the base of the PR and between 08b7b0d and c352f93.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • go.mod

@sonarqubecloud
Copy link

Copy link
Contributor

@rsoaresd rsoaresd left a comment

Choose a reason for hiding this comment

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

🚀

@openshift-ci
Copy link

openshift-ci bot commented Feb 26, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rajivnathan, rsoaresd

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 [rajivnathan,rsoaresd]

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

@rajivnathan rajivnathan merged commit a838bdf into codeready-toolchain:master Feb 26, 2026
12 of 13 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