Skip to content

fix: make multi-editor plugin installs independent of each other#270

Merged
rhuanbarreto merged 2 commits into
mainfrom
fix/plugin-install-independent-editors
May 5, 2026
Merged

fix: make multi-editor plugin installs independent of each other#270
rhuanbarreto merged 2 commits into
mainfrom
fix/plugin-install-independent-editors

Conversation

@rhuanbarreto

Copy link
Copy Markdown
Contributor

Summary

  • Independent editor installsarchgate plugin install now attempts all selected editors regardless of individual failures, instead of aborting on the first error
  • Deferred failure output — Success messages print immediately as each editor installs; all failures are collected and printed together at the end for easy review
  • ARCH-012 compliance — Added outer try-catch error boundary with ExitPromptError re-throw, and documented the pattern in ARCH-012 Do's/Don'ts

Test plan

  • Select multiple editors (e.g. Claude + Cursor) — verify both are attempted even if one fails
  • Verify success messages appear immediately per editor
  • Verify failure messages (with manual install instructions) appear grouped at the end
  • Verify Ctrl+C during editor selection prompt exits with code 130
  • bun run validate passes (lint, typecheck, format, test, ADR check, build)

Previously, if one editor failed during `archgate plugin install`, the
remaining editors were skipped. Now all selected editors are attempted
regardless of individual failures, with errors collected and printed
together at the end for easy review.

Also adds a proper outer try-catch error boundary (ARCH-012) and
documents the ExitPromptError re-throw pattern in ARCH-012 Do's/Don'ts.

Signed-off-by: Rhuan Barreto <rhuan@barreto.work>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 5, 2026

Copy link
Copy Markdown

Deploying archgate-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6abbab6
Status: ✅  Deploy successful!
Preview URL: https://1f0b8f15.archgate-cli.pages.dev
Branch Preview URL: https://fix-plugin-install-independe.archgate-cli.pages.dev

View logs

@rhuanbarreto rhuanbarreto merged commit ffdb8e0 into main May 5, 2026
10 checks passed
@rhuanbarreto rhuanbarreto deleted the fix/plugin-install-independent-editors branch May 5, 2026 19:01
@archgatebot archgatebot Bot mentioned this pull request May 5, 2026
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