[Refactor] [Fix] Remove default prod creation #6180
db-migration-backwards-compatibility.yaml
on: pull_request
Check if migrations changed
9s
Back-compat — Current branch migrations with dev branch code
38m 42s
No migration changes (skipped)
0s
Forward-compat — Current branch code with dev branch migrations
39m 16s
Annotations
8 errors and 2 warnings
|
Back-compat — Current branch migrations with dev branch code
Process completed with exit code 1.
|
|
tests/backend/endpoints/api/v1/auth/password/send-reset-code.test.ts > should send a password reset code per e-mail:
apps/e2e/tests/helpers.ts#L254
StackAssertionError: Expected at least 1 messages with subject containing "Reset your password", 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
❯ tests/backend/endpoints/api/v1/auth/password/send-reset-code.test.ts:24:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { extraData: { messages: [ { mailbox: 'default-mailbox--0636873f-8eb4-478b-aa75-da2b238467cc', id: '20260513T184731-0717', from: 'Stack Dashboard <noreply@example.com>', to: [ '<default-mailbox--0636873f-8eb4-478b-aa75-da2b238467cc@stack-generated.example.com>' ], subject: 'Verify your email at Stack Dashboard', date: '2026-05-13T18:47:31.72965039Z', 'posix-millis': 1778698051729, size: 5661, seen: false, body: { text: 'VERIFY YOUR EMAIL AT STACK DASHBOARD\n\nHi! Please click on the following button to verify your email.\n\nVerify my email http://localhost:12345/some-callback-url?code=2ha0ycn1qrjxf5jth54b9agw9zzedvq0yjban114pd2w0\n\n----------------------------------------\n\nIf you were not expecting this email, you can safely ignore it.', html: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body style="background-color:rgb(250,251,251);margin:0"><!--$--><table border="0" width="100%" cellPadding="0" cellSpacing="0" role="presentation" align="center"><tbody><tr><td style="background-color:rgb(250,251,251);font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;line-height:1.5;margin:0rem;padding:0rem;overflow-x:hidden"><div style="padding-bottom:2rem;padding-top:2rem;padding-right:1rem;padding-left:1rem;display:flex;justify-content:center"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="max-width:600px;background-color:rgb(255,255,255);padding:45px;border-radius:0.5rem;box-shadow:0 0 rgb(0,0,0,0),0 0 rgb(0,0,0,0),0 0 rgb(0,0,0,0),0 0 rgb(0,0,0,0),0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)),0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));margin-right:auto;margin-left:auto;width:100%"><tbody><tr style="width:100%"><td><div style="font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;line-height:1.5;font-weight:400;letter-spacing:0.15008px;margin:0rem;padding-bottom:2rem;padding-top:2rem;width:100%;min-height:100%"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody><tr><td><h3 style="font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-weight:700;font-size:20px;text-align:center;padding-bottom:1rem;padding-top:1rem;padding-right:1.5rem;padding-left:1.5rem;margin:0rem">Verify your email at <!-- -->Stack Dashboard</h3><p style="font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-weight:400;font-size:14px;text-align:center;padding-top:0.5rem;padding-right:1.5rem;padding-left:1.5rem;padding-bottom:1rem;margin:0rem;opacity:80%">Hi<!-- -->! Please click on the following button to verify your email.</p><div style="text-align:center;padding-bottom:0.75rem;padding-top:0.75rem;padding-right:1.5rem;padding-left:1.5rem"><a href="http://localhost:12345/some-callback-url?code=2ha0ycn1qrjxf5jth54b9agw9zzedvq0yjban114pd2w0" style="line-height:100%;text-decoration:none;display:inline-block;max-width:10
|
|
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 43` 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 24` mismatched
- Expected
+ Received
@@ -3,18 +3,11 @@
"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 > should verify user's email:
apps/e2e/tests/helpers.ts#L254
StackAssertionError: Expected at least 2 messages with subject containing "Verify your email", but found 1
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
❯ sendVerificationCode tests/backend/backend-helpers.ts:1088:22
❯ Object.verify tests/backend/backend-helpers.ts:1097:37
❯ tests/backend/endpoints/api/v1/contact-channels/verify.test.ts:9:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { extraData: { messages: [ { mailbox: 'default-mailbox--3027e5a1-002b-4f56-961f-c432732b90c8', id: '20260513T184654-0705', from: 'Stack Dashboard <noreply@example.com>', to: [ '<default-mailbox--3027e5a1-002b-4f56-961f-c432732b90c8@stack-generated.example.com>' ], subject: 'Verify your email at Stack Dashboard', date: '2026-05-13T18:46:54.768774743Z', 'posix-millis': 1778698014768, size: 5661, seen: false, body: { text: 'VERIFY YOUR EMAIL AT STACK DASHBOARD\n\nHi! Please click on the following button to verify your email.\n\nVerify my email http://localhost:12345/some-callback-url?code=s8b5qw695htqjs9tgbmh3x81r4j173mm53796bp272s10\n\n----------------------------------------\n\nIf you were not expecting this email, you can safely ignore it.', html: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body style="background-color:rgb(250,251,251);margin:0"><!--$--><table border="0" width="100%" cellPadding="0" cellSpacing="0" role="presentation" align="center"><tbody><tr><td style="background-color:rgb(250,251,251);font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;line-height:1.5;margin:0rem;padding:0rem;overflow-x:hidden"><div style="padding-bottom:2rem;padding-top:2rem;padding-right:1rem;padding-left:1rem;display:flex;justify-content:center"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="max-width:600px;background-color:rgb(255,255,255);padding:45px;border-radius:0.5rem;box-shadow:0 0 rgb(0,0,0,0),0 0 rgb(0,0,0,0),0 0 rgb(0,0,0,0),0 0 rgb(0,0,0,0),0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)),0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));margin-right:auto;margin-left:auto;width:100%"><tbody><tr style="width:100%"><td><div style="font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;line-height:1.5;font-weight:400;letter-spacing:0.15008px;margin:0rem;padding-bottom:2rem;padding-top:2rem;width:100%;min-height:100%"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody><tr><td><h3 style="font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-weight:700;font-size:20px;text-align:center;padding-bottom:1rem;padding-top:1rem;padding-right:1.5rem;padding-left:1.5rem;margin:0rem">Verify your email at <!-- -->Stack Dashboard</h3><p style="font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-weight:400;font-size:14px;text-align:center;padding-top:0.5rem;padding-right:1.5rem;padding-left:1.5rem;padding-bottom:1rem;margin:0rem;opacity:80%">Hi<!-- -->! Please click on the following button to verify your email.</p><div style="text-align:center;padding-bottom:0.75rem;padding-top:0.75rem;padding-right:1.5rem;padding-left:1.5rem"><a href="http://localhost:12345/some-callback-url?code=s8b5qw695htqjs9tgbmh3x81r4j173mm53796bp272s10" style="line-height:100%
|
|
tests/backend/endpoints/api/v1/contact-channels/legacy-send-verification-code.test.ts > doesn't send a verification code if logged out:
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/legacy-send-verification-code.test.ts:5:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { extraData: { messages: [] }, customCaptureExtraArgs: [ { messages: [] } ] }
|
|
Forward-compat — Current branch code with dev branch migrations
Process completed with exit code 1.
|
|
tests/backend/endpoints/api/v1/auth/oauth/merge-strategy.test.ts > should not merge accounts if the merge strategy is set to link_method, but the old account was not verified:
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/oauth/merge-strategy.test.ts:119:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { extraData: { messages: [] }, customCaptureExtraArgs: [ { messages: [] } ] }
|
|
Back-compat — Current branch migrations with dev branch code
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/
|
|
Forward-compat — Current branch code with dev branch migrations
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/
|