Use redirectToHandler in StackHandler and disallow string default URL… #13166
Annotations
6 errors and 2 warnings
|
E2E Tests (Node 22.x, Freestyle mock)
Process completed with exit code 1.
|
|
tests/backend/endpoints/api/v1/projects.test.ts > gets current project (internal):
apps/e2e/tests/backend/endpoints/api/v1/projects.test.ts#L37
Error: Snapshot `gets current project (internal) 1` mismatched
- Expected
+ Received
@@ -1,9 +1,10 @@
NiceResponse {
"status": 200,
"body": {
"config": {
+ "allow_localhost": true,
"allow_team_api_keys": false,
"allow_user_api_keys": false,
"client_team_creation_enabled": true,
"client_user_deletion_enabled": false,
"credential_enabled": true,
❯ tests/backend/endpoints/api/v1/projects.test.ts:37:20
|
|
tests/js/cross-domain-auth.test.ts > does not await pending auth resolutions when post-callback redirect mints a cross-domain code:
apps/e2e/tests/js/cross-domain-auth.test.ts#L244
AssertionError: expected [Function] to throw error including 'INTENTIONAL_TEST_ABORT' but got 'The current project with ID 12121212-…'
- Expected
+ Received
- INTENTIONAL_TEST_ABORT
+ The current project with ID 12121212-1212-4212-8212-121212121212 was not found. Please check the value of the x-stack-project-id header.
❯ tests/js/cross-domain-auth.test.ts:244:7
❯ withHostedDomainSuffix tests/js/cross-domain-auth.test.ts:12:5
❯ tests/js/cross-domain-auth.test.ts:216:3
|
|
tests/js/cross-domain-auth.test.ts > only treats hosted OAuth callback URLs as Stack callbacks when the matching state cookie exists:
apps/e2e/tests/js/cross-domain-auth.test.ts#L191
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/js/cross-domain-auth.test.ts:191:75
❯ withHostedDomainSuffix tests/js/cross-domain-auth.test.ts:12:11
❯ tests/js/cross-domain-auth.test.ts:176:9
|
|
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@2428e7b970a846423095c79d43f759abf979a635, pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1. 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@2428e7b970a846423095c79d43f759abf979a635, pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1. 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/
|