Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: notifications core #1986

Draft
wants to merge 41 commits into
base: main
Choose a base branch
from

fix: use listagg instead of array_agg

f1e0ee9
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

feat: notifications core #1986

fix: use listagg instead of array_agg
f1e0ee9
Select commit
Loading
Failed to load commit list.
GitHub Actions / Backend Tests succeeded Apr 29, 2024 in 0s

33 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.batch.BatchJobsGeneralWithoutRedisTest.xml 11✅ 22s
backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.batch.BatchJobsGeneralWithRedisTest.xml 12✅ 31s
backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithoutRedisTest.xml 5✅ 6s
backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithRedisTest.xml 5✅ 5s

✅ backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.batch.BatchJobsGeneralWithoutRedisTest.xml

11 tests were completed in 22s with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.batch.BatchJobsGeneralWithoutRedisTest 11✅ 22s

✅ io.tolgee.batch.BatchJobsGeneralWithoutRedisTest

✅ it locks the single job for project()
✅ debounces job()
✅ doesn't lock non-exclusive job()
✅ cancels the job()
✅ retries failed with generic exception()
✅ retries failed with RequeueWithTimeoutException()
✅ correctly reports failed test when FailedDontRequeueException thrown()
✅ executes operation()
✅ retries and fails on management exceptions issues()
✅ publishes progress of single chunk job()
✅ retrying works with error keys()

✅ backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.batch.BatchJobsGeneralWithRedisTest.xml

12 tests were completed in 31s with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.batch.BatchJobsGeneralWithRedisTest 12✅ 31s

✅ io.tolgee.batch.BatchJobsGeneralWithRedisTest

✅ it locks the single job for project()
✅ debounces job()
✅ doesn't lock non-exclusive job()
✅ cancels the job()
✅ retries failed with generic exception()
✅ retries failed with RequeueWithTimeoutException()
✅ correctly reports failed test when FailedDontRequeueException thrown()
✅ executes operation()
✅ retries and fails on management exceptions issues()
✅ publishes progress of single chunk job()
✅ retrying works with error keys()
✅ removes from queue using event()

✅ backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithoutRedisTest.xml

5 tests were completed in 6s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.websocket.WebsocketWithoutRedisTest 5✅ 6s

✅ io.tolgee.websocket.WebsocketWithoutRedisTest

✅ notifies on key modification()
✅ doesn't subscribe without permissions()
✅ notifies on key deletion()
✅ notifies on key creation()
✅ notifies on translation modification()

✅ backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithRedisTest.xml

5 tests were completed in 5s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.websocket.WebsocketWithRedisTest 5✅ 5s

✅ io.tolgee.websocket.WebsocketWithRedisTest

✅ notifies on key modification()
✅ doesn't subscribe without permissions()
✅ notifies on key deletion()
✅ notifies on key creation()
✅ notifies on translation modification()