Skip to content

Keep provider selection pending until connectable - #10012

Merged
lawrencecchen merged 8 commits into
feat-tui-iroh-iosfrom
feat-tui-provider-selection-readiness
Aug 12, 2026
Merged

lawrencecchen merged 8 commits into
feat-tui-iroh-iosfrom
feat-tui-provider-selection-readiness

Conversation

@lawrencecchen

@lawrencecchen lawrencecchen commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • keep accepted provider selection pending until the owner reports the selected machine connectable
  • use one readiness helper for refresh and reconnect snapshot installation
  • prove deferred readiness with protocol responses and no timing

Verification

No local compile or tests were run.


Summary by cubic

Hold provider selection until the chosen machine is connectable, applying it only when snapshots confirm readiness. Pending selection persists across refresh, observation, and a one-shot reconnect; explicit switches now cancel it on commit.

  • Bug Fixes
    • Added apply_accepted_selection_if_ready and used it in refresh, reconnect snapshot installation, and observation.
    • Cleared deferred selection only when a provider switch commits; kept it for mandatory/aborted replacements and across a single reconnect without re-scheduling.

Written for commit 9a492b8. Summary will update on new commits.

Review in cubic

@coderabbitai

coderabbitai Bot commented Aug 11, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 9ad766d0-7164-456d-984c-b6a1533abfcf

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 78f04ce948

ℹ️ 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".

Comment thread cmux-tui/crates/cmux-tui/src/machine_provider_runtime.rs
@cursor

cursor Bot commented Aug 11, 2026

Copy link
Copy Markdown

Bugbot is paused — on-demand spend limit reached

Bugbot uses usage-based billing for this team and has hit its on-demand spend limit.

A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue.

@lawrencecchen
lawrencecchen merged commit 5d99c7e into feat-tui-iroh-ios Aug 12, 2026
8 checks passed
@lawrencecchen
lawrencecchen deleted the feat-tui-provider-selection-readiness branch August 12, 2026 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant