Skip to content

fix(desktop): link a created pull request when the command arrives late - #3800

Merged
LHagfoss merged 1 commit into
mainfrom
fix/desktop-pr-link-late-input
Nov 15, 2026
Merged

LHagfoss merged 1 commit into
mainfrom
fix/desktop-pr-link-late-input

Conversation

@LHagfoss

Copy link
Copy Markdown
Owner

What

A Claude Code thread that opened a pull request with gh pr create was never linked to it, so CI failures never woke the thread (#3799 sat failing until the user asked).

The Claude Code adapter now sends a Bash call as a tool_call titled Terminal with no rawInput, then the command in a later tool_call_update. The desktop dropped rawInput from updates, so the tool row had no input and createdPull never saw gh pr create. Updates now carry rawInput, and the row keeps it.

Changelog

A Claude Code thread that opens a pull request is woken again when its checks fail or it merges.

Testing

  • bun run check in apps/desktop: 2806 pass, 0 fail.
  • New test: a call whose input arrives in an update ends with that input, and createdPull finds the pull request.
  • Confirmed from captured protocol messages in thread 01a1df2edbae: the rawInput with gh pr create arrived in a tool_call_update at 12:42:19.8, after the bare tool_call.

@github-actions github-actions Bot added the fix A bug fix label Nov 15, 2026
@LHagfoss
LHagfoss merged commit c3256c4 into main Nov 15, 2026
9 checks passed
@LHagfoss
LHagfoss deleted the fix/desktop-pr-link-late-input branch November 15, 2026 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant