Skip to content

feat: load session only once when middleware is used #4968

feat: load session only once when middleware is used

feat: load session only once when middleware is used #4968

Triggered via pull request November 4, 2024 09:22
Status Success
Total duration 50m 17s
Artifacts

ci.yaml

on: pull_request
Run tests and lints
29m 36s
Run tests and lints
Matrix: Run end-to-end tests
Matrix: Run Playwright end-to-end tests
Generate changelog
0s
Generate changelog
Generate release
0s
Generate release
Draft newsletter
0s
Draft newsletter
Render version schema
0s
Render version schema
Release SDKs
0s
Release SDKs
Pending approval Slack notification
0s
Pending approval Slack notification
Send newsletter
0s
Send newsletter
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 32 warnings, and 4 notices
[chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login: test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L1
1) [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login Test timeout of 30000ms exceeded.
[chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login: test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L86
1) [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login Error: page.waitForURL: Test timeout of 30000ms exceeded. =========================== logs =========================== waiting for navigation until "load" ============================================================ 84 | await loginHydra(page) 85 | > 86 | await page.waitForURL( | ^ 87 | new RegExp(config.selfservice.default_browser_return_url), 88 | ) 89 | at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts:86:18
[chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login: test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L1
1) [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login Test timeout of 30000ms exceeded.
[chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login: test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L86
1) [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login Error: page.waitForURL: Test timeout of 30000ms exceeded. =========================== logs =========================== waiting for navigation until "load" ============================================================ 84 | await loginHydra(page) 85 | > 86 | await page.waitForURL( | ^ 87 | new RegExp(config.selfservice.default_browser_return_url), 88 | ) 89 | at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts:86:18
[chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login: test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L1
1) [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login Test timeout of 30000ms exceeded.
[chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login: test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L86
1) [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login Error: page.waitForURL: Test timeout of 30000ms exceeded. =========================== logs =========================== waiting for navigation until "load" ============================================================ 84 | await loginHydra(page) 85 | > 86 | await page.waitForURL( | ^ 87 | new RegExp(config.selfservice.default_browser_return_url), 88 | ) 89 | at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts:86:18
[chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login: test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L1
1) [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login Test timeout of 30000ms exceeded.
[chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login: test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L86
1) [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login Error: page.waitForURL: Test timeout of 30000ms exceeded. =========================== logs =========================== waiting for navigation until "load" ============================================================ 84 | await loginHydra(page) 85 | > 86 | await page.waitForURL( | ^ 87 | new RegExp(config.selfservice.default_browser_return_url), 88 | ) 89 | at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts:86:18
Generate SDKs
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Generate SDKs
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Generate SDKs
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Generate SDKs
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run Playwright end-to-end tests (mysql)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run Playwright end-to-end tests (mysql)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/checkout@v2, actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: test/e2e/[mobile-chrome] › mobile/app_login.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_login.spec.ts took 28.0s
Slow Test: test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts took 23.1s
Run Playwright end-to-end tests (sqlite)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run Playwright end-to-end tests (sqlite)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/checkout@v2, actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: test/e2e/[mobile-chrome] › mobile/app_login.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_login.spec.ts took 34.4s
Slow Test: test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts took 23.1s
Run Playwright end-to-end tests (postgres)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run Playwright end-to-end tests (postgres)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/checkout@v2, actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: test/e2e/[mobile-chrome] › mobile/app_login.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_login.spec.ts took 35.6s
Slow Test: test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts took 22.3s
Run Playwright end-to-end tests (cockroach)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run Playwright end-to-end tests (cockroach)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/checkout@v2, actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: test/e2e/[mobile-chrome] › mobile/app_login.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_login.spec.ts took 29.1s
Slow Test: test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts took 22.9s
Run tests and lints
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run tests and lints
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build CLI docs
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build CLI docs
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run end-to-end tests (postgres)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run end-to-end tests (postgres)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/checkout@v2, actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run end-to-end tests (sqlite)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run end-to-end tests (sqlite)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/checkout@v2, actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run end-to-end tests (mysql)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run end-to-end tests (mysql)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/checkout@v2, actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run end-to-end tests (cockroach)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run end-to-end tests (cockroach)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/checkout@v2, actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
🎭 Playwright Run Summary
1 flaky [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login 36 passed (2.4m)
🎭 Playwright Run Summary
1 flaky [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login 36 passed (2.4m)
🎭 Playwright Run Summary
1 flaky [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login 36 passed (2.4m)
🎭 Playwright Run Summary
1 flaky [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login 36 passed (2.9m)