Skip to content

fix product route access (#1134) #10298

fix product route access (#1134)

fix product route access (#1134) #10298

Triggered via push January 27, 2026 18:30
Status Failure
Total duration 1h 53m 15s
Artifacts
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors
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#L408
StackAssertionError: Sign-in code message not found after 30 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:408:17 ❯ Object.signIn tests/backend/backend-helpers.ts:417: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: 'yqep66arnpvv794fdvd2tzssvv8y538e9sm9r80' }, fromRequestInit: { method: 'POST', body: '{"email":"default-mailbox--59537816-8097-47a9-997d-07aa84b4c802@stack-generated.example.com","callback_url":"http://localhost:12345/some-callback-url"}', 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: [] }, customCaptureExtraArgs: [ { 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: 'yqep66arnpvv794fdvd2tzssvv8y538e9sm9r80' }, fromRequestInit: { method: 'POST', body: '{"email":"default-mailbox--59537816-8097-47a9-997d-07aa84b4c802@stack-generated.example.com","callback_url":"http://localhost:12345/some-callback-url"}', 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: [] } ] }
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/backend-helpers.ts#L408
StackAssertionError: Sign-in code message not found after 30 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:408:17 ❯ Object.signIn tests/backend/backend-helpers.ts:417:33 ❯ testFailedEmails tests/backend/endpoints/api/v1/internal/failed-emails-digest.test.ts:66:5 ❯ it.repeats tests/backend/endpoints/api/v1/internal/failed-emails-digest.test.ts:158:37 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ 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: 'dj618ggt1hyg505m71wx48sepw5v7j1js24ghmg' }, fromRequestInit: { method: 'POST', body: '{"email":"default-mailbox--d1d5e056-5978-402a-8a4e-d14cf1eb1b32@stack-generated.example.com","callback_url":"http://localhost:12345/some-callback-url"}', 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: [] }, customCaptureExtraArgs: [ { 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: 'dj618ggt1hyg505m71wx48sepw5v7j1js24ghmg' }, fromRequestInit: { method: 'POST', body: '{"email":"default-mailbox--d1d5e056-5978-402a-8a4e-d14cf1eb1b32@stack-generated.example.com","callback_url":"http://localhost:12345/some-callback-url"}', 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: [] } ] }
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/backend-helpers.ts#L408
StackAssertionError: Sign-in code message not found after 30 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:408:17 ❯ Object.signIn tests/backend/backend-helpers.ts:417:33 ❯ testFailedEmails tests/backend/endpoints/api/v1/internal/failed-emails-digest.test.ts:66:5 ❯ it.repeats tests/backend/endpoints/api/v1/internal/failed-emails-digest.test.ts:158:37 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ 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: 'yn411dt9ank8nx43fvjvx1t9vkfcx57jndrh570' }, fromRequestInit: { method: 'POST', body: '{"email":"default-mailbox--5f8a776c-0eb3-4633-8cf9-d82a2c4270da@stack-generated.example.com","callback_url":"http://localhost:12345/some-callback-url"}', 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: [] }, customCaptureExtraArgs: [ { 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: 'yn411dt9ank8nx43fvjvx1t9vkfcx57jndrh570' }, fromRequestInit: { method: 'POST', body: '{"email":"default-mailbox--5f8a776c-0eb3-4633-8cf9-d82a2c4270da@stack-generated.example.com","callback_url":"http://localhost:12345/some-callback-url"}', 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: [] } ] }
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/backend-helpers.ts#L408
StackAssertionError: Sign-in code message not found after 30 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:408:17 ❯ Object.signIn tests/backend/backend-helpers.ts:417:33 ❯ testFailedEmails tests/backend/endpoints/api/v1/internal/failed-emails-digest.test.ts:66:5 ❯ it.repeats tests/backend/endpoints/api/v1/internal/failed-emails-digest.test.ts:158:37 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ 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: 'eskhvdt3sck9n1brycy3r2s0x5d3295fj7pda4g' }, fromRequestInit: { method: 'POST', body: '{"email":"default-mailbox--6cd157bf-4e75-471d-8fdc-d49aa0d3c801@stack-generated.example.com","callback_url":"http://localhost:12345/some-callback-url"}', 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: [] }, customCaptureExtraArgs: [ { 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: 'eskhvdt3sck9n1brycy3r2s0x5d3295fj7pda4g' }, fromRequestInit: { method: 'POST', body: '{"email":"default-mailbox--6cd157bf-4e75-471d-8fdc-d49aa0d3c801@stack-generated.example.com","callback_url":"http://localhost:12345/some-callback-url"}', 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: [] } ] }
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/backend-helpers.ts#L408
StackAssertionError: Sign-in code message not found after 30 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:408:17 ❯ Object.signIn tests/backend/backend-helpers.ts:417:33 ❯ testFailedEmails tests/backend/endpoints/api/v1/internal/failed-emails-digest.test.ts:66:5 ❯ it.repeats tests/backend/endpoints/api/v1/internal/failed-emails-digest.test.ts:158:37 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ 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: 'xfwtv1ecgxs2515cmgz49ffgg526br97900y9w0' }, fromRequestInit: { method: 'POST', body: '{"email":"default-mailbox--f6f1c732-f728-47c5-b5c0-361f289aa982@stack-generated.example.com","callback_url":"http://localhost:12345/some-callback-url"}', 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: [] }, customCaptureExtraArgs: [ { 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: 'xfwtv1ecgxs2515cmgz49ffgg526br97900y9w0' }, fromRequestInit: { method: 'POST', body: '{"email":"default-mailbox--f6f1c732-f728-47c5-b5c0-361f289aa982@stack-generated.example.com","callback_url":"http://localhost:12345/some-callback-url"}', 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: [] } ] }
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/backend-helpers.ts#L408
StackAssertionError: Sign-in code message not found after 30 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:408:17 ❯ Object.signIn tests/backend/backend-helpers.ts:417:33 ❯ testFailedEmails tests/backend/endpoints/api/v1/internal/failed-emails-digest.test.ts:66:5 ❯ it.repeats tests/backend/endpoints/api/v1/internal/failed-emails-digest.test.ts:158:37 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ 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: 'kn0bd06g7vknkrs6ds68cnr7jwn4736sywqhqg8' }, fromRequestInit: { method: 'POST', body: '{"email":"default-mailbox--97229f9c-2c87-4768-9c47-f38742cf645d@stack-generated.example.com","callback_url":"http://localhost:12345/some-callback-url"}', 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: [] }, customCaptureExtraArgs: [ { 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: 'kn0bd06g7vknkrs6ds68cnr7jwn4736sywqhqg8' }, fromRequestInit: { method: 'POST', body: '{"email":"default-mailbox--97229f9c-2c87-4768-9c47-f38742cf645d@stack-generated.example.com","callback_url":"http://localhost:12345/some-callback-url"}', 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: [] } ] }
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/backend-helpers.ts#L408
StackAssertionError: Sign-in code message not found after 30 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:408:17 ❯ Object.signIn tests/backend/backend-helpers.ts:417:33 ❯ testFailedEmails tests/backend/endpoints/api/v1/internal/failed-emails-digest.test.ts:66:5 ❯ it.repeats tests/backend/endpoints/api/v1/internal/failed-emails-digest.test.ts:158:37 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ 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: 'wbgsja4egyjz7gdq93ayyjpw92twahpe96ndrn8' }, fromRequestInit: { method: 'POST', body: '{"email":"default-mailbox--020fc948-e590-46be-9691-9e0207a4e956@stack-generated.example.com","callback_url":"http://localhost:12345/some-callback-url"}', 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: [] }, customCaptureExtraArgs: [ { 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: 'wbgsja4egyjz7gdq93ayyjpw92twahpe96ndrn8' }, fromRequestInit: { method: 'POST', body: '{"email":"default-mailbox--020fc948-e590-46be-9691-9e0207a4e956@stack-generated.example.com","callback_url":"http://localhost:12345/some-callback-url"}', 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: [] } ] }
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/backend-helpers.ts#L408
StackAssertionError: Sign-in code message not found after 30 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:408:17 ❯ Object.signIn tests/backend/backend-helpers.ts:417:33 ❯ testFailedEmails tests/backend/endpoints/api/v1/internal/failed-emails-digest.test.ts:66:5 ❯ it.repeats tests/backend/endpoints/api/v1/internal/failed-emails-digest.test.ts:158:37 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ 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: 'kc0dczvd7kbtve1j1afms5jwfp6cntnngm060zr' }, fromRequestInit: { method: 'POST', body: '{"email":"default-mailbox--b480a4cc-6518-42a9-a082-cc43e1c25e2c@stack-generated.example.com","callback_url":"http://localhost:12345/some-callback-url"}', 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: [] }, customCaptureExtraArgs: [ { 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: 'kc0dczvd7kbtve1j1afms5jwfp6cntnngm060zr' }, fromRequestInit: { method: 'POST', body: '{"email":"default-mailbox--b480a4cc-6518-42a9-a082-cc43e1c25e2c@stack-generated.example.com","callback_url":"http://localhost:12345/some-callback-url"}', 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: [] } ] }
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/backend-helpers.ts#L408
StackAssertionError: Sign-in code message not found after 30 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:408:17 ❯ Object.signIn tests/backend/backend-helpers.ts:417:33 ❯ testFailedEmails tests/backend/endpoints/api/v1/internal/failed-emails-digest.test.ts:66:5 ❯ it.repeats tests/backend/endpoints/api/v1/internal/failed-emails-digest.test.ts:158:37 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ 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: 'x94kdsq7g6863nbfq22ky0997g1h6vqvz6w4qer' }, fromRequestInit: { method: 'POST', body: '{"email":"default-mailbox--aaef1930-616b-4d10-9207-87c98b445e69@stack-generated.example.com","callback_url":"http://localhost:12345/some-callback-url"}', 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: [] }, customCaptureExtraArgs: [ { 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: 'x94kdsq7g6863nbfq22ky0997g1h6vqvz6w4qer' }, fromRequestInit: { method: 'POST', body: '{"email":"default-mailbox--aaef1930-616b-4d10-9207-87c98b445e69@stack-generated.example.com","callback_url":"http://localhost:12345/some-callback-url"}', 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: [] } ] }
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 14` 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