Improve pkg/workflow/compiler_test.go quality with clearer assertions and missing edge-case coverage
#33897
+100
−21