Summary
createTransformProcessor detects check mode via config.check === true (an optional boolean on a locally-extended type), not via config.runMode === "check" (the framework standard).
A caller passing a plain RunConfig — which has runMode but no check field — will never trigger check mode through this helper. The file will be written even when the runner is in "check" mode.
Affected file
javascript/tooling-core/src/repository/createTransformProcessor.ts:6,18
Correct pattern (used everywhere else)
if (config.runMode === "check") { ... }
See RepositoryRunner.ts:87 for the canonical usage.
Fix
Replace config.check === true with config.runMode === "check" in createTransformProcessor.ts. Remove the check?: boolean extension from the TConfig constraint if it is no longer needed.
Summary
createTransformProcessordetects check mode viaconfig.check === true(an optional boolean on a locally-extended type), not viaconfig.runMode === "check"(the framework standard).A caller passing a plain
RunConfig— which hasrunModebut nocheckfield — will never trigger check mode through this helper. The file will be written even when the runner is in"check"mode.Affected file
javascript/tooling-core/src/repository/createTransformProcessor.ts:6,18Correct pattern (used everywhere else)
See
RepositoryRunner.ts:87for the canonical usage.Fix
Replace
config.check === truewithconfig.runMode === "check"increateTransformProcessor.ts. Remove thecheck?: booleanextension from theTConfigconstraint if it is no longer needed.