Skip to content

Conversation

@Dagonite
Copy link
Collaborator

@Dagonite Dagonite commented Feb 2, 2026

Closes None (continuation of caching logic).

Description

Introduces caching for job listing and counting endpoints in the fia_api service to improve performance and reduce database load. It adds cache key generation, cache get/set logic, and environment-configurable TTLs. Added end-to-end tests to verify cache behaviour.

@codecov
Copy link

codecov bot commented Feb 2, 2026

Codecov Report

❌ Patch coverage is 98.11321% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 96.31%. Comparing base (d15484e) to head (f2ad682).
⚠️ Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
fia_api/routers/jobs.py 98.11% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #599      +/-   ##
==========================================
+ Coverage   96.28%   96.31%   +0.03%     
==========================================
  Files          48       48              
  Lines        1882     1928      +46     
==========================================
+ Hits         1812     1857      +45     
- Misses         70       71       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Dagonite Dagonite force-pushed the job-caching branch 3 times, most recently from 9a78ffb to eb41604 Compare February 3, 2026 12:42
@Pasarus Pasarus merged commit ae1f35e into main Feb 3, 2026
10 checks passed
@Pasarus Pasarus deleted the job-caching branch February 3, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants