chore: gate launch on PNVS diagnostics

This commit is contained in:
Codex
2026-07-04 00:06:30 +08:00
parent 287c2476c6
commit 1f897c8451
4 changed files with 68 additions and 1 deletions

View File

@@ -38,6 +38,22 @@ const gateChecks = [
commandIncludes: 'smoke:auth:remote',
summary: { failed: 0, requireAdminTokens: true },
},
{
id: 'auth.sms-pnvs-diagnostics',
label: 'Aliyun PNVS SMS provider diagnostics',
commandIncludes: 'diagnose:aliyun-pnvs',
summary: {
ok: true,
'env.providerMatchesPnvs': true,
'provider.found': true,
'provider.provider': 'aliyun-pnvs',
'provider.status': { oneOf: ['active', 'testing'] },
'provider.publicConfig.templateParamHasCodePlaceholder': true,
'secret.found': true,
'secret.accessKeyIdLength': { gt: 0 },
'secret.accessKeySecretLength': { gt: 0 },
},
},
{
id: 'auth.sms-pnvs-remote-smoke',
label: 'Remote Aliyun PNVS SMS login smoke',