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

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

Build:
Build:
LAST BUILD BRANCH: feat/load-dotenv-config
DEFAULT BRANCH: main
Ran 13 Nov 2025 09:08PM UTC
Files 87
Run time 3s
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.157% (-0.1%) from 53.276%
15906f8b06275cb2268f3a5657fd38eeb3566bee-PR-171.2

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

3906 of 7348 relevant lines covered (53.16%)

112.83 hits per line

Source Files on job 15906f8b06275cb2268f3a5657fd38eeb3566bee-PR-171.2
  • Tree
  • List 87
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 15906
  • 15906f8b on github
  • Prev Job for on feat/fixture-credential-fallback (#a85fe98a342e73f40dd2721bfa6cac72dbd46412-PR-212.2)
  • 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