Option to rebase on main before running track/preview runs
We request an option to be able to rebase feature branch on main before running track/preview runs to prevent logical conflicts after apply.
- Workaround
- Problem
We request an option to be able to rebase feature branch on main before running track/preview runs to prevent logical conflicts after apply.
Log in to comment and vote
Comments1
Black Breeze
Oct 15, 2025
Hey! Thanks for bringing it up. Good news is that it’s already the case, if you’re triggering your runs from Pull Request events. Reason for that is - most VCS providers create what’s known as “virtual merge commits” which present a hypothetical state of the codebase once the PR is merged. Whenever available, that’s what Spacelift uses. But - you need to make sure you use Pull Requests to trigger your runs, not Pushes. You can find more information here.