diff --git a/scripts/templates/ql3-local-alpha-upgrade-cutover-rehearsal.sh b/scripts/templates/ql3-local-alpha-upgrade-cutover-rehearsal.sh index 36b27464..fd9b37ba 100644 --- a/scripts/templates/ql3-local-alpha-upgrade-cutover-rehearsal.sh +++ b/scripts/templates/ql3-local-alpha-upgrade-cutover-rehearsal.sh @@ -280,6 +280,8 @@ phase 'stop target and prove rollback candidate' run_deploy cutover-target-stop target-stop.json target-stop.result.json printf '%s' 'QingLong Local Alpha target-stop result: ' >&2 sed -n '1p' "$rehearsal_root/results/target-stop.result.json" >&2 +printf '%s' 'QingLong Local Alpha target-stop evidence: ' >&2 +sed -n '1p' "$rehearsal_root/service/cutovers/alpha-upgrade-cutover/0006-target-stop-outcome.json" >&2 grep -q '"reconciliation":"rollback_candidate"' "$rehearsal_root/results/target-stop.result.json" || fail 'target stop did not produce a clean rollback candidate' [ "$(sha256sum "$legacy_root/db/database.sqlite" | sed 's/ .*//')" = "$legacy_sha256" ] || fail 'legacy database changed during rehearsal' diff --git a/test/back/ql3LocalAlphaTrialKitBundle.test.cjs b/test/back/ql3LocalAlphaTrialKitBundle.test.cjs index 536c41e7..9e19ad05 100644 --- a/test/back/ql3LocalAlphaTrialKitBundle.test.cjs +++ b/test/back/ql3LocalAlphaTrialKitBundle.test.cjs @@ -272,6 +272,10 @@ test('materializes and offline-audits one closed two-image trial kit', (t) => { cutoverRehearsalContents, /QingLong Local Alpha target-stop result:/, ); + assert.match( + cutoverRehearsalContents, + /QingLong Local Alpha target-stop evidence:/, + ); const report = auditLocalAlphaTrialKit({ bundleRoot: paths.outputRoot }); assert.equal(report.compatible, true); assert.equal(report.sourceRevision, revision);