Skip to content

fix(install): soft-fail Cursor install so a missing asset can't kill the one-liner#20

Merged
drorIvry merged 1 commit into
mainfrom
hotfix/cursor-install-soft-fail
Jun 29, 2026
Merged

fix(install): soft-fail Cursor install so a missing asset can't kill the one-liner#20
drorIvry merged 1 commit into
mainfrom
hotfix/cursor-install-soft-fail

Conversation

@drorIvry

Copy link
Copy Markdown
Contributor

Prod incident

The one-liner dies in prod:

Rogue Security — Cursor
• Downloading plugin rogue-plugin-cursor.tar.gz
curl: (56) The requested URL returned error: 404
✗ Download failed from .../releases/latest/download/rogue-plugin-cursor.tar.gz

Root cause: Cursor is auto-detected from ~/.cursor (present for nearly every
developer), and cursor_install_plugin called die on download failure. The
rogue-plugin-cursor.tar.gz release asset isn't published yet (latest release is
v1.0.16, which predates the cursor work), so the download 404s and the whole
installer aborts
— after Claude/Codex already installed — breaking the one-liner.

Fix (bleed-stop)

Make the Cursor path non-fatal: warn and continue (return 1 in install.sh,
throwcatch in install.ps1) on download / extract / manifest failure. Claude
and Codex still install; Cursor is skipped with a clear "re-run once published"
message and the script exits 0.

Verified: cursor-only run against the live 404 now warns and exits 0.

Still needed (separate, outward-facing)

This stops the breakage but Cursor won't actually install until a release publishes
rogue-plugin-cursor.tar.gz to /releases/latest/download/. That release is the
real fix and is a fleet-wide action (triggers Claude auto-update) — handled separately.

🤖 Generated with Claude Code

https://claude.ai/code/session_01RLk1XJQ1uWYSdn5Ro31JHv

…the one-liner

Cursor is auto-detected from ~/.cursor (present for nearly every developer), and
cursor_install_plugin called `die` on download failure — so when the
rogue-plugin-cursor.tar.gz release asset 404s (not yet published), the whole
installer aborts AFTER the Claude/Codex installs, breaking the one-liner in prod.

Make the Cursor path non-fatal: warn and continue (return 1 / catch) on download,
extract, or manifest failure. Claude/Codex still install; Cursor is skipped with a
clear "re-run once published" message. Mirrors in install.sh and install.ps1.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RLk1XJQ1uWYSdn5Ro31JHv
@drorIvry drorIvry merged commit 756acd1 into main Jun 29, 2026
1 check passed
@drorIvry drorIvry deleted the hotfix/cursor-install-soft-fail branch June 29, 2026 14:38
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