Skip to content

Scope Konflux base image bumps to downstream main - #91

Closed
2000krysztof wants to merge 1 commit into
red-hat-data-services:mainfrom
2000krysztof:fix/rhai-59136-mintmaker
Closed

2000krysztof wants to merge 1 commit into
red-hat-data-services:mainfrom
2000krysztof:fix/rhai-59136-mintmaker

Conversation

@2000krysztof

Copy link
Copy Markdown

Description

Add a branch-scoped Renovate rule that disables MintMaker updates to deploy/Dockerfile.konflux on rhoai-3.7-ea.1. MintMaker reads its configuration from the default branch, so the rule lives on main. MintMaker continues updating the Node, Go, and UBI image pins on main, and the scheduled sync carries those updates into the release branch. This prevents independent pin bumps from causing recurring merge conflicts.

RHAI-59136

How Has This Been Tested?

The configuration parsed as JSON and passed the local pre-commit check. After merging, verify on the next MintMaker run that Dockerfile image updates remain eligible on main and that no new PRs for that file target rhoai-3.7-ea.1. Confirm that the next image pin update on main reaches the release branch through the scheduled sync.

Merge criteria:

  • The commits are squashed in a cohesive manner and have meaningful messages.
  • Testing instructions have been added in the PR body.
  • The developer has manually tested the changes and verified that the changes work. Live MintMaker verification is pending.

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

No actionable comments were generated in the recent review.

Walkthrough

The Renovate configuration disables updates for deploy/Dockerfile.konflux when the base branch is rhoai-3.7-ea.1.

Changes: Renovate configuration

Layer / File(s) Summary
Match and disable Renovate
.github/renovate.json
Adds a package rule that matches rhoai-3.7-ea.1 and deploy/Dockerfile.konflux. Renovate is disabled for this match.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Merge Risk: Minimal · up to be2e3

This change stops automated base image bumps for the Konflux Dockerfile on the release branch, so those updates arrive through the scheduled sync from main. It is a small configuration change and easy to revert. After merge, check that no new MintMaker PRs for that file target the release branch and that the next pin update reaches it.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "Scope Konflux base image bumps to downstream main" matches the main change: a branch-scoped Renovate rule that disables MintMaker updates to deploy/Dockerfile.konflux on rhoai-3.7-ea.1. The…
Description check Passed The description states the purpose (a branch-scoped Renovate rule disabling MintMaker updates to deploy/Dockerfile.konflux on rhoai-3.7-ea.1), explains why the rule lives on main, and gives testing no…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Scope Konflux base image bumps to downstream main" matches the main change: a branch-scoped Renovate rule that disables MintMaker updates to deploy/Dockerfile.konflux on rhoai-3.7-ea.1. The title is specific and concise. Its wording is slightly indirect, since the change disables updates on the release branch rather than scoping them to main, but the intent is clearly described.

Full details: Description check

Explanation

The description states the purpose (a branch-scoped Renovate rule disabling MintMaker updates to deploy/Dockerfile.konflux on rhoai-3.7-ea.1), explains why the rule lives on main, and gives testing notes and a Jira reference. It directly matches the changeset in .github/renovate.json.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: dc845e70-c37a-4387-b1b8-a2ff68bdd00f
Commits

Reviewing files that changed from the base of the PR and between 9675c15 and be2e313.

Files selected for processing: 1

  • .github/renovate.json

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@jgarciao

jgarciao commented Nov 25, 2026 •

Copy link
Copy Markdown

Thanks for putting this together — the mechanism is sound, and disabling MintMaker for deploy/Dockerfile.konflux on rhoai-3.7-ea.1 would indeed end the sync conflicts. But I think we should close it rather than merge it.

The main→release sync stops at code freeze (schedule-stop-auto-merge removes the release from releases.yaml). At that point MintMaker is supposed to take over as the only automated update path for base-image pins on the release branch — the konflux-central preset states this design explicitly ("only target main + branches past code freeze"). This rule has no expiry, so after 3.7's freeze nothing would update the pins: no sync, no MintMaker → base-image CVE fixes would need manual PRs. That's a silent gap, worse than the loud sync conflict we have today.

The root cause also isn't in this repo: MintMaker is bumping rhoai-3.7-ea.1 before its code freeze, even though the central preset's baseBranches doesn't include it — that's the bug to fix, on the konflux-central/MintMaker side.

Proposing to close — I've shared the suggested path forward on this slack thread.

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.

2 participants