Skip to content

chore(renovate-preset): rebase on conflict DEVX-659#78

Merged
r0binary-sap merged 1 commit intomainfrom
feature/DEVX-659-renovate-preset-rebase-on-conflict-only
Apr 20, 2026
Merged

chore(renovate-preset): rebase on conflict DEVX-659#78
r0binary-sap merged 1 commit intomainfrom
feature/DEVX-659-renovate-preset-rebase-on-conflict-only

Conversation

@r0binary-sap
Copy link
Copy Markdown
Contributor

WHY Numerous renovate PRs remain unmerged for days, weeks or even months. Renovate would rebase these branches whenever it detects they are behind the default branch causing another CI run. This causes high load on our CI infrastructure without much benefit. Many repositories do not require a linear history yet and thus don't need to be keep up-to-date. There is a risk to this since incompatibilities might go unnoticed, but this is true for any change in such a context. Midterm DevX team butterfly plans to require linear history for all repositories which requires a merge queue to work efficiently. The change has been tested in some repositories including product-analytics-pipeline where it reduce the shared of CI runs caused by renovate from 67% to 9%.

WHAT Renovate preset adjusted so renovate would rebase only if it detects merge conflicts between default and feature branch.

**WHY**
Numerous renovate PRs remain unmerged for days, weeks or even months. Renovate would rebase these branches whenever it detects they are behind the default branch causing another CI run. This causes high load on our CI infrastructure without much benefit. Many repositories do not require a linear history yet and thus don't need to be keep up-to-date. There is a risk to this since incompatibilities might go unnoticed, but this is true for any change in such a context. Midterm DevX team butterfly plans to require linear history for all repositories which requires a merge queue to work efficiently. The change has been tested in some repositories including product-analytics-pipeline where it reduce the shared of CI runs caused by renovate from 67% to 9%.

**WHAT**
Renovate preset adjusted so renovate would rebase only if it detects merge conflicts between default and feature branch.
@internal-ai-adoption-analytics
Copy link
Copy Markdown

internal-ai-adoption-analytics Bot commented Apr 17, 2026

📊 Survey: Please help us track internal AI adoption. This is not for evaluation, only for metrics. You can update this anytime before merge.
🤖 Which AI developer tool(s), if any, were used to assist with this PR? Please tick one or more boxes below:

  • None
  • Cline
  • Claude Code
  • Cursor
  • GitHub Copilot
  • Other

🧑‍💻 If AI was used, what was it mainly used for?

  • Coding / Implementation
  • Testing (unit, integration, e2e)
  • Documentation
  • Research / Investigation
  • Refactoring / Cleanup
  • Configuration / DevOps
  • Other

Thank you in advance for your feedback.💙🙏🎉
Here's a joke to brighten your day: What's an AI's favorite movie? The Matrix... obviously! 🕶️

@hyperspace-insights
Copy link
Copy Markdown

Summary

The following content is AI-generated and provides a summary of the pull request:


chore: Configure Renovate to Rebase Only on Merge Conflicts

Chore

🔧 Adjusted the Renovate preset to trigger branch rebases only when merge conflicts are detected, rather than rebasing whenever a branch falls behind the default branch.

Previously, Renovate would rebase feature branches any time they were behind the default branch, causing unnecessary CI runs. This change reduces CI load significantly — in tested repositories like product-analytics-pipeline, the share of CI runs caused by Renovate dropped from 67% to 9%.

Changes

  • default.json: Added "rebaseWhen": "conflicted" to the Renovate preset configuration, ensuring Renovate only rebases branches when an actual merge conflict is detected.

Jira Issues

  • DEVX-659

  • 🔄 Regenerate and Update Summary
  • ✏️ Insert as PR Description (deletes this comment)
  • 🗑️ Delete comment
PR Bot Information

Version: 1.20.11 | 📖 Documentation | 🚨 Create Incident | 💬 Feedback

  • Output Template: Default Template
  • File Content Strategy: Full file content
  • LLM: anthropic--claude-4.6-sonnet
  • Correlation ID: be704474-5af8-4029-9abf-ac6a59f2fb1c
  • Event Trigger: pull_request.opened
  • Summary Prompt: Default Prompt

💌 Have ideas or want to contribute? Create an issue and share your thoughts with us!
📑 Check out the documentation for more information.
📬 Subscribe to the Hyperspace PR Bot DL to get the latest announcements and pilot features!

Made with ❤️ by Hyperspace.

Copy link
Copy Markdown

@hyperspace-insights hyperspace-insights Bot left a comment

Choose a reason for hiding this comment

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

The change is a single, straightforward configuration addition. The value "conflicted" is the correct valid Renovate option for rebaseWhen, the JSON is well-formed, and the placement is appropriate. There are no logic errors, bugs, typos, or other issues to flag.

The PR is a clean, minimal configuration change that correctly implements the described behaviour — limiting Renovate rebases to only conflict situations, which aligns with the stated goal of reducing unnecessary CI runs.

PR Bot Information

Version: 1.20.11 | 📖 Documentation | 🚨 Create Incident | 💬 Feedback

  • Correlation ID: be704474-5af8-4029-9abf-ac6a59f2fb1c
  • LLM: anthropic--claude-4.6-sonnet
  • File Content Strategy: Full file content
  • Event Trigger: pull_request.opened

@r0binary-sap r0binary-sap merged commit 6470e46 into main Apr 20, 2026
3 checks passed
@r0binary-sap r0binary-sap deleted the feature/DEVX-659-renovate-preset-rebase-on-conflict-only branch April 20, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants