feat(M02-B): 实现微信登录与可撤销会话
This commit is contained in:
@@ -6,6 +6,9 @@ $requiredFiles = @(
|
||||
"backend/tsconfig.json",
|
||||
"backend/.env.example",
|
||||
"backend/src/app.ts",
|
||||
"backend/src/auth/auth-repository.ts",
|
||||
"backend/src/auth/jwt.ts",
|
||||
"backend/src/auth/wechat-client.ts",
|
||||
"backend/src/config.ts",
|
||||
"backend/src/db/mysql.ts",
|
||||
"backend/src/db/migration-runner.ts",
|
||||
@@ -16,6 +19,7 @@ $requiredFiles = @(
|
||||
"backend/src/tasks/worker.ts",
|
||||
"backend/src/routes/health.ts",
|
||||
"backend/src/routes/platform-bootstrap.ts",
|
||||
"backend/src/routes/auth.ts",
|
||||
"backend/src/tenancy/platform-config-repository.ts",
|
||||
"backend/src/server.ts",
|
||||
"backend/tests/backend-contract.test.mjs",
|
||||
@@ -26,6 +30,7 @@ $requiredFiles = @(
|
||||
"backend/tests/legacy-read-repository.test.mjs",
|
||||
"backend/tests/task-repository.test.mjs",
|
||||
"backend/tests/platform-config-repository.test.mjs",
|
||||
"backend/tests/auth.test.mjs",
|
||||
"scripts/dev/wsl/mysql-migration-roundtrip.sh",
|
||||
"database/migrations/2026061601_m01b_core_schema.up.sql",
|
||||
"database/migrations/2026061601_m01b_core_schema.down.sql",
|
||||
@@ -36,6 +41,9 @@ $requiredFiles = @(
|
||||
"database/migrations/2026061803_m02a_tenant_apps.up.sql",
|
||||
"database/migrations/2026061803_m02a_tenant_apps.down.sql",
|
||||
"database/migrations/2026061803_m02a_tenant_apps.verify.sql",
|
||||
"database/migrations/2026061804_m02b_wechat_auth.up.sql",
|
||||
"database/migrations/2026061804_m02b_wechat_auth.down.sql",
|
||||
"database/migrations/2026061804_m02b_wechat_auth.verify.sql",
|
||||
"database/seeds/2026061601_m01b_minimal_seed.sql",
|
||||
"deploy/pm2/ecosystem.config.cjs"
|
||||
)
|
||||
|
||||
@@ -93,6 +93,6 @@ export QIPAI_MYSQL_USER="${username}"
|
||||
export QIPAI_MYSQL_PASSWORD="${password}"
|
||||
export QIPAI_MYSQL_CONNECTION_LIMIT=2
|
||||
|
||||
echo "INFO: MySQL ${mysql_version}; running M01-B through M02-A migration roundtrip in a temporary database."
|
||||
echo "INFO: MySQL ${mysql_version}; running M01-B through M02-B migration roundtrip in a temporary database."
|
||||
npm --prefix backend run test:mysql:migration
|
||||
echo "PASS: M01-B through M02-A live MySQL migration roundtrip completed."
|
||||
echo "PASS: M01-B through M02-B live MySQL migration roundtrip completed."
|
||||
|
||||
Reference in New Issue
Block a user