Bug
action is not validated. Anything other than compress takes the decompress path, so a typo (compres, uncompress, empty after override) silently inverts the task. format is validated at load; action is not.
Where
internal/pkg/pipeline/task/compress/compress.go — Run uses if c.Action == defaultAction { compress } else { decompress }.
Expected
Reject unknown action at config load. Only compress and decompress should be accepted.
Found while auditing task READMEs in #96.
Bug
actionis not validated. Anything other thancompresstakes the decompress path, so a typo (compres,uncompress, empty after override) silently inverts the task.formatis validated at load;actionis not.Where
internal/pkg/pipeline/task/compress/compress.go—Runusesif c.Action == defaultAction { compress } else { decompress }.Expected
Reject unknown
actionat config load. Onlycompressanddecompressshould be accepted.Found while auditing task READMEs in #96.