Skip to content

RHIDP-15538 - disable major version updates#3805

Merged
kim-tsao merged 1 commit into
redhat-developer:mainfrom
kim-tsao:RHIDP-15538
Jul 20, 2026
Merged

RHIDP-15538 - disable major version updates#3805
kim-tsao merged 1 commit into
redhat-developer:mainfrom
kim-tsao:RHIDP-15538

Conversation

@kim-tsao

Copy link
Copy Markdown
Member

Hey, I just made a Pull Request!

Fixes https://redhat.atlassian.net/browse/RHIDP-15538:

Similar changes to was was done in the the core repo (https://github.com/redhat-developer/rhdh/pull/3686/changes)

  • disable major updates (which require dashboard approval anyway) in order to manage memory

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or Updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)

Signed-off-by: Kim Tsao <ktsao@redhat.com>
@kim-tsao
kim-tsao requested review from a team as code owners July 16, 2026 21:46
@rhdh-qodo-merge

Copy link
Copy Markdown

PR Summary by Qodo

Disable Renovate major version updates via preset

⚙️ Configuration changes 🕐 Less than 10 minutes

Grey Divider

AI Description

• Disable Renovate major dependency update PRs to reduce Renovate workload and memory.
• Rely on minor/patch updates while majors are handled through approval/manual process.
Diagram

graph TD
  R(["Renovate Bot"]) --> C[".github/renovate.json"] --> P["Minor/patch update PRs"]
  C --> M["Major updates disabled"]
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Keep major updates but require dashboard approval
  • ➕ Still surfaces major upgrades for visibility
  • ➕ Maintains a queue for planned upgrades without losing automation
  • ➖ Still incurs scan/processing overhead for majors
  • ➖ Does not fully address memory/resource pressure if majors are numerous
2. Throttle Renovate instead of disabling majors
  • ➕ Retains major updates while limiting load (e.g., PR/hour, concurrency limits)
  • ➕ More flexible if memory issues are tied to volume, not version type
  • ➖ More tuning/maintenance over time
  • ➖ May still produce majors and require the same approval workflow

Recommendation: Using Renovate’s built-in :disableMajorUpdates preset is the simplest, most explicit way to reduce Renovate workload while aligning with the existing “majors require approval anyway” policy. If visibility of majors becomes important later, consider re-enabling majors with dashboard approval or adding throttling limits.

Files changed (1) +2 / -4

Other (1) +2 / -4
renovate.jsonDisable major dependency updates via Renovate preset +2/-4

Disable major dependency updates via Renovate preset

• Adds the ':disableMajorUpdates' preset to stop Renovate from creating major upgrade PRs. Removes the explicit 'major.dependencyDashboardApproval' configuration since majors are no longer being proposed.

.github/renovate.json

@sonarqubecloud

Copy link
Copy Markdown

@rhdh-qodo-merge

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Qodo Logo

@rhdh-qodo-merge rhdh-qodo-merge Bot added the enhancement New feature or request label Jul 16, 2026
@kim-tsao
kim-tsao merged commit 847946d into redhat-developer:main Jul 20, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants