Files
orca/src
Jinjing 6dd82b974d Track and sync base ref throughout Create PR intent flow (#5907)
* Track and sync base ref throughout create PR intent flow

* Capture and track the review base ref (`baseRef`) directly inside the Create PR intent run token to keep async steps anchored to the base selected when the run started.
* Resolve intent flow and eligibility bases safely using the compare-base picker to override stale default refs.
* Keep the PR dialog's base field in sync with the active compare base while untouched by the user.

* Ignore stale generated PR fields if base ref syncs while in flight

Track user-initiated edits to the base field separately using a ref.
When the base ref is synced automatically from Source Control, mark
the base field dirty to increment its revision. This ensures stale
generated fields from an in-flight request cannot overwrite or revert
the newly updated base.
2026-06-20 03:39:45 -07:00
..