Repository navigation
docs: document spawn app application-streaming feature (#593) - #598
Merged
Merged
Conversation
Add an end-user 'Launch a GUI or web app' README section (three launch kinds, examples, prereqs, what the user sees) and list the app command in the command table. Add docs/catalog-schema.md documenting every AppEntry field for catalog/overlay authors. Correct two stale in-code references to the retired owned DCV-base-AMI model (DCV is installed at boot on the SSM-resolved AWS base AMI). Changelog under Unreleased > Documentation.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #593.
Documentation-only PR (plus two stale in-code comment/message fixes). Fills the gaps for the
spawn appapplication-streaming feature shipped in spawn v0.107.0 / libs v0.45.0.What changed
End-user quickstart (README) — the command table omitted
appand the README never mentionedspawn app/ DCV / streaming. Added:approw to the command table.spawn app list,spawn app launch paraview,spawn app launch desktop,spawn app launch <name> --image <ref> --web-port <n>), prerequisites (aws login; a GPU-instance quota for GPU apps), what the user sees (session file under~/.spawn/sessions/opened in the browser for GUI/desktop, anhttps://URL for web apps), and the relevant flags. Kept accurate tocmd/app.go.AppEntry schema reference — new
docs/catalog-schema.mddocumenting every catalogAppEntryfield (sourced from the godoc inlibs/catalog/catalog.go), includingkind(application/desktop/web),port/health_pathfor web apps, and thatbase_amisis an optional pin. Linked from the overlay example header and the README.Stale comments — corrected two remaining in-code references to the retired owned "DCV base AMI" model:
cmd/dcv.godcvFailureMessage(dcv-not-installedcase) no longer tells users to "use a catalog app with a DCV AMI … or build one" — it now points at the boot-time DCV install ([audit] Dead code: delete pkg/streaming (entirely unused, ~71 funcs across tcp/transport/zmq) #286/First-class job-array reporting: spawn array status/logs/retry/collect/cancel #389) and cloud-init logs.cmd/app.gouser-data comment reworded from "The DCV AMI auto-creates a console session" to "dcvserver auto-creates a console session on start".(
cmd/app.go's AMI-resolution comments were already on the SSM-resolved-DLAMI + DCV-at-boot model.)CHANGELOG — entry under
## [Unreleased]→### Documentation.Validation
gofmt -lclean;go build ./...passes.docs-gen/is unaffected (no drift).