Since a rebase changes the commit sha, I assume that's used as a reference for which version of the code the CI test was run against.
That said, shouldn't CI be triggered after the rebase anyway to confirm all still works?
That said, shouldn't CI be triggered after the rebase anyway to confirm all still works?
Instead of taking the branch <feature> and rebasing it, make a branch called <feature>.1 on top of <feature>, then rebase that, leaving <feature> in place.
That way all your references remain intact and you can compare CI results.
Increment the number as needed.