refactor: make production gate impact only
Memind CI / Test, build, and release guards (push) Has been cancelled
Memind CI / Test, build, and release guards (push) Has been cancelled
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -76,7 +76,7 @@ try {
|
||||
...selectImpactScenarios({
|
||||
catalog,
|
||||
changedPaths,
|
||||
forceFullReasons: ancestry.code === 0
|
||||
blockingReasons: ancestry.code === 0
|
||||
? []
|
||||
: [`deployed_commit_not_ancestor:${report.selection.base_commit}`],
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user