When a build or deploy name contains a hyphen (e.g. shared-lib), the generator emits the change-detection if: referencing a sanitized variable (run_build_shared_lib, hyphen to underscore) but writes the corresponding output key with the raw name (run_build_shared-lib). The names never match, so the condition is always false and the build/deploy is silently skipped. Found while scaffolding cascade-example-primary (worked around by renaming to sharedlib). Fix: sanitize the output key and the if: reference consistently (both should use the same normalized identifier). Add a generator test with a hyphenated name.
When a build or deploy name contains a hyphen (e.g.
shared-lib), the generator emits the change-detectionif:referencing a sanitized variable (run_build_shared_lib, hyphen to underscore) but writes the corresponding output key with the raw name (run_build_shared-lib). The names never match, so the condition is always false and the build/deploy is silently skipped. Found while scaffolding cascade-example-primary (worked around by renaming tosharedlib). Fix: sanitize the output key and the if: reference consistently (both should use the same normalized identifier). Add a generator test with a hyphenated name.