Skip to content

Rename STACK_SEED_INTERNAL_PROJECT_PUBLISHABLE_CLIENT_KEY to STACK_IN… #12692

Rename STACK_SEED_INTERNAL_PROJECT_PUBLISHABLE_CLIENT_KEY to STACK_IN…

Rename STACK_SEED_INTERNAL_PROJECT_PUBLISHABLE_CLIENT_KEY to STACK_IN… #12692

Triggered via push May 6, 2026 16:10
Status Failure
Total duration 1h 21m 27s
Artifacts
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 2 warnings
tests/backend/endpoints/api/v1/internal/failed-emails-digest.test.ts > with valid credentials > should return 200 and not send digest email when all emails are successful and dry run is enabled: apps/e2e/tests/backend/backend-helpers.ts#L494
StackAssertionError: Sign-in code message not found after 40 attempts This is likely an error in Stack. Please make sure you are running the newest version and report it. ❯ sendSignInCode tests/backend/backend-helpers.ts:494:17 ❯ Object.signIn tests/backend/backend-helpers.ts:507:33 ❯ tests/backend/endpoints/api/v1/internal/failed-emails-digest.test.ts:175:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { extraData: { response: { status: 200, headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { nonce: 'wm6rntqb6vph8wgdd9ew9vwwsvpgk5zrqh9gsjr' }, fromRequestInit: { method: 'POST', body: '{"email":"default-mailbox--81eb9e9d-3b56-4262-9d31-cfd52a9d9f95@stack-generated.example.com","callback_url":"http://localhost:12345/some-callback-url","bot_challenge_token":"mock-turnstile-ok:send_magic_link_email"}', headers: { 'content-type': 'application/json', 'x-stack-access-type': 'client', 'x-stack-project-id': 'internal', 'x-stack-publishable-client-key': 'this-publishable-client-key-is-for-local-development-only', 'x-stack-secret-server-key': 'this-secret-server-key-is-for-local-development-only', 'x-stack-super-secret-admin-key': 'this-super-secret-admin-key-is-for-local-development-only', 'x-stack-allow-anonymous-user': 'true' } }, constructor: 'Function<NiceResponse>', getNicifiableKeys: 'Function<getNicifiableKeys>', follow: 'Function<follow>' }, messages: [], outboxEmails: [ { id: '531e0e6b-178d-4433-b62a-8de2125050a5', created_at_millis: 1778087707113, updated_at_millis: 1778087707356, tsx_source: 'import { type } from "arktype"\nimport { Button, Section, Hr, Text, Heading } from "@react-email/components";\nimport { Subject, NotificationCategory, Props } from "@stackframe/emails";\n\nexport const variablesSchema = type({\n emailVerificationLink: "string"\n})\n\nexport function EmailTemplate({ user, project, variables }: Props<typeof variablesSchema.infer>) {\n return (\n <>\n <Subject value={`Verify your email at ${project.displayName}`} />\n <NotificationCategory value="Transactional" />\n <div className="font-sans text-base font-normal tracking-[0.15008px] leading-[1.5] m-0 py-8 w-full min-h-full">\n <Section>\n <Heading as="h3" className="font-sans font-bold text-[20px] text-center py-4 px-6 m-0">\n Verify your email at {project.displayName}\n </Heading>\n <p className="font-sans font-normal text-[14px] text-center pt-2 px-6 pb-4 m-0 opacity-80">\n Hi{user.displayName ? (", " + user.displayName) : \'\'}! Please click on the following button to verify your email.\n </p>\n <div className="text-center py-3 px-6">\n <Button\n href={variables.emailVerificationLink}\n className="text-black font-sans font-bold text-[14px] inline-block bg-[#f0f0f0] rounded-[4px] py-3 px-5 no-underline border-0"\n >\n Verify my email\n </Button>\n </div>\n <div className="py-4 px-6">\n <Hr className="opacity-20" />\n </div>\n <p className="font-sans font-normal text-[12px] text-center pt-1 px-6 pb-6 m-0 opacity-60">\n If you were not expecting this email, you can safely ignore it. \n </p>\n </Section>\n </div>\n </>\n )\n}\n\nEmailTemplate.PreviewVariables = {\n emailVerificationLink: "#"\n} satisfies typeof variablesSchema.infer', theme_id: '1df07ae6-abf3-4a40-83a5-a1a2cbe336ac', to: { type: 'user-custom-emails', user_id: 'c7469b05-ae70-433f-af97-16d727e069dd', emails: [ '102ce765-29d3-4985-9087-7f126de7a295@stack-js-test.example.com' ] }, variables: { emailVerificationLink: 'http://localhost:3000/?code=kd61qjkqysz3hj4nbt9fp64ce213xbrkm9mwtr0g91r3g' }, skip
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 40` 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", - ], - }, - ] + [] ❯ 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/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 31` 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", - ], - }, - ] + [] ❯ 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/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 12` 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/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 8` 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/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 4` 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/contact-channels/verify.test.ts > each verification code that was already requested can be used exactly once: 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/contact-channels/verify.test.ts:16:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { extraData: { messages: [] }, customCaptureExtraArgs: [ { messages: [] } ] }
tests/backend/endpoints/api/v1/contact-channels/verify.test.ts > should verify user's email: 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/contact-channels/verify.test.ts:6:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { extraData: { messages: [] }, customCaptureExtraArgs: [ { messages: [] } ] }
tests/backend/endpoints/api/v1/internal-metrics.test.ts > should handle anonymous users with activity correctly: apps/e2e/tests/backend/endpoints/api/v1/internal-metrics.test.ts#L311
AssertionError: expected +0 to be 1 // Object.is equality - Expected + Received - 1 + 0 ❯ it.timeout tests/backend/endpoints/api/v1/internal-metrics.test.ts:311:29
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 @@ -18,20 +18,10 @@ "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", - "profile_image_url": null, - "signed_up_at_millis": <stripped field 'signed_up_at_millis'>, - }, - ], }, "analytics_overview": { "anonymous_visitors_fallback": 0, "avg_session_seconds": 0, "daily_anonymous_visitors_fallback": [ @@ -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
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/