Launcher Workspaces
This guide describes CURRENT_SOURCE, checked through STATIC_VERIFICATION. It does not establish which Launcher revision is deployed. Compare your image's revision with the source revisions recorded by the Compose documentation check. The owner README is the detailed guide; the HTTP implementation is authoritative where they disagree.
Prepare the operator configuration
Studio creates the fixed Jupyter, RStudio and VS Code containers and owns their credentials, mounts and routing. Launcher uses the restricted Docker socket proxy, not client-supplied Docker options. Verify IAM connectivity, the configured socket, actual image architecture and IDE authentication independently.
LAUNCHER_ENVIRONMENTS_JSON declares candidate ID, IDE, allowlisted fixed
container, supported architectures, capabilities, GPU availability, optional
image reference/digest and nonsensitive environment metadata. Unset configuration
provides basic Python/R candidates with no GPU availability. Specialized profiles
need explicitly configured capabilities; declaring a capability is an operator
assertion, not package or scientific validation. See the
resolver.
WORKSPACE_MAX_CPU, WORKSPACE_MAX_MEMORY_BYTES, WORKSPACE_MAX_GPU bound requests;
IAM_URL, DOCKER_SOCKET_PATH, LAUNCHER_VERSION configure integration and
provenance. Studio's current base declaration does not forward every Launcher
operator setting: reconcile the deployment environment before relying on overrides.
Never embed credentials in browser build variables or manifest metadata.
Validate, launch, inspect
- Authenticate with a human identity containing authoritative user and organization
IDs. Reads/validation need a valid identity. Current lifecycle handlers accept
either
workspace.launchorplatform.manage_infra. The owner's README still describes only the latter; this guide followsCONTROL_PERMISSIONSin source. - Read
/api/launcher/v1/profilesfor current recommendations and ceilings. Source defines Generic Python, Generic R, RNA-seq, Single-cell, Variant analysis, Proteomics and ML/AI development in profiles.js. - POST a workspace specification to
/api/launcher/v1/workspaces/validate. Top-level fields areworkspace,ide, optionalimage,resources,objects; use the schema validator for exact fields/types. Unknown fields, client identities and arbitrary Docker options are rejected. CPU/memory/GPU requests are bounded; architecture isamd64orarm64, defaulted from the Launcher process architecture. - Resolution matches IDE, profile capabilities, architecture, GPU availability and any exact image constraint. Validation changes no Docker state and does not inspect Docker image metadata or prove object authorization.
- In an authorized test environment, POST the same specification to
/api/launcher/v1/workspaces. Source inspects container/image architecture and pre-provisioned GPU device requests, refuses a running shared container with409, applies CPU/memory limits to the stopped fixed container and starts it. It does not create containers, install packages or inject GPU devices. - Save the returned manifest and check the IDE's authenticated functional behavior
separately.
status: startedis a container-start result, not IDE readiness. Read a manifest through/api/launcher/v1/workspaces/:workspaceId/manifestonly with the same user and organization.
The Studio mount is /_svc/sdk; these HTTP paths are Launcher-owned, while legacy
object browsing uses the separately configured backend. Resolve actual exposure
through operator guidance, not hard-coded browser URLs.
Capability boundary
| Capability | Current implementation | Evidence / limitation |
|---|---|---|
| Profiles, validation and deterministic local resolution | Implemented | profiles.js, workspace-spec.js, environment-resolver.js; no runtime acceptance established here |
| Start fixed IDE with bounded CPU/memory | Implemented | server.js; shared stopped container only, IAM and mutation permission required |
| Architecture / pre-provisioned GPU checks | Implemented | Docker inspection during launch; configured metadata alone is insufficient |
| Legacy status/start/stop | Implemented with limited result semantics | Status errors can report stopped; legacy start/stop handlers do not check Docker HTTP success codes |
| Manifest generation and tenant-scoped retrieval | Partially implemented | manifest.js; process-local Map in server.js, lost on restart, no durable export/recreate/audit store |
| Canonical object URI parsing | Implemented | object-reference.js; dataset/workflow/model/run/tool references confer no authorization |
| Object-aware workspace launch | Deferred | Current create handler returns HTTP 501 when objects are supplied |
| Run-to-debug workspace | Deferred | run-resolver.js; HTTP route supplies no authoritative authorization/resolution callback and returns 501 |
| Per-user container creation, concurrent isolation, remote provisioning | Unsupported by current backend | Fixed-container boundary; no implemented Kubernetes/Slurm/cloud provisioner |
Troubleshooting and evidence
401 identifies missing/invalid credentials, 403 missing permission or identity
context, 503 unavailable IAM/Docker metadata, 422 incompatible/missing runtime,
409 running shared container or duplicate manifest ID, and 501 deferred
integration. Use server diagnostics without tokens or manifest identity dumps.
The image digest is recorded from configured metadata or Docker information; it
is not a general supply-chain attestation. A fixed runtime can be shared across
users even when manifest reads are tenant-scoped. Operators must approve isolation
and concurrent-use expectations before offering personal workspace guarantees.