Skip to content

Remove unused DurationBeforeChangeTierRequestDeletion config#1258

Merged
rajivnathan merged 4 commits intocodeready-toolchain:masterfrom
rajivnathan:updateRmvDurationBeforeChangeTierRequestDeletion
Feb 26, 2026
Merged

Remove unused DurationBeforeChangeTierRequestDeletion config#1258
rajivnathan merged 4 commits intocodeready-toolchain:masterfrom
rajivnathan:updateRmvDurationBeforeChangeTierRequestDeletion

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 internal module dependencies to newer revisions.
  • Configuration

    • Removed a previously configured 5s delay before deleting tier change requests, so tier-change deletions now proceed without that delay.

@openshift-ci openshift-ci bot requested review from metlos and xcoulon February 25, 2026 17:36
@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 7fb0692 and bc0f431.

📒 Files selected for processing (3)
  • deploy/host-operator/appstudio-e2e/toolchainconfig.yaml
  • deploy/host-operator/e2e-tests/toolchainconfig.yaml
  • deploy/host-operator/ui-e2e-tests/toolchainconfig.yaml
💤 Files with no reviewable changes (3)
  • deploy/host-operator/e2e-tests/toolchainconfig.yaml
  • deploy/host-operator/ui-e2e-tests/toolchainconfig.yaml
  • deploy/host-operator/appstudio-e2e/toolchainconfig.yaml

Walkthrough

Updated dependency versions in go.mod for two codeready-toolchain modules and removed the durationBeforeChangeTierRequestDeletion: '5s' field from three toolchainconfig.yaml files under deploy/host-operator (affects appstudio-e2e, e2e-tests, and ui-e2e-tests).

Changes

Cohort / File(s) Summary
Dependency version updates
go.mod
Bumped required pseudo-versions for github.com/codeready-toolchain/api and github.com/codeready-toolchain/toolchain-common.
ToolchainConfig YAML edits
deploy/host-operator/appstudio-e2e/toolchainconfig.yaml, deploy/host-operator/e2e-tests/toolchainconfig.yaml, deploy/host-operator/ui-e2e-tests/toolchainconfig.yaml
Removed durationBeforeChangeTierRequestDeletion: '5s' from each ToolchainConfig spec (host.tiers or tiers). No other changes to fields or logic.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 3
✅ 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 'Remove unused DurationBeforeChangeTierRequestDeletion config' accurately and specifically describes the main change across all modified files.
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: The go.mod contains invalid replace directives for
github.com/codeready-toolchain/api and
github.com/codeready-toolchain/toolchain-common that point to non-existent
commits in rajivnathan/api and rajivnathan/toolchain-common; remove or correct
these replace lines so the build can resolve dependencies: either delete the two
replace directives, change them to valid upstream module versions (e.g., a
released tag/commit present in the upstream repos for
github.com/codeready-toolchain/api and
github.com/codeready-toolchain/toolchain-common), or switch to a local
development setup (go.work) if you need to test local forks—update the replace
entries only with verifiable module versions or remove them entirely.

ℹ️ 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 afcc2d1 and 9972be0.

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

require (
github.com/codeready-toolchain/api v0.0.0-20260108115150-4c6695ed18de
github.com/codeready-toolchain/toolchain-common v0.0.0-20260225205316-85e4bef507f2
github.com/codeready-toolchain/api v0.0.0-20260226033043-912fcbd23dc7
Copy link
Contributor

@rsoaresd rsoaresd Feb 26, 2026

Choose a reason for hiding this comment

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

Should we delete durationBeforeChangeTierRequestDeletion in the deploy/host-operator toolchainconfig.yml files?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, thank you! Great catch! You are better than coderabbit! 😁 bc0f431

@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 8834e88 into codeready-toolchain:master Feb 26, 2026
11 of 12 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