Repository navigation
Update desktop-hosted servers through the API and CLI - #5499
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9c8d3815ab
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| }; | ||
| args.notifyChanged(); | ||
| await delay(1_500, undefined, { signal: abort.signal }); | ||
| await args.channel.request("install"); |
There was a problem hiding this comment.
Propagate failures after accepting the install request
When the hosting desktop receives install, attachServerUpdateControl sends its success response before running args.install() and reports subsequent failures only to the desktop log. Therefore, if the native install fails after acceptance while the server remains alive, this await resolves and leaves activity as restarting, applying as true, and the persisted update as pending; the CLI eventually times out and every retry returns app_update_in_progress until the server is manually restarted. The desktop needs to propagate installation failure back, or send a later failure status that clears this state.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
P2 review follow-ups: propagate post-acceptance installation failures so retry becomes available, and recheck running threads after the restart delay. Recorded in the PR description for follow-up under the P0/P1-only review-fix policy. This thread remains open because the behavior has not been changed.
…5492 # Conflicts: # docs/configuration.md # plugins/bb-guide/skills/bb-cli/references/thread-creation.md
Human comments
What was wrong
The update API and CLI could not use a hosting desktop's native updater. A temporary updater request failure also discarded confirmed support.
What changed
How you verified
e9fd6a1ba.The cumulative Slop Cop review (
f526a8b9..33fe0ca9) found no P0/P1 issues. The targeted review of capability retention and copy removal (7ca47ca1..942f476c) found no P0/P1 issues.P2 follow-up: recheck running threads after the restart delay. Native macOS and Windows upgrades were not exercised.
BB-Thread-ID: thr_2x98entk68