fix(saas): validate release lifecycle in live multi-tenant deployment

This commit is contained in:
2026-09-11 13:54:55 +08:00
parent 78bb14ff40
commit 1a8f436170
3 changed files with 20 additions and 18 deletions

View File

@@ -24,7 +24,7 @@
} }
}, },
"dependencies": { "dependencies": {
"@cool-midway/module-runtime": "9.0.4", "@cool-midway/module-runtime": "9.0.5",
"@cool-midway/rpc": "9.0.7", "@cool-midway/rpc": "9.0.7",
"@midwayjs/bootstrap": "^3.20.3", "@midwayjs/bootstrap": "^3.20.3",
"@midwayjs/core": "^3.20.3", "@midwayjs/core": "^3.20.3",

16
pnpm-lock.yaml generated
View File

@@ -9,11 +9,11 @@ importers:
.: .:
dependencies: dependencies:
'@cool-midway/module-runtime': '@cool-midway/module-runtime':
specifier: 9.0.4 specifier: 9.0.5
version: 9.0.4(@cool-midway/typeorm@0.3.20(ioredis@5.11.1)(mysql2@3.24.3(@types/node@22.10.7)))(@midwayjs/core@3.20.24) version: 9.0.5(@cool-midway/typeorm@0.3.20(ioredis@5.11.1)(mysql2@3.24.3(@types/node@22.10.7)))(@midwayjs/core@3.20.24)
'@cool-midway/rpc': '@cool-midway/rpc':
specifier: 9.0.7 specifier: 9.0.7
version: 9.0.7(@cool-midway/module-runtime@9.0.4(@cool-midway/typeorm@0.3.20(ioredis@5.11.1)(mysql2@3.24.3(@types/node@22.10.7)))(@midwayjs/core@3.20.24))(@midwayjs/validate@3.20.24)(debug@4.4.3) version: 9.0.7(@cool-midway/module-runtime@9.0.5(@cool-midway/typeorm@0.3.20(ioredis@5.11.1)(mysql2@3.24.3(@types/node@22.10.7)))(@midwayjs/core@3.20.24))(@midwayjs/validate@3.20.24)(debug@4.4.3)
'@midwayjs/bootstrap': '@midwayjs/bootstrap':
specifier: ^3.20.3 specifier: ^3.20.3
version: 3.20.24 version: 3.20.24
@@ -72,8 +72,8 @@ packages:
resolution: {integrity: sha512-Kf4x3IrWnBM5o2k3hdHhDt7ujBG7MLn5JXV4o8glKEh4pqdzgoe/HgTcEvtdpIRvy80MsnIt5ZlH1Eq54qV4uQ==} resolution: {integrity: sha512-Kf4x3IrWnBM5o2k3hdHhDt7ujBG7MLn5JXV4o8glKEh4pqdzgoe/HgTcEvtdpIRvy80MsnIt5ZlH1Eq54qV4uQ==}
hasBin: true hasBin: true
'@cool-midway/module-runtime@9.0.4': '@cool-midway/module-runtime@9.0.5':
resolution: {integrity: sha512-+AymfzB+dQthDSkR72JIcwJrWqwhsa+oyewDYMIma2xPkKaXYvBb/3gi9qzW/08z4w+xmmoKKNcFBXcIc9DOVg==} resolution: {integrity: sha512-gpTbyMdHb5LXLQx+hyxa58m5cZeqezu9XjRUnS665jGd9I0cVQOzgBGVDDjNXfFhNLzLkkz0Vpsaor9ayMP6Hg==}
peerDependencies: peerDependencies:
'@midwayjs/core': '>=3.20.0' '@midwayjs/core': '>=3.20.0'
typeorm: '>=0.3.20' typeorm: '>=0.3.20'
@@ -2493,14 +2493,14 @@ snapshots:
- supports-color - supports-color
- utf-8-validate - utf-8-validate
'@cool-midway/module-runtime@9.0.4(@cool-midway/typeorm@0.3.20(ioredis@5.11.1)(mysql2@3.24.3(@types/node@22.10.7)))(@midwayjs/core@3.20.24)': '@cool-midway/module-runtime@9.0.5(@cool-midway/typeorm@0.3.20(ioredis@5.11.1)(mysql2@3.24.3(@types/node@22.10.7)))(@midwayjs/core@3.20.24)':
dependencies: dependencies:
'@midwayjs/core': 3.20.24 '@midwayjs/core': 3.20.24
typeorm: '@cool-midway/typeorm@0.3.20(ioredis@5.11.1)(mysql2@3.24.3(@types/node@22.10.7))' typeorm: '@cool-midway/typeorm@0.3.20(ioredis@5.11.1)(mysql2@3.24.3(@types/node@22.10.7))'
'@cool-midway/rpc@9.0.7(@cool-midway/module-runtime@9.0.4(@cool-midway/typeorm@0.3.20(ioredis@5.11.1)(mysql2@3.24.3(@types/node@22.10.7)))(@midwayjs/core@3.20.24))(@midwayjs/validate@3.20.24)(debug@4.4.3)': '@cool-midway/rpc@9.0.7(@cool-midway/module-runtime@9.0.5(@cool-midway/typeorm@0.3.20(ioredis@5.11.1)(mysql2@3.24.3(@types/node@22.10.7)))(@midwayjs/core@3.20.24))(@midwayjs/validate@3.20.24)(debug@4.4.3)':
dependencies: dependencies:
'@cool-midway/module-runtime': 9.0.4(@cool-midway/typeorm@0.3.20(ioredis@5.11.1)(mysql2@3.24.3(@types/node@22.10.7)))(@midwayjs/core@3.20.24) '@cool-midway/module-runtime': 9.0.5(@cool-midway/typeorm@0.3.20(ioredis@5.11.1)(mysql2@3.24.3(@types/node@22.10.7)))(@midwayjs/core@3.20.24)
'@midwayjs/validate': 3.20.24 '@midwayjs/validate': 3.20.24
ioredis: 5.11.1 ioredis: 5.11.1
moleculer: 0.14.36(debug@4.4.3)(ioredis@5.11.1) moleculer: 0.14.36(debug@4.4.3)(ioredis@5.11.1)

View File

@@ -111,11 +111,9 @@
}, },
{ {
"name": "@cool-midway/module-runtime", "name": "@cool-midway/module-runtime",
"version": "9.0.4", "version": "9.0.5",
"registry": "https://npm.blendercg.art/", "sha256": "fe69a620a63986000272796b38d2b1741604ae123c25fea9ba4ce527a8bd8e9e",
"tarball": "https://npm.blendercg.art/@cool-midway/module-runtime/-/module-runtime-9.0.4.tgz", "integrity": "sha512-gpTbyMdHb5LXLQx+hyxa58m5cZeqezu9XjRUnS665jGd9I0cVQOzgBGVDDjNXfFhNLzLkkz0Vpsaor9ayMP6Hg==",
"integrity": "sha512-+AymfzB+dQthDSkR72JIcwJrWqwhsa+oyewDYMIma2xPkKaXYvBb/3gi9qzW/08z4w+xmmoKKNcFBXcIc9DOVg==",
"sha256": "f6d0434f25d273790ce0f4cc251acd6bec2d9f68309e636db5d42c5935f443f4",
"files": { "files": {
"dist/action.js": "86b35ec3d9d020f253cfa42f8030444da39a9742f6480c94010cc342056e0e4a", "dist/action.js": "86b35ec3d9d020f253cfa42f8030444da39a9742f6480c94010cc342056e0e4a",
"dist/adapter.js": "d43aa81f5bc89faa359e0f97c814ba25155591ff078fbb9bfd40f8c7c9683230", "dist/adapter.js": "d43aa81f5bc89faa359e0f97c814ba25155591ff078fbb9bfd40f8c7c9683230",
@@ -125,7 +123,7 @@
"dist/consumer.js": "d687ab5017176e3082ba368f7885c8a1ee6b5246345d33a6f75e3d0a9760ac55", "dist/consumer.js": "d687ab5017176e3082ba368f7885c8a1ee6b5246345d33a6f75e3d0a9760ac55",
"dist/context.js": "eb2b3c97119f94c7f52498b591b7e63fe51b1ef8194b3b9cf6dbea6d0af555e7", "dist/context.js": "eb2b3c97119f94c7f52498b591b7e63fe51b1ef8194b3b9cf6dbea6d0af555e7",
"dist/crud-host.js": "19ab92b9744f8cb671c4dcbfce288160c60e008f14a0b018f38a1c0de55aa4b8", "dist/crud-host.js": "19ab92b9744f8cb671c4dcbfce288160c60e008f14a0b018f38a1c0de55aa4b8",
"dist/crud.js": "4d6affec833831e20e21c5bba4cbdd993454e33bab62af53891d6ce6b4720576", "dist/crud.js": "235a6ce66b54373c80bbba8ea444162ef44e8fa34863cb30be59b62b8a008043",
"dist/data.js": "575f801b991a7c35af9a9d8b33374976bb8e87948f3fee6ba10b45e957bcb15a", "dist/data.js": "575f801b991a7c35af9a9d8b33374976bb8e87948f3fee6ba10b45e957bcb15a",
"dist/error.js": "f2dced066aef06c895d00285ecf69d52203bfce1635539a4b8c88d9de2a733d3", "dist/error.js": "f2dced066aef06c895d00285ecf69d52203bfce1635539a4b8c88d9de2a733d3",
"dist/event-writer-migration.js": "deee4d33d7c3049f2ab9f6a9605cfea17aaf9536db7d3d1305f4903d48ff5e4f", "dist/event-writer-migration.js": "deee4d33d7c3049f2ab9f6a9605cfea17aaf9536db7d3d1305f4903d48ff5e4f",
@@ -157,7 +155,7 @@
"dist/workflow-reply-authority.js": "90ad7bbd35bcc4a0a788d33721cdbc3ec54f5c28ebce288317a40152de50bb10", "dist/workflow-reply-authority.js": "90ad7bbd35bcc4a0a788d33721cdbc3ec54f5c28ebce288317a40152de50bb10",
"dist/workflow.js": "79e25c6e0dc24c6b2277c18b02bedf4fda60754947ae1917b0b9cb2eecb53af3", "dist/workflow.js": "79e25c6e0dc24c6b2277c18b02bedf4fda60754947ae1917b0b9cb2eecb53af3",
"dist/write-fence.js": "95c6af20da75ca92a0149023ebbc515525ddbcd50da3e284209b77536bc2a5f2", "dist/write-fence.js": "95c6af20da75ca92a0149023ebbc515525ddbcd50da3e284209b77536bc2a5f2",
"package.json": "58342d3e7e87a7196d4066c789ca91acae542a7252cf33f787586ab31a0a91a5", "package.json": "a6a024b36260a874d41d7aa30716b2574c9c2b700974392132fb08e2a724071c",
"dist/action.d.ts": "8d0c6d6055c1acc4a6a6e70fdb83a70a81693965b20adf2afa0290245cd649cd", "dist/action.d.ts": "8d0c6d6055c1acc4a6a6e70fdb83a70a81693965b20adf2afa0290245cd649cd",
"adapter.d.ts": "ffa850716087cae3e3ef5f5bb54835143d16bcb3ad42b044c0f16aba08209074", "adapter.d.ts": "ffa850716087cae3e3ef5f5bb54835143d16bcb3ad42b044c0f16aba08209074",
"dist/adapter.d.ts": "5d69aa3eeeb1406731554f9eec8c770b7e83fe92994dc205a2b6df74ab1bd841", "dist/adapter.d.ts": "5d69aa3eeeb1406731554f9eec8c770b7e83fe92994dc205a2b6df74ab1bd841",
@@ -169,7 +167,7 @@
"dist/crud-host.d.ts": "9db03a23d96f3e982814ccc432209ffb36923bdc0e44b971121eb6c71a720364", "dist/crud-host.d.ts": "9db03a23d96f3e982814ccc432209ffb36923bdc0e44b971121eb6c71a720364",
"dist/crud.d.ts": "ac9c86a22ac52a19314707eac25e4a148b25fcfc9e6b0b68c9be05685cc0524e", "dist/crud.d.ts": "ac9c86a22ac52a19314707eac25e4a148b25fcfc9e6b0b68c9be05685cc0524e",
"dist/data.d.ts": "7a0a42b4f3bb4c437168ec7a0ed8cb85380dfb17598629abd95c373be91db352", "dist/data.d.ts": "7a0a42b4f3bb4c437168ec7a0ed8cb85380dfb17598629abd95c373be91db352",
"dist/error.d.ts": "890eaac4c178a55c7e4c4c606a31584e9dc29da3baeebf97e5d45d734813b924", "dist/error.d.ts": "e15a1854a77f11075da62dab2bd6b4ac16757440a70dd64301c1671b692707fc",
"dist/event-writer-migration.d.ts": "dd22ca345f7b15a5297b4c0d2265d1fe81fbb4507455c6aacfd037d85e7acf93", "dist/event-writer-migration.d.ts": "dd22ca345f7b15a5297b4c0d2265d1fe81fbb4507455c6aacfd037d85e7acf93",
"dist/event-writer.d.ts": "a3808988437bc0633a718d6600dfb3a2a930f25be7daeb69d61c2f55aa2b7171", "dist/event-writer.d.ts": "a3808988437bc0633a718d6600dfb3a2a930f25be7daeb69d61c2f55aa2b7171",
"dist/decorator/event.d.ts": "23cb20746ac54b5846774e03496c4f335c265773c044795ea07d727e7fe4859b", "dist/decorator/event.d.ts": "23cb20746ac54b5846774e03496c4f335c265773c044795ea07d727e7fe4859b",
@@ -201,7 +199,11 @@
"dist/workflow-reply-authority.d.ts": "45c5b1071f779397e4a870f9663eab2c0b1fea22df6901b314201ca0549efd51", "dist/workflow-reply-authority.d.ts": "45c5b1071f779397e4a870f9663eab2c0b1fea22df6901b314201ca0549efd51",
"dist/workflow.d.ts": "305566d5e30723285b2f4cc227577a8c003a7dd9f1628796fa8fe825c45874fa", "dist/workflow.d.ts": "305566d5e30723285b2f4cc227577a8c003a7dd9f1628796fa8fe825c45874fa",
"dist/write-fence.d.ts": "1623b1129c45481d165b604f7ca8090bfdc4eef278aab1a3dc1740cbf42bae15" "dist/write-fence.d.ts": "1623b1129c45481d165b604f7ca8090bfdc4eef278aab1a3dc1740cbf42bae15"
} },
"fileCount": 85,
"credentialScanPassed": true,
"registry": "https://npm.blendercg.art/",
"tarball": "https://npm.blendercg.art/@cool-midway/module-runtime/-/module-runtime-9.0.5.tgz"
}, },
{ {
"name": "@cool-midway/rpc", "name": "@cool-midway/rpc",