You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7634e08
Browse filesBrowse the repository at this point in the historyBrowse files
fix(web): link checked-out PRs with in-flight sends and late thread shells
Three checkout-linking races left a checked-out pull request unlinked, or put a handoff task on the wrong draft: a send read the draft from its render snapshot, so a checkout that recorded its pull request while the send awaited was never linked; the send now reads the live draft session just before dispatch. A checkout landing on a sent draft waited a fixed five seconds for the thread shell and gave up; the link now waits for the shell to arrive (untilAtomValue / untilThreadShell). PR task handoffs wrote the task to the first opened draft, which is not the checkout draft once the user typed into it while the checkout ran; the task now goes on the checkout draft in both handoff handlers.
Model: Swift 1.5 (Qwen3.8-27B fine-tune, running locally) through OpenCode
// oxlint-disable-next-line t3code/no-unreasoned-state-sync -- subscribes to the thread-shell atom so each pending checkout link fires the moment the shell arrives
0 commit comments