Context
In PR #283, DETERMINISM_PATHS in det-gates.yml was expanded from 1 crate to all 14 DET_CRITICAL crates. However, this list is hardcoded in the workflow YAML. If a new DET_CRITICAL crate is added to det-policy.yaml, the workflow won't automatically pick it up.
Desired Behavior
Generate the DETERMINISM_PATHS env var dynamically at CI time by reading det-policy.yaml and extracting all crate paths classified as DET_CRITICAL.
Options
- Script approach: Add a step that reads
det-policy.json and outputs paths
- classify_changes.cjs enhancement: Output DET_CRITICAL paths alongside classification
Acceptance Criteria
Context
In PR #283,
DETERMINISM_PATHSindet-gates.ymlwas expanded from 1 crate to all 14 DET_CRITICAL crates. However, this list is hardcoded in the workflow YAML. If a new DET_CRITICAL crate is added todet-policy.yaml, the workflow won't automatically pick it up.Desired Behavior
Generate the
DETERMINISM_PATHSenv var dynamically at CI time by readingdet-policy.yamland extracting all crate paths classified asDET_CRITICAL.Options
det-policy.jsonand outputs pathsAcceptance Criteria
DETERMINISM_PATHSis derived fromdet-policy.yamlat CI timedet-gates.yml