# Supported workloads

> Look up supported commands, dependencies, machine sizes and limits for client 0.3.0.

Source: https://www.sorus.run/docs/supported-workloads
Reviewed: 2026-10-21

## Commands

| Command                                     | Work performed                                      | Constraints                                                                                 |
| ------------------------------------------- | --------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| `cargo sorus check`                         | Cargo compiler check                                | Cargo arguments pass through.                                                               |
| `cargo sorus build`                         | Cargo build                                         | Select files explicitly to retrieve build artifacts.                                        |
| `cargo sorus test`                          | Cargo tests                                         | Preserves target selection, filters and test arguments.                                     |
| `cargo sorus clippy`                        | Cargo lint check                                    | `--fix` is refused.                                                                         |
| `cargo sorus fmt`                           | Cargo formatting check                              | Requires `--check`; does not rewrite the checkout.                                          |
| `cargo sorus nextest run`                   | Nextest tests, followed by doctests when applicable | Only `run`; filtered or partitioned runs and target selections skip the extra doctest step. |
| `cargo sorus exec -- <program> [arguments]` | A declared program                                  | Runs directly without an implicit shell.                                                    |

For copyable commands and nextest restrictions, use [command recipes](https://www.sorus.run/docs/sorus-ci). The [CLI reference](https://www.sorus.run/docs/reference/cli) covers every option, and the [job environment](https://www.sorus.run/docs/guides/environment) lists installed tools and runtime behavior.

## Toolchains

The platform stable is **Rust 1.98.0**. Exact offered versions are:

- Stable: `1.88.0`, `1.91.1`, `1.93.0`, `1.96.1`, `1.97.1`, `1.98.0`, `1.98.1`, `1.99.0`.
- Nightly: `nightly-2025-12-17`, `nightly-2026-07-16`, `nightly-2026-08-15`.

A `stable` selection or no toolchain pin uses the platform stable. A partial pin such as `1.88` resolves to the newest offered patch in that minor. An unavailable version is refused before a job is created. [Select and verify a toolchain](https://www.sorus.run/docs/guides/toolchains) covers precedence, targets and toolchain directives inside jobs.

## Dependencies and services

| Input                                 | Support                                                                                |
| ------------------------------------- | -------------------------------------------------------------------------------------- |
| crates.io dependencies                | Supplied through the dependency gateway; use a committed lockfile for reproducible CI. |
| Public HTTPS Git dependencies         | Use the commit recorded in a captured lockfile.                                        |
| Submodules of a locked Git dependency | HTTPS or relative URLs, at the commits recorded by that dependency.                    |
| Local source links                    | Relative links that resolve inside the captured tree.                                  |
| Declared PostgreSQL service | Not yet offered to customer jobs; implemented catalogue version `18.6`. |
| Declared Redis service | Not yet offered to customer jobs; implemented catalogue version `7.0.15`. |

Customer admission currently refuses every declared service before creating a job. The [test services reference](https://www.sorus.run/docs/reference/services) documents the implemented schema and guest runtime; [Declare test services](https://www.sorus.run/docs/guides/services) contains configuration examples for future availability.

## Unsupported workloads

- Unrestricted internet access, external network services or package installation from public registries at job time.
- Alternative or private Cargo registries, SSH Git transports, or Git dependencies missing from the captured lockfile.
- Submodule contents of the submitted repository itself. This differs from submodules of a locked dependency.
- Absolute symlinks, links that escape the source tree, devices and other special source files.
- Arbitrary container images, service images or service entrypoints.
- Toolchains, targets or components that are not installed for the selected environment.
- Privileged workloads that require root, nested containers or unrestricted kernel access.

## Machine classes

Explicit `--size` values are `lathe-2cpu`, `lathe-4cpu`, `lathe-8cpu` and `lathe-16cpu`. Omit the option for automatic selection: usually 4 vCPU with usable prebuilt state or no retained state, and 8 vCPU while dependencies must compile cold. The service can select a larger class for the expected test outputs. The job's `size_decision` records why it chose the class.

## Limits

| Limit                        | Value                                                                  |
| ---------------------------- | ---------------------------------------------------------------------- |
| Job wall-clock ceiling       | 60–21,600 seconds when explicitly set; platform default 21,600 seconds |
| Source regular-file content  | 1 GiB                                                                  |
| Source file and link entries | 250,000                                                                |
| Source metadata              | 32 MiB                                                                 |
| Selected artifacts           | 64 files, 512 MiB per file, 2 GiB total                                |
| Artifact retrieval window    | 24 hours from original job admission                                   |

Repository settings can set a lower job ceiling; `--wall-clock-ceiling` overrides that setting for one job within the platform bounds. Scratch capacity, memory and concurrency are separate limits. Your organization's agreement sets its concurrency limit.

## Requesting support

Use your agreed support channel to ask about a workload that falls outside these limits. Include the commands, toolchains, services and dependencies it needs. Keep your existing CI available while assessing its compatibility.
