Skip to content

feat: Notification emails #8377

feat: Notification emails

feat: Notification emails #8377

Triggered via pull request February 3, 2025 12:28
Status Failure
Total duration 20m 8s
Artifacts 10

test.yml

on: pull_request
Build backend 🏗️
4m 53s
Build backend 🏗️
Build frontend 🏗️
1m 53s
Build frontend 🏗️
Install E2E dependencies ⬇️
58s
Install E2E dependencies ⬇️
Frontend static check 🪲
2m 22s
Frontend static check 🪲
E2E Static Check 🪲
27s
E2E Static Check 🪲
Ktlint 🪲
1m 28s
Ktlint 🪲
Matrix: BT ‍🔎
Matrix: E2E testing ‍🔎
Everything passed 🎉
0s
Everything passed 🎉
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 1 warning
Ktlint 🪲
Process completed with exit code 1.
io.tolgee.websocket.WebsocketWithoutRedisTest ► doesn't subscribe as another user(): backend/data/src/main/kotlin/io/tolgee/service/notification/EmailNotificationsService.kt#L59
Failed test found in: backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithoutRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithoutRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithoutRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithoutRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithoutRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithoutRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithRedisTest.xml Error: java.lang.IllegalStateException: Notification of type TASK_ASSIGNED must contain linkedTask.
io.tolgee.websocket.WebsocketWithoutRedisTest ► notifies user on a new notification(): backend/data/src/main/kotlin/io/tolgee/service/notification/EmailNotificationsService.kt#L59
Failed test found in: backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithoutRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithoutRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithoutRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithoutRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithoutRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithoutRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithRedisTest.xml Error: java.lang.IllegalStateException: Notification of type TASK_ASSIGNED must contain linkedTask.
io.tolgee.websocket.WebsocketWithoutRedisTest ► notifies user on notifications marked as seen(): backend/data/src/main/kotlin/io/tolgee/service/notification/EmailNotificationsService.kt#L59
Failed test found in: backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithoutRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithoutRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithoutRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithoutRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithoutRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithoutRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithRedisTest.xml backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithRedisTest.xml Error: java.lang.IllegalStateException: Notification of type TASK_ASSIGNED must contain linkedTask.
BT ‍🔎 (server-app:runWebsocketTests)
Failed test were found and 'fail-on-error' option is set to true
BT ‍🔎 (server-app:runWebsocketTests)
Final attempt failed. Child_process exited with error code 1
io.tolgee.api.v2.controllers.NotificationControllerTest ► gets notifications from newest(): backend/data/src/main/kotlin/io/tolgee/component/FrontendUrlProvider.kt#L17
Failed test found in: backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.NotificationControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.NotificationControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.NotificationControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.NotificationControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.NotificationControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.NotificationControllerTest.xml Error: java.lang.IllegalStateException: No current ServletRequestAttributes
io.tolgee.api.v2.controllers.NotificationControllerTest ► marks notifications as seen(): backend/data/src/main/kotlin/io/tolgee/component/FrontendUrlProvider.kt#L17
Failed test found in: backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.NotificationControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.NotificationControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.NotificationControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.NotificationControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.NotificationControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.NotificationControllerTest.xml Error: java.lang.IllegalStateException: No current ServletRequestAttributes
io.tolgee.api.v2.controllers.UserMfaControllerTest ► it regenerates MFA recovery codes(): backend/data/src/main/kotlin/io/tolgee/component/FrontendUrlProvider.kt#L17
Failed test found in: backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.UserMfaControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.UserMfaControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.UserMfaControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.UserMfaControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.UserMfaControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.UserMfaControllerTest.xml Error: java.lang.IllegalStateException: No current ServletRequestAttributes
io.tolgee.api.v2.controllers.UserMfaControllerTest ► it disables MFA(): backend/data/src/main/kotlin/io/tolgee/component/FrontendUrlProvider.kt#L17
Failed test found in: backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.UserMfaControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.UserMfaControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.UserMfaControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.UserMfaControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.UserMfaControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.UserMfaControllerTest.xml Error: java.lang.IllegalStateException: No current ServletRequestAttributes
io.tolgee.api.v2.controllers.UserMfaControllerTest ► it requires valid password(): backend/data/src/main/kotlin/io/tolgee/component/FrontendUrlProvider.kt#L17
Failed test found in: backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.UserMfaControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.UserMfaControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.UserMfaControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.UserMfaControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.UserMfaControllerTest.xml backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.UserMfaControllerTest.xml Error: java.lang.IllegalStateException: No current ServletRequestAttributes
BT ‍🔎 (server-app:runStandardTests)
Failed test were found and 'fail-on-error' option is set to true
BT ‍🔎 (server-app:runStandardTests)
Final attempt failed. Child_process exited with error code 1
Everything passed 🎉
Process completed with exit code 1.
BT ‍🔎 (server-app:runStandardTests)
Test report summary exceeded limit of 65535 bytes and will be trimmed

Artifacts

Produced during runtime
Name Size
backend
238 MB
backend_test_reports_data_test
143 KB
backend_test_reports_ee-test_test
551 KB
backend_test_reports_security_test
18.7 KB
backend_test_reports_server-app_runContextRecreatingTests
730 KB
backend_test_reports_server-app_runStandardTests
1.22 MB
backend_test_reports_server-app_runWebsocketTests
704 KB
backend_test_reports_server-app_runWithoutEeTests
60.1 KB
e2e_deps
197 MB
webapp
2.27 MB