Skip to content

fix(app): don't list/launch image-less legacy apps as launchable (#592) - #599

Merged
scttfrdmn merged 1 commit into
mainfrom
fix/592-nonlaunchable-cpu-apps
Sep 15, 2026
Merged

scttfrdmn merged 1 commit into
mainfrom
fix/592-nonlaunchable-cpu-apps

Conversation

@scttfrdmn

Copy link
Copy Markdown
Contributor

Fixes #592. The catalog's legacy launch_command-only apps (igv, qgis, fiji, ds9) have no container image, and the baked-AMI model a bare launch_command relied on is retired (#389) — so they can never launch. Today they show as "launchable" in spawn app list, and spawn app launch <them> spins a doomed instance that fails at DCV session init (wasted cost).

  • classifyForList: any image-less non-desktop app is now shown as "recipe available" (a definition — bind an image via --image or a ~/.spawn/catalog.yaml overlay to launch), not "launchable".
  • runAppLaunch: refuses an image-less app upfront with a clear "no image configured" message instead of launching (cost-safety).

Container apps (paraview/chimerax), desktop, and web kinds are unaffected. Test updated (TestClassifyForList). Found in the app-catalog follow-up review.

Refs #592, #389.

igv/qgis/fiji/ds9 have only a launch_command (no image); the baked-AMI model it
relied on is retired (#389), so they can't launch. classifyForList now shows any
image-less non-desktop app as a definition ('recipe available'), and runAppLaunch
refuses it with 'no image configured' instead of spinning a doomed instance that
fails at DCV session init (cost-safety).

Fixes #592.
@scttfrdmn
scttfrdmn force-pushed the fix/592-nonlaunchable-cpu-apps branch from 7c4c1c9 to 16e20af Compare September 15, 2026 05:36
@codecov

codecov Bot commented Sep 15, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
cmd/app.go 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@scttfrdmn
scttfrdmn merged commit 4357c8e into main Sep 15, 2026
7 checks passed
@scttfrdmn
scttfrdmn deleted the fix/592-nonlaunchable-cpu-apps branch September 15, 2026 05:46
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.

catalog: igv/qgis/fiji/ds9 show as 'launchable' but can't launch; bind existing upstream container images

1 participant