thoa envs

The thoa envs command group lets you view and inspect the compute environments associated with your jobs.

When you submit a job with --tools or --env-source, Thoa builds and validates a conda environment. This environment is saved with a UUID and can be reused in future jobs using --env-id, avoiding the rebuild step.


Environment Statuses

StatusMeaning
createdEnvironment record created; build not yet started
validatingEnvironment is currently being built and validated
validatedBuild succeeded; environment is ready to use with --env-id
validation_failedBuild failed; check build logs with thoa envs show <uuid> -v

Examples

List all your environments

thoa envs list

Show the 5 most recent environments

thoa envs list --number 5

Inspect a specific environment

thoa envs show b0f9fefe-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Inspect with full build logs (useful for debugging failures)

thoa envs show b0f9fefe-xxxx-xxxx-xxxx-xxxxxxxxxxxx --verbose

Commands

thoa envs list

Displays all your environments in a table:

ColumnDescription
IDFull environment UUID (use this with --env-id)
TypeEnvironment type (e.g. conda)
StatusColor-coded: green = validated, red = failed, blue = validating, yellow = created
CreatedWhen the environment was created
ToolsFirst few packages from the environment spec
thoa envs list
FlagDescription
--number, -nLimit how many environments to display

thoa envs show <UUID>

Prints full details of a single environment: ID, type, status, created/updated timestamps, and the full conda spec YAML.

thoa envs show b0f9fefe-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Add --verbose (or -v) to also print the build logs. This is especially useful for diagnosing why an environment failed to validate:

thoa envs show b0f9fefe-xxxx-xxxx-xxxx-xxxxxxxxxxxx -v
FlagDescription
--verbose, -vAlso print environment build logs