Skip to content

fix(desktop): MCP batch retry via allSettled; drop dead browser-preview guard#3809

Merged
esengine merged 2 commits into
main-v2from
fix/mcp-batch-allsettled
Jun 10, 2026
Merged

fix(desktop): MCP batch retry via allSettled; drop dead browser-preview guard#3809
esengine merged 2 commits into
main-v2from
fix/mcp-batch-allsettled

Conversation

@esengine

@esengine esengine commented Jun 10, 2026

Copy link
Copy Markdown
Owner

Two changes:

  • MCP bulk ops (CapabilitiesPanel): "Retry all" / "Clean up invalid" used Promise.all, so one rejected server aborted the rest of the batch. Switched to Promise.allSettled so every server is attempted regardless of individual failures.
  • Remove dead browser-preview guard: check-browser-preview-stability.mjs was never referenced by any CI workflow and had already rotted — its assertions match exact JSX literals (down to indentation and prop order), so harmless reformats misfire. Dropped the script and its npm entry. UI invariants belong in component tests, not source-string snapshots.

Bulk retry/remove of failed MCP servers used Promise.all, so a single
rejection abandoned the rest; switch to allSettled so every server is
attempted. Replace the CTA guard's fixed-distance regex window with
order-independent lookaheads scoped to the .sidebar__new block.
@esengine esengine requested a review from SivanCola as a code owner June 10, 2026 07:25
@github-actions github-actions Bot added v2 Go rewrite (1.x) — main-v2 branch, active development desktop Wails desktop app (desktop/**) labels Jun 10, 2026
check-browser-preview-stability.mjs was never wired into any CI workflow
and had already rotted — its assertions match exact JSX literals down to
indentation, so any harmless reformat misfires. Drop the script and its
npm entry; UI invariants belong in component tests, not source snapshots.
@esengine esengine changed the title fix(desktop): harden MCP batch ops and CTA layout guard fix(desktop): MCP batch retry via allSettled; drop dead browser-preview guard Jun 10, 2026
@esengine esengine merged commit c3cc19e into main-v2 Jun 10, 2026
14 checks passed
@esengine esengine deleted the fix/mcp-batch-allsettled branch June 10, 2026 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

desktop Wails desktop app (desktop/**) v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant