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

agentjido / req_llm / 15906f8b06275cb2268f3a5657fd38eeb3566bee-PR-171
53%
main: 49%

Build:
Build:
LAST BUILD BRANCH: feat/load-dotenv-config
DEFAULT BRANCH: main
Ran 13 Nov 2025 09:08PM UTC
Jobs 4
Files 87
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

13 Nov 2025 09:05PM UTC coverage: 53.293% (-0.01%) from 53.303%
15906f8b06275cb2268f3a5657fd38eeb3566bee-PR-171

Pull #171

github

neilberkman
feat: Add credential fallback for fixture recording

Implements automatic fallback to existing fixtures when credentials are
missing during RECORD mode for providers requiring cloud credentials.

## Changes

- Add optional `credential_missing?/1` callback to Provider behavior
- Implement credential detection in AWS Bedrock, Google, and Google Vertex AI providers
- Add fixture fallback handler in test fixture system
- Enables comprehensive test coverage without requiring all developers to configure cloud credentials

## How It Works

When recording fixtures (`REQ_LLM_FIXTURES_MODE=record`):
1. Provider attempts API call
2. If credentials missing, provider raises specific error
3. Credential fallback handler catches error via `credential_missing?/1`
4. If fixture exists, loads existing fixture instead of failing
5. Logs warning about credential fallback
6. Test continues successfully

This allows contributors without AWS/GCP credentials to run full test suite
while maintainers with credentials can refresh fixtures.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Pull Request #171: feat: Add credential fallback for fixture recording

0 of 7 new or added lines in 3 files covered. (0.0%)

7 existing lines in 3 files now uncovered.

3916 of 7348 relevant lines covered (53.29%)

452.49 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
70.0
-0.59% lib/req_llm/providers/amazon_bedrock.ex
2
0.0
0.0% lib/req_llm/providers/google_vertex.ex
3
61.03
-0.37% lib/req_llm/providers/google.ex

Uncovered Existing Lines

Lines Coverage ∆ File
2
39.02
-2.44% lib/req_llm/providers/openai.ex
2
88.24
-11.76% test/support/streaming_case.ex
3
32.35
-8.82% test/support/fixtures.ex
Jobs
ID Job ID Ran Files Coverage
1 15906f8b06275cb2268f3a5657fd38eeb3566bee-PR-171.1 13 Nov 2025 09:08PM UTC 87
53.16
GitHub Action Run
2 15906f8b06275cb2268f3a5657fd38eeb3566bee-PR-171.2 13 Nov 2025 09:08PM UTC 87
53.16
GitHub Action Run
3 15906f8b06275cb2268f3a5657fd38eeb3566bee-PR-171.3 13 Nov 2025 09:11PM UTC 87
53.27
GitHub Action Run
4 15906f8b06275cb2268f3a5657fd38eeb3566bee-PR-171.4 13 Nov 2025 09:11PM UTC 87
53.23
GitHub Action Run
Source Files on build 15906f8b06275cb2268f3a5657fd38eeb3566bee-PR-171
  • Tree
  • List 87
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #171
  • PR Base - breaking/reqllm-llmdb-forced (#A85FE98A...)
  • 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