Bug
archive validates action in UnmarshalYAML but does not validate format. An unknown value (e.g. format: rar) loads successfully, then supportedFormats[c.Format] returns a nil constructor and the call panics.
Where
internal/pkg/pipeline/task/archive/archive.go — UnmarshalYAML checks action only; Run indexes supportedFormats with no existence check.
Expected
Reject unknown format at config load, the same way action is rejected.
Found while auditing task READMEs in #96.
Bug
archivevalidatesactioninUnmarshalYAMLbut does not validateformat. An unknown value (e.g.format: rar) loads successfully, thensupportedFormats[c.Format]returns a nil constructor and the call panics.Where
internal/pkg/pipeline/task/archive/archive.go—UnmarshalYAMLchecks action only;RunindexessupportedFormatswith no existence check.Expected
Reject unknown
formatat config load, the same wayactionis rejected.Found while auditing task READMEs in #96.