fix(release-gate): skip duplicate CI work and stop live LLM blowups

Shared paths like db.mjs were pulling PAGE/DATA live agent suites into every
hotfix. Keep those cases for actual page-data changes, resume passed suites on
the same artifact, and fail fast on Docker/port issues instead of rerunning 100+
scenarios.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-08-14 22:15:16 +08:00
parent 293ac69a76
commit 2f240e7500
14 changed files with 487 additions and 26 deletions
+4
View File
@@ -143,6 +143,10 @@ test('production canary verifies the exact Gate artifact before any 103 prefligh
assert.match(source, /run-release-gate-impact\.mjs/);
assert.match(source, /MEMIND_RELEASE_BASE_COMMIT/);
assert.match(source, /-z "\$\{DEPLOYED_SHA\}".*"\$\{DRY_RUN\}" -ne 1/);
assert.match(source, /resolve-release-ci-status\.mjs/);
assert.match(source, /skipping duplicate local npm test\/verify/);
const ciSkipIndex = source.indexOf('resolve-release-ci-status.mjs');
assert.ok(ciSkipIndex > 0 && ciSkipIndex < gateIndex, 'CI reuse must happen before Gate verification');
});
test('production canary keeps stable 8081 live and switches only after verified backups and fallback', async () => {