config_duration_empty

Diagnostic `nanook::config::duration_empty`

Summary

empty duration

Help

write a value like 5s, 2m, 1h30m

Details

When this fires

A duration string was empty (or all whitespace) when handed to the parser in crates/nanook-core/src/duration.rs. This typically happens when a duration opt in nanook.toml is set to "", or when a string built up from env interpolation collapsed to nothing. Hits happen during nanook check or nanook run config load, anywhere a duration is required.

What to check

Drop the field for the default (most duration fields are #[facet(default)]), or write a concrete value like 30s. If using ${RETRY:5s}-style interpolation, set the fallback or export the var.

# bad
cooldown = ""
# good
cooldown = "30s"