Skip to content

Keep human commits on release branches across bot runs - #60

Merged
LucaCappelletti94 merged 1 commit into
mainfrom
release-bot/keep-fixes
Nov 19, 2026
Merged

LucaCappelletti94 merged 1 commit into
mainfrom
release-bot/keep-fixes

Conversation

@LucaCappelletti94

Copy link
Copy Markdown
Owner

The daily release workflow force-pushes its single vendor commit whenever the release branch's tree differs from what it built, and deletes every superseded release branch. A fix commit on a release PR always makes the tree differ, so the next run erases it. That is how the WAL legacy and shared-cache fix on #58 was lost, and why #59 cannot take the same fix yet.

The branch handling moves into a script. A commit whose author or committer is not the bot counts as human work. When main moves, the bot rebuilds its commit and cherry-picks the human ones on top, pushing only if every one applies, and otherwise comments once and leaves the branch alone. When a newer release supersedes a branch, its human commits are carried onto the new release branch, and the old branch is deleted only when all of them applied. Every push and delete leases on the tip the run fetched.

@LucaCappelletti94 LucaCappelletti94 added the bug Something isn't working label Nov 19, 2026
@coderabbitai

coderabbitai Bot commented Nov 19, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML; Path: .coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: c8cad0ea-0766-4f2a-bee8-9561e19afad9
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@codecov

codecov Bot commented Nov 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (59b1e2c) to head (0f6acc9).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #60   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines            3         3           
  Branches         3         3           
=========================================
  Hits             3         3           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@LucaCappelletti94
LucaCappelletti94 merged commit 3ed39ae into main Nov 19, 2026
17 checks passed
@LucaCappelletti94
LucaCappelletti94 deleted the release-bot/keep-fixes branch November 19, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant