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 settingsStructs§
- Cargo
Framework Config - Configuration for Rust/Cargo test framework.
- Config
- Root configuration structure for offload.
- Default
Framework Config - Configuration for generic/custom test framework.
- Default
Provider Config - Configuration for custom remote execution provider.
- Group
Config - Configuration for a test group.
- Local
Provider Config - Configuration for the local process provider.
- Modal
Provider Config - Configuration for the Modal cloud provider.
- Offload
Config - Core offload execution settings.
- Pytest
Framework Config - Configuration for pytest test framework.
- Report
Config - Configuration for test result reporting.
- Sandbox
Config - Runtime configuration passed to sandbox creation.
Enums§
- Framework
Config - Test framework configuration specifying how tests are found and run.
- Provider
Config - Provider configuration specifying where tests run.