chore(api): sync Management API OpenAPI spec #1099
test.yml
on: pull_request
Matrix: test-e2e
Check code quality
1m 26s
Run unit and integration tests
1m 33s
Run end-to-end tests
2s
Annotations
7 errors and 2 warnings
|
Check code quality
Process completed with exit code 1.
|
|
Run end-to-end tests (shard 2/3)
Process completed with exit code 1.
|
|
src/tests/config-push.e2e.test.ts > config push > emits HTTP trace with --debug:
apps/cli-e2e/src/tests/config-push.e2e.test.ts#L76
AssertionError: expected 1 to be +0 // Object.is equality
- Expected
+ Received
- 0
+ 1
❯ src/tests/config-push.e2e.test.ts:76:29
|
|
src/tests/config-push.e2e.test.ts > config push > reconciles every section against the remote:
apps/cli-e2e/src/tests/config-push.e2e.test.ts#L70
AssertionError: expected 1 to be +0 // Object.is equality
- Expected
+ Received
- 0
+ 1
❯ src/tests/config-push.e2e.test.ts:70:29
|
|
src/tests/config-push.e2e.test.ts > config push > parity: config push --yes --project-ref aaaaaaaaaaaaaaaaaaaa:
packages/cli-test-helpers/src/parity.ts#L293
Error: Parity failure: config push --yes --project-ref aaaaaaaaaaaaaaaaaaaa
✗ exit code: go=0, ts-legacy=1
✓ stdout matches
✗ stderr differs
✗ request log differs
✓ filesystem matches
─── stderr: go ───
Pushing config to project: aaaaaaaaaaaaaaaaaaaa
Remote API config is up to date.
Remote DB config is up to date.
Remote DB Network restrictions config is up to date.
Remote DB SSL enforcement config is up to date.
Updating Auth service with config: diff remote[auth] local[auth]
--- remote[auth]
+++ local[auth]
@@ -1,7 +1,7 @@
enabled = true
-site_url = "http://localhost:__PORT__"
+site_url = "https://example.com"
external_url = "http://127.0.0.1:54321/auth/v1"
-additional_redirect_urls = ["http://localhost:__PORT__/callback"]
+additional_redirect_urls = ["https://example.com/callback"]
jwt_expiry = 3600
jwt_issuer = "http://127.0.0.1:54321/auth/v1"
enable_refresh_token_rotation = true
Do you want to push auth config to remote? [Y/n] y
Remote Storage config is up to date.
Enabling webhooks for project: aaaaaaaaaaaaaaaaaaaa
Do you want to push webhooks config to remote? [Y/n] y
─── stderr: ts-legacy ───
Pushing config to project: aaaaaaaaaaaaaaaaaaaa
Remote API config is up to date.
Remote DB config is up to date.
Remote DB Network restrictions config is up to date.
Remote DB SSL enforcement config is up to date.
failed to read Auth config: SchemaError(Expected string, got null
<STACK_TRACE>
Try rerunning the command with --debug to troubleshoot the error.
─── request log: go ───
[
{
"method": "GET",
"pathname": "/v1/projects/aaaaaaaaaaaaaaaaaaaa/billing/addons",
"query": {},
"body": null
},
{
"method": "GET",
"pathname": "/v1/projects/aaaaaaaaaaaaaaaaaaaa/postgrest",
"query": {},
"body": null
},
{
"method": "GET",
"pathname": "/v1/projects/aaaaaaaaaaaaaaaaaaaa/config/database/postgres",
"query": {},
"body": null
},
{
"method": "GET",
"pathname": "/v1/projects/aaaaaaaaaaaaaaaaaaaa/network-restrictions",
"query": {},
"body": null
},
{
"method": "GET",
"pathname": "/v1/projects/aaaaaaaaaaaaaaaaaaaa/ssl-enforcement",
"query": {},
"body": null
},
{
"method": "GET",
"pathname": "/v1/projects/aaaaaaaaaaaaaaaaaaaa/config/auth",
"query": {},
"body": null
},
{
"method": "PATCH",
"pathname": "/v1/projects/aaaaaaaaaaaaaaaaaaaa/config/auth",
"query": {},
"body": {
"disable_signup": false,
"external_anonymous_users_enabled": false,
"external_apple_enabled": false,
"external_email_enabled": true,
"external_phone_enabled": false,
"external_web3_ethereum_enabled": false,
"external_web3_solana_enabled": false,
"jwt_exp": 3600,
"mailer_autoconfirm": true,
"mailer_otp_exp": 3600,
"mailer_otp_length": 6,
"mailer_secure_email_change_enabled": true,
"mfa_max_enrolled_factors": 10,
"mfa_phone_enroll_enabled": false,
"mfa_phone_max_frequency": 5,
"mfa_phone_otp_length": 6,
"mfa_phone_template": "Your code is {{ .Code }}",
"mfa_phone_verify_enabled": false,
"mfa_totp_enroll_enabled": false,
"mfa_totp_verify_enabled": false,
"mfa_web_authn_enroll_enabled": false,
"mfa_web_authn_verify_enabled": false,
"password_min_length": 8,
"password_required_characters": "",
"rate_limit_anonymous_users": 30,
"rate_limit_otp": 30,
"rate_limit_sms_sent": 30,
"rate_limit_token_refresh": 150,
"rate_limit_verify": 30,
"rate_limit_web3": 30,
"refresh_token_rotation_enabled": true,
"security_manual_linking_enabled": false,
"security_refresh_token_reuse_interval": 10,
"security_update_password_require_reauthentication": false,
"sessions_inactivity_timeout": 0,
"sessions_timebox": 0,
"site_url": "https://example.com",
"sms_autoconfirm": false,
"sms_max_frequency": 5,
"sms_template": "Your code is {{ .Code }}",
"smtp_max_frequency"
|
|
Run end-to-end tests
Process completed with exit code 1.
|
|
Run end-to-end tests
One or more e2e shards failed: failure
|
|
Run end-to-end tests (shard 2/3)
[git-mirror] Skipping cache commit: Found 2 failed/cancelled steps
|
|
Run end-to-end tests (shard 2/3)
[git-mirror] - Step: unknown (failed)
|