Skip to main content

Module schema

Module schema 

Source
Expand description

Configuration schema definitions for offload.

This module defines all configuration types that can be deserialized from TOML configuration files. The schema uses serde for serialization and tagged enums for provider/framework type selection.

§Schema Overview

Config (root)
├── OffloadConfig          - Core settings (parallelism, timeouts, retries)
├── ProviderConfig         - Tagged enum selecting provider type
│   ├── Local              - Local process execution
│   └── Default            - Custom remote execution (Modal, etc.)
├── Groups                 - Named test groups (HashMap<String, GroupConfig>)
│   └── GroupConfig        - Flattened FrameworkConfig (write [groups.name] directly)
│       ├── Pytest         - pytest test framework
│       ├── Cargo          - Rust/Cargo test framework
│       └── Default        - Custom shell-based framework
└── ReportConfig           - Output and reporting settings

Structs§

CargoFrameworkConfig
Configuration for Rust/Cargo test framework.
Config
Root configuration structure for offload.
DefaultFrameworkConfig
Configuration for generic/custom test framework.
DefaultProviderConfig
Configuration for custom remote execution provider.
GroupConfig
Configuration for a test group.
LocalProviderConfig
Configuration for the local process provider.
ModalProviderConfig
Configuration for the Modal cloud provider.
OffloadConfig
Core offload execution settings.
PytestFrameworkConfig
Configuration for pytest test framework.
ReportConfig
Configuration for test result reporting.
SandboxConfig
Runtime configuration passed to sandbox creation.

Enums§

FrameworkConfig
Test framework configuration specifying how tests are found and run.
ProviderConfig
Provider configuration specifying where tests run.