Repository navigation
feat(app): bare desktop session — spawn app launch desktop (#591) - #594
Merged
Merged
Conversation
Add a 'desktop' launch kind: a full Linux desktop over DCV (open a terminal, run anything) instead of a single-app kiosk. Route entry.Kind()==desktop to a new buildDesktopDCVUserData that installs a desktop environment + DCV at boot and runs it as the DCV session --init (GNOME preferred, WM+xterm fallback), no container. Guard kind==web with a clear not-yet error (Feature B). Bump libs to v0.45.0 (kind schema). Unit-tested (TestBuildDesktopDCVUserData). Refs #591, #590.
Codecov Report❌ Patch coverage is
📢 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.
Feature A of the approved plan to generalize
spawn app launchbeyond a single X11 app. Adds a bare desktop session for users who want a general GUI workspace ("open a terminal and run anything"), not a single-app kiosk.Depends on libs v0.45.0 (the
kindschema + built-indesktopentry), already released.What changes
spawn app launch desktop(aliasworkspace) launches a full Linux desktop over DCV — no application container.cmd/app.goonentry.Kind():desktop→ newbuildDesktopDCVUserData: installs a desktop environment (GNOME, AWS-documented for AL2023) + DCV at boot, and runs the desktop as the DCV virtual-session--init, with a bare window-manager +xtermfallback so the session always comes up.web→ clear "not supported in this build yet" error (Feature B, app catalog: support web-UI applications (HTTP-served) — a 'port-ready' launch kind (Jupyter, OpenRefine, code-server, …) #590).application→ unchanged (today's single-app path).desktopentry usesc7i/m7i);--instance-type g6.xlargeopts into a GL-accelerated desktop (DCV doesn't require a GPU).spawn:ready-*handshake (DCVSessionID is set, so no spored change), DCV idle branch,OnComplete: stop.Tests
TestBuildDesktopDCVUserData— asserts the desktop user-data installs a desktop env + DCV, runs the desktop init (not an app), pulls no container, and has no format-verb leak. Fullcmdsuite + vet green.Not yet validated end-to-end
The desktop-environment specifics (GNOME-on-X vs the WM+terminal fallback in a DCV virtual session on AL2023) need a real-instance run to settle — that's the gated follow-up (TTL + terminate + leak-check). The fallback is designed so a terminal always comes up even if the full GNOME session misbehaves.
Refs #591, #590.