Skip to content

fix: wait for instance configured on test vmcp launch before navigating - #8265

Merged
ivyjeong13 merged 2 commits into
obot-platform:mainfrom
ivyjeong13:fix/wait-for-configured-instances-before-navigating-to-inspector
Oct 15, 2026
Merged

ivyjeong13 merged 2 commits into
obot-platform:mainfrom
ivyjeong13:fix/wait-for-configured-instances-before-navigating-to-inspector

Conversation

@ivyjeong13

@ivyjeong13 ivyjeong13 commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

This addresses the user briefly seeing component configuration update is needed after having already successfully launching through the connect/launch flow for Test vMCP; the flow has been updated to, after successfull launch, poll and make sure the instance has configured = true before navigating to the vmcp inspector.

Addresses #7974

@ivyjeong13
ivyjeong13 force-pushed the fix/wait-for-configured-instances-before-navigating-to-inspector branch from 9ec4ac7 to 70fe89e Compare October 14, 2026 18:00
@ivyjeong13
ivyjeong13 marked this pull request as ready for review October 14, 2026 18:00
Copilot AI balanced review requested due to automatic review settings October 14, 2026 18:00

@claude claude 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.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The polling predicate contradicts the new tests, and successful launch can leave stale local configuration status.

2 open findings
What changed in this PR

This PR aims to prevent the configuration-update prompt from briefly appearing during Test vMCP setup, addressing #7974.

Changes:

  • Poll instance configuration status during connection setup.
  • Keep the inspector loading while an unconfigured instance is being refreshed.
  • Add regression tests and update launch mocks.
File Description
ui/​user/​src/​lib/​services/​user/​types.ts Add the configuration-check hash field.
ui/​user/​src/​lib/​components/​vmcps/​VMcpTester.svelte.spec.ts Test loading-state behavior.
ui/​user/​src/​lib/​components/​vmcps/​VMcpTester.svelte Adjust inspector loading conditions.
ui/​user/​src/​lib/​components/​vmcps/​VMcpDesigner.svelte.spec.ts Mock instance-status retrieval.
ui/​user/​src/​lib/​components/​vmcps/​ConnectVMcp.svelte.spec.ts Test configuration polling and navigation.
ui/​user/​src/​lib/​components/​vmcps/​ConnectVMcp.svelte Replace optimistic configuration with polling.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread ui/user/src/lib/components/vmcps/ConnectVMcp.svelte
Comment thread ui/user/src/lib/components/vmcps/ConnectVMcp.svelte
@ivyjeong13
ivyjeong13 force-pushed the fix/wait-for-configured-instances-before-navigating-to-inspector branch from 70fe89e to cb7482a Compare October 14, 2026 18:36
Copilot AI balanced review requested due to automatic review settings October 14, 2026 18:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The designer OAuth test fixture lacks the configuration-check hash, forcing delays that exhaust its explicit timeout.

1 open finding
2 resolved since last review

🧠 Review effort: Balanced

Comment thread ui/user/src/lib/components/vmcps/VMcpDesigner.svelte.spec.ts
Copilot AI balanced review requested due to automatic review settings October 15, 2026 17:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

Backend launch handling already waits for reconciliation, and no blocking issues remain in the reviewed changes.

0 open findings

1 resolved since last review

🧠 Review effort: Balanced

@ivyjeong13
ivyjeong13 merged commit a060cbf into obot-platform:main Oct 15, 2026
6 of 7 checks passed
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.

4 participants