fix: we were CAS-updating the branch against the PR rows source_head_sha from the DB, no t the live refs/heads/<branch> tip.
last month
5 files changed
- apps/web/app/[username]/[repository]/pulls/[number]/actions.ts+0−8
- apps/web/app/[username]/[repository]/pulls/[number]/pull-request-detail.tsx+0−4
- apps/web/app/[username]/[repository]/pulls/[number]/pull-request-merge-box.tsx+0−18
- apps/web/lib/pull-requests/update-pull-request-branch.test.ts+20−26
- apps/web/lib/pull-requests/update-pull-request-branch.ts+41−38