Skip to main content

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​

  1. Authenticate with a human identity containing authoritative user and organization IDs. Reads/validation need a valid identity. Current lifecycle handlers accept either workspace.launch or platform.manage_infra. The owner's README still describes only the latter; this guide follows CONTROL_PERMISSIONS in source.
  2. Read /api/launcher/v1/profiles for current recommendations and ceilings. Source defines Generic Python, Generic R, RNA-seq, Single-cell, Variant analysis, Proteomics and ML/AI development in profiles.js.
  3. POST a workspace specification to /api/launcher/v1/workspaces/validate. Top-level fields are workspace, ide, optional image, 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 is amd64 or arm64, defaulted from the Launcher process architecture.
  4. 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.
  5. 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 with 409, applies CPU/memory limits to the stopped fixed container and starts it. It does not create containers, install packages or inject GPU devices.
  6. Save the returned manifest and check the IDE's authenticated functional behavior separately. status: started is a container-start result, not IDE readiness. Read a manifest through /api/launcher/v1/workspaces/:workspaceId/manifest only 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​

CapabilityCurrent implementationEvidence / limitation
Profiles, validation and deterministic local resolutionImplementedprofiles.js, workspace-spec.js, environment-resolver.js; no runtime acceptance established here
Start fixed IDE with bounded CPU/memoryImplementedserver.js; shared stopped container only, IAM and mutation permission required
Architecture / pre-provisioned GPU checksImplementedDocker inspection during launch; configured metadata alone is insufficient
Legacy status/start/stopImplemented with limited result semanticsStatus errors can report stopped; legacy start/stop handlers do not check Docker HTTP success codes
Manifest generation and tenant-scoped retrievalPartially implementedmanifest.js; process-local Map in server.js, lost on restart, no durable export/recreate/audit store
Canonical object URI parsingImplementedobject-reference.js; dataset/workflow/model/run/tool references confer no authorization
Object-aware workspace launchDeferredCurrent create handler returns HTTP 501 when objects are supplied
Run-to-debug workspaceDeferredrun-resolver.js; HTTP route supplies no authoritative authorization/resolution callback and returns 501
Per-user container creation, concurrent isolation, remote provisioningUnsupported by current backendFixed-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.