refactor: make production gate impact only
Memind CI / Test, build, and release guards (push) Has been cancelled

This commit is contained in:
john
2026-07-28 01:13:28 +08:00
parent 864197162d
commit 7a381db132
14 changed files with 195 additions and 98 deletions
+2 -4
View File
@@ -6,7 +6,8 @@ function usage() {
node scripts/run-release-gate-impact.mjs --artifact .runtime/portal --deployed-commit <sha>
Runs the compact production core Gate plus scenarios selected from the Git diff.
Critical, shared, or unmapped runtime changes automatically expand to the full catalog.`);
Critical and shared paths expand their mapped impact domains. Unmapped paths or
an invalid production baseline block release until the impact map is updated.`);
}
try {
@@ -25,9 +26,6 @@ try {
console.log(`selected=${selection.selected_total}/${selection.catalog_total}`);
console.log(`impact_groups=${selection.impact_groups.join(',') || 'none'}`);
console.log(`changed_paths=${selection.changed_paths.length}`);
} else {
console.log('strategy=full');
console.log('reason=deployed_commit_unavailable');
}
console.log(JSON.stringify(summary));
const passed = summary.failed === 0
+1 -1
View File
@@ -76,7 +76,7 @@ try {
...selectImpactScenarios({
catalog,
changedPaths,
forceFullReasons: ancestry.code === 0
blockingReasons: ancestry.code === 0
? []
: [`deployed_commit_not_ancestor:${report.selection.base_commit}`],
}),