Currently, Re-run and Re-run Failed Stages resolve a branch to its latest HEAD commit instead of using the commit from the original execution. This makes troubleshooting difficult when failures are caused by transient issues rather than code changes.
A rerun should preserve the original commit SHA and runtime inputs, ensuring the pipeline executes against the same code snapshot and execution context as the original run.