fix(ql3): close adopted lineage acceptance gates

This commit is contained in:
whyour
2026-08-21 15:35:48 +08:00
parent 4f6be5bc2c
commit b714f2bf18
9 changed files with 155 additions and 18 deletions
@@ -70,6 +70,10 @@ async function main() {
root,
'packages/ql3-local-owner-cli/dist/deployment/localDeployment.js',
));
const { LOCAL_SQLITE_CONTRACT_VERSION } = require(path.join(
root,
'packages/ql3-local-sqlite/dist/readiness/readinessInspection.js',
));
const temporaryRoot = fs.realpathSync(
fs.mkdtempSync(path.join(os.tmpdir(), 'ql3-compose-preflight-')),
);
@@ -157,7 +161,7 @@ async function main() {
report.status !== 'ready' ||
report.generation !== 1 ||
report.profile !== input.profile ||
report.sqlite?.contractVersion !== 44 ||
report.sqlite?.contractVersion !== LOCAL_SQLITE_CONTRACT_VERSION ||
(report.image?.architecture !== 'amd64' &&
report.image?.architecture !== 'arm64') ||
report.service?.kind !== 'compose'