Skip to content

test: add unit tests for cache, job queue, session, state, and auth services - #12514

Open
ogabrielluiz wants to merge 2 commits into
release-1.9.0from
test/services
Open

test: add unit tests for cache, job queue, session, state, and auth services#12514
ogabrielluiz wants to merge 2 commits into
release-1.9.0from
test/services

Conversation

@ogabrielluiz

Copy link
Copy Markdown
Contributor

Summary

  • Add unit tests for async in-memory cache, async disk cache, cache utils, threading in-memory cache, job queue service, job service, session service, state service, and auth exceptions
  • 14 new files covering previously untested service modules

@coderabbitai

coderabbitai Bot commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: ce8d970d-20d7-4967-8e23-eb6ce888f41a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch test/services

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added community Pull Request from an external contributor test Changes to tests and removed test Changes to tests labels Apr 6, 2026
@codecov

codecov Bot commented Apr 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.20%. Comparing base (8d01ba4) to head (44d8648).
⚠️ Report is 125 commits behind head on release-1.9.0.

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                @@
##           release-1.9.0   #12514      +/-   ##
=================================================
+ Coverage          50.05%   50.20%   +0.14%     
=================================================
  Files               1930     1932       +2     
  Lines             172591   172025     -566     
  Branches           25234    25415     +181     
=================================================
- Hits               86398    86370      -28     
+ Misses             85147    84610     -537     
+ Partials            1046     1045       -1     
Flag Coverage Δ
backend 56.63% <ø> (+0.80%) ⬆️
frontend 48.98% <ø> (+0.02%) ⬆️
lfx 49.07% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 262 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

Frontend Unit Test Coverage Report

Coverage Summary

Lines Statements Branches Functions
Coverage: 29%
29.69% (31319/105481) 63.69% (3976/6242) 31.04% (731/2355)

Unit Test Results

Tests Skipped Failures Errors Time
3104 0 💤 0 ❌ 0 🔥 5m 1s ⏱️

@github-actions github-actions Bot added test Changes to tests and removed test Changes to tests labels Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Pull Request from an external contributor test Changes to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant