cpuosBeta

Planning reference, not available · Recipe · node

Web app preview requirements

Plan authenticated web preview requirements. The current cpuOS worker has no exposed ports, dev server contract or persistent sessions.

Planning reference, not an available runtime

A web preview needs an authenticated port proxy, a dependency environment and a server lifetime. Current short network-disabled jobs are not preview hosting.

This page is a requirements checklist. The current worker supports only Python and Node standard-library jobs, with no job network, file-transfer API, exposed ports or persistent sessions.

Capabilities needed before implementation

  • A reviewed runtime image with a known toolchain and resource budget.
  • An explicit data input and artifact output contract.
  • A network policy suited to the task, with visible failures.
  • A measured task duration and an agreed operational trust boundary.

Define the result contract

An accepted job is queued, not complete. Poll GET /v1/jobs/:id and inspect terminal status, exitCode, stdout, stderr, error and outputTruncated. The worker returns logs after execution. Do not infer success from a request being accepted.

The pilot does not retain a running interpreter or workspace across jobs. Keep only bounded output needed by the caller, and keep credentials out of code and logs.

Validate the representative workload

  • Check an expected successful output and a deliberate failure.
  • Exercise the deadline, output limit, cancellation and worker disconnection.
  • Verify ownership by trying an unrelated workspace key in a disposable test.
  • Keep external publication or irreversible actions outside the job and under application authorization.

Start with the quickstart. The runtime catalog distinguishes current jobs from planning references.

Questions

Is this available today?
No. This is a requirements reference, not an available runtime or image. The current worker supports Python and Node standard-library jobs only.
Can jobs reach the internet or keep files?
Job networking is disabled and scratch space is discarded. There is no file-transfer API or persistent session. Worker polling and runtime-image pulls use the host network.
What execution boundary does the pilot provide?
Restricted Docker containers share the host kernel. Allocate the worker to trusted team tasks; do not use the pilot for hostile multi-tenant execution.

Related guides

Plan your web app preview task

Create a workspace and connect your Docker worker. The current pilot supports bounded Python and Node standard-library jobs.

gpuOS · where models think

Need the model too? Run it on gpuOS

gpuOS serves open models on your own GPUs behind one OpenAI-compatible API. Your application can submit authorized actions to cpuOS jobs.