Skip to content

fix(install): verify app installations when using --skip-app-setup#1267

Open
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
fullsend/code/issue-1266
Open

fix(install): verify app installations when using --skip-app-setup#1267
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
fullsend/code/issue-1266

Conversation

@fullsend-ai-coder
Copy link
Copy Markdown

The --skip-app-setup flag trusted that shared apps were already installed but never verified it. Missing apps caused a cryptic 502 at runtime from the mint. Now the installer checks ListOrgInstallations and emits a clear error naming each missing app with its installation URL.

Also improves the mint's error response: when installation lookup returns 404, the mint now returns 422 with a descriptive detail field instead of a generic 502.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com


Closes #1266

Post-script verification

  • Branch is not main/master (fullsend/code/issue-1266)
  • Secret scan passed (gitleaks — 7d641173d1c258a1a7e3bcb087cb481576eabb45..HEAD)
  • Pre-commit hooks passed (authoritative run on runner)
  • Tests ran inside sandbox

The --skip-app-setup flag trusted that shared apps were already installed
but never verified it. Missing apps caused a cryptic 502 at runtime from
the mint. Now the installer checks ListOrgInstallations and emits a clear
error naming each missing app with its installation URL.

Also improves the mint's error response: when installation lookup returns
404, the mint now returns 422 with a descriptive detail field instead of
a generic 502.

Closes #1266

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

Site preview

Preview: https://f70d6ac3-site.fullsend-ai.workers.dev

Commit: a54b69f7f46cca0bf6a6936bda1fb2d43b75add5

@fullsend-ai-review
Copy link
Copy Markdown

Review

Findings

No findings.

Clean, well-scoped fix that addresses both sides of #1266: fail-fast validation in the installer and improved error responses from the mint. The verifySkipAppSetupInstallations function correctly checks slug presence via ListOrgInstallations before falling through to the resolve-error path. Mint files are in sync. Tests cover the three key paths (missing apps, all installed with resolve failure, resolve error propagation). The writeErrorDetail wrapper preserves backward compatibility by delegating from the existing writeError.

@fullsend-ai-review fullsend-ai-review Bot added the ready-for-merge All reviewers approved — ready to merge label May 20, 2026
@rh-hemartin
Copy link
Copy Markdown
Contributor

Do normal users have permissions to run this? @ralphbean

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-merge All reviewers approved — ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

installer should verify app installations when using --skip-app-setup

1 participant