Skip to content

[Feat]: set flag to disable billing (#1417) #12728

[Feat]: set flag to disable billing (#1417)

[Feat]: set flag to disable billing (#1417) #12728

Triggered via push May 6, 2026 21:58
Status Failure
Total duration 36m 58s
Artifacts
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 2 warnings
E2E Tests (Node 22.x, Freestyle mock)
Process completed with exit code 1.
src/auto-migrations/migration-tests.test.ts > database migration tests > 20260420000000_add_project_onboarding_state > default-and-updates: apps/backend/prisma/migrations/20260420000000_add_project_onboarding_state/tests/default-and-updates.ts#L42
Error: Snapshot `database migration tests > 20260420000000_add_project_onboarding_state > default-and-updates 1` mismatched - Expected + Received - { - "selected_apps": [ - "authentication", - "emails", - ], - "selected_config_choice": "create-new", - "selected_email_theme_id": null, - "selected_payments_country": "US", - "selected_sign_in_methods": [ - "credential", - "magicLink", - ], - } + "{"selected_config_choice":"create-new","selected_apps":["authentication","emails"],"selected_sign_in_methods":["credential","magicLink"],"selected_email_theme_id":null,"selected_payments_country":"US"}" ❯ Module.postMigration prisma/migrations/20260420000000_add_project_onboarding_state/tests/default-and-updates.ts:42:42 ❯ src/auto-migrations/migration-tests.test.ts:148:13
tests/backend/endpoints/api/v1/internal/failed-emails-digest.test.ts > with valid credentials > should return 200 and process dry run request: apps/e2e/tests/backend/endpoints/api/v1/internal/failed-emails-digest.test.ts#L127
Error: Snapshot `with valid credentials > should return 200 and process dry run request 54` mismatched - Expected + Received [ { "emails": [ { - "subject": "", - "to": ["User ID: <stripped UUID>"], - }, - { "subject": "Verify your email at Test Failed Emails Project", "to": ["default-mailbox--<stripped UUID>@stack-generated.example.com"], }, ], "project_id": "<stripped UUID>", "tenancy_id": "<stripped UUID>", - "tenant_owner_emails": [ - "default-mailbox--<stripped UUID>@stack-generated.example.com", - "default-mailbox--<stripped UUID>@stack-generated.example.com", - ], + "tenant_owner_emails": ["default-mailbox--<stripped UUID>@stack-generated.example.com"], }, ] ❯ testFailedEmails tests/backend/endpoints/api/v1/internal/failed-emails-digest.test.ts:127:39 ❯ it.repeats tests/backend/endpoints/api/v1/internal/failed-emails-digest.test.ts:158:37
tests/backend/endpoints/api/v1/internal-metrics.test.ts > should return metrics data with users: apps/e2e/tests/backend/endpoints/api/v1/internal-metrics.test.ts#L179
Error: Snapshot `should return metrics data with users > metrics_result_with_users 1` mismatched - Expected + Received @@ -5,29 +5,19 @@ "AQ": [ { "display_name": null, "id": "<stripped UUID>", "last_active_at_millis": <stripped field 'last_active_at_millis'>, - "primary_email": "mailbox-1--<stripped UUID>@stack-generated.example.com", - "profile_image_url": null, - "signed_up_at_millis": <stripped field 'signed_up_at_millis'>, - }, - { - "display_name": null, - "id": "<stripped UUID>", - "last_active_at_millis": <stripped field 'last_active_at_millis'>, "primary_email": "mailbox-2--<stripped UUID>@stack-generated.example.com", "profile_image_url": null, "signed_up_at_millis": <stripped field 'signed_up_at_millis'>, }, - ], - "CH": [ { "display_name": null, "id": "<stripped UUID>", "last_active_at_millis": <stripped field 'last_active_at_millis'>, - "primary_email": "mailbox-3--<stripped UUID>@stack-generated.example.com", + "primary_email": "mailbox-1--<stripped UUID>@stack-generated.example.com", "profile_image_url": null, "signed_up_at_millis": <stripped field 'signed_up_at_millis'>, }, ], }, @@ -3021,12 +3011,9 @@ "server_metadata": null, "signed_up_at_millis": <stripped field 'signed_up_at_millis'>, }, ], "total_users": 9, - "users_by_country": { - "AQ": 2, - "CH": 1, - }, + "users_by_country": { "AQ": 2 }, }, "headers": Headers { <some fields may have been hidden> }, } ❯ it.timeout tests/backend/endpoints/api/v1/internal-metrics.test.ts:179:20
tests/backend/endpoints/api/v1/auth-flows.test.ts > signs in with password first, then signs in with oauth should give an account with used_for_auth true with the new defaults: apps/e2e/tests/helpers.ts#L254
StackAssertionError: Expected at least 1 messages with subject containing "Verify your email", but found 0 This is likely an error in Stack. Please make sure you are running the newest version and report it. ❯ Mailbox.waitForMessagesWithSubjectCount tests/helpers.ts:254:13 ❯ Mailbox.waitForMessagesWithSubject tests/helpers.ts:240:14 ❯ Object.signUpWithEmail tests/backend/backend-helpers.ts:586:9 ❯ tests/backend/endpoints/api/v1/auth-flows.test.ts:128:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { extraData: { messages: [] }, customCaptureExtraArgs: [ { messages: [] } ] }
tests/backend/endpoints/api/v1/auth-flows.test.ts > should not be able to sign in with OTP anymore after signing in with password first: apps/e2e/tests/helpers.ts#L254
StackAssertionError: Expected at least 1 messages with subject containing "Verify your email", but found 0 This is likely an error in Stack. Please make sure you are running the newest version and report it. ❯ Mailbox.waitForMessagesWithSubjectCount tests/helpers.ts:254:13 ❯ Mailbox.waitForMessagesWithSubject tests/helpers.ts:240:14 ❯ Object.signUpWithEmail tests/backend/backend-helpers.ts:586:9 ❯ tests/backend/endpoints/api/v1/auth-flows.test.ts:71:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { extraData: { messages: [] }, customCaptureExtraArgs: [ { messages: [] } ] }
src/lib/stack-app/apps/implementations/client-app-impl.oauth-prefetch.test.ts: packages/template/src/lib/stack-app/apps/implementations/common.ts#L20
StackAssertionError: Client version was not replaced. Something went wrong during build! This is likely an error in Stack. Please make sure you are running the newest version and report it. ❯ src/lib/stack-app/apps/implementations/common.ts:20:9 ❯ src/lib/stack-app/apps/implementations/admin-app-impl.ts:11:32 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { extraData: undefined, customCaptureExtraArgs: [ undefined ] }
src/lib/stack-app/apps/implementations/client-app-impl.oauth-prefetch.test.ts: packages/react/src/lib/stack-app/apps/implementations/common.ts#L24
StackAssertionError: Client version was not replaced. Something went wrong during build! This is likely an error in Stack. Please make sure you are running the newest version and report it. ❯ src/lib/stack-app/apps/implementations/common.ts:24:9 ❯ src/lib/stack-app/apps/implementations/admin-app-impl.ts:11:32 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { extraData: undefined, customCaptureExtraArgs: [ undefined ] }
src/lib/stack-app/apps/implementations/client-app-impl.oauth-prefetch.test.ts: packages/stack/src/lib/stack-app/apps/implementations/common.ts#L24
StackAssertionError: Client version was not replaced. Something went wrong during build! This is likely an error in Stack. Please make sure you are running the newest version and report it. ❯ src/lib/stack-app/apps/implementations/common.ts:24:9 ❯ src/lib/stack-app/apps/implementations/admin-app-impl.ts:11:32 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { extraData: undefined, customCaptureExtraArgs: [ undefined ] }
src/lib/stack-app/apps/implementations/client-app-impl.oauth-prefetch.test.ts: packages/js/src/lib/stack-app/apps/implementations/common.ts#L23
StackAssertionError: Client version was not replaced. Something went wrong during build! This is likely an error in Stack. Please make sure you are running the newest version and report it. ❯ src/lib/stack-app/apps/implementations/common.ts:23:9 ❯ src/lib/stack-app/apps/implementations/admin-app-impl.ts:10:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { extraData: undefined, customCaptureExtraArgs: [ undefined ] }
E2E Tests (Node 22.x, Freestyle prod)
The strategy configuration was canceled because "build._22_x_mock" failed
E2E Tests (Node 22.x, Freestyle prod)
The operation was canceled.
E2E Tests (Node 22.x, Freestyle mock)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: JarvusInnovations/background-action@v1.0.7, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
E2E Tests (Node 22.x, Freestyle prod)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: JarvusInnovations/background-action@v1.0.7, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/