• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

agentjido / req_llm / 29628b74c06932ed0446c0df4c833c4a7564f4da-PR-174
49%
main: 49%

Build:
Build:
LAST BUILD BRANCH: feat/load-dotenv-config
DEFAULT BRANCH: main
Ran 18 Nov 2025 08:37AM UTC
Jobs 4
Files 85
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Nov 2025 08:35AM UTC coverage: 49.145% (+0.2%) from 48.985%
29628b74c06932ed0446c0df4c833c4a7564f4da-PR-174

Pull #174

github

neilberkman
Add OAuth2 token caching for Google Vertex AI

OAuth2 token generation on every request adds 60-180ms overhead
(file I/O, JWT signing, HTTP round trip). Tokens are valid for 1 hour,
so this overhead is wasteful for repeated requests.

Implementation:
- GenServer + ETS cache storing tokens per service account
- 55 minute TTL (5 minute safety margin before 1 hour expiry)
- GenServer serializes concurrent refresh requests to prevent duplicates
- Per-node cache (no distributed coordination needed)

Performance impact:
- Before: 1000 requests = 60-180 seconds auth overhead
- After: 1000 requests = 60-180ms auth overhead (first request only)
- Improvement: 99.9% reduction in auth overhead
Pull Request #174: Add OAuth2 token caching for Google Vertex AI

15 of 26 new or added lines in 2 files covered. (57.69%)

3620 of 7366 relevant lines covered (49.14%)

56.93 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
0.87
0.0% lib/req_llm/providers/google_vertex.ex
8
65.22
lib/req_llm/providers/google_vertex/token_cache.ex
Jobs
ID Job ID Ran Files Coverage
1 29628b74c06932ed0446c0df4c833c4a7564f4da-PR-174.1 18 Nov 2025 08:37AM UTC 85
49.08
GitHub Action Run
2 29628b74c06932ed0446c0df4c833c4a7564f4da-PR-174.2 18 Nov 2025 08:37AM UTC 85
49.08
GitHub Action Run
3 29628b74c06932ed0446c0df4c833c4a7564f4da-PR-174.3 18 Nov 2025 08:37AM UTC 85
49.12
GitHub Action Run
4 29628b74c06932ed0446c0df4c833c4a7564f4da-PR-174.4 18 Nov 2025 08:37AM UTC 85
49.09
GitHub Action Run
Source Files on build 29628b74c06932ed0446c0df4c833c4a7564f4da-PR-174
  • Tree
  • List 85
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #174
  • PR Base - main (#7E8ADFF2...)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc