• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

agentjido / req_llm / cf6e1b8f7b1881dcd99c730caa00091cd5d8a995-PR-218
50%
main: 49%

Build:
Build:
LAST BUILD BRANCH: docs/agent-tutorial
DEFAULT BRANCH: main
Ran 17 Nov 2025 08:32AM UTC
Jobs 4
Files 82
Run time 629min
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

17 Nov 2025 08:31AM UTC coverage: 49.958% (-0.05%) from 50.007%
cf6e1b8f7b1881dcd99c730caa00091cd5d8a995-PR-218

Pull #218

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.

- 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

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.
Pull Request #218: Add credential fallback for fixture recording

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

3575 of 7156 relevant lines covered (49.96%)

58.12 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
69.14
-0.57% lib/req_llm/providers/amazon_bedrock.ex
2
0.0
0.0% lib/req_llm/providers/google_vertex.ex
3
62.57
-0.36% lib/req_llm/providers/google.ex
Jobs
ID Job ID Ran Files Coverage
1 cf6e1b8f7b1881dcd99c730caa00091cd5d8a995-PR-218.1 17 Nov 2025 08:32AM UTC 82
49.94
GitHub Action Run
2 cf6e1b8f7b1881dcd99c730caa00091cd5d8a995-PR-218.2 17 Nov 2025 08:32AM UTC 82
49.89
GitHub Action Run
3 cf6e1b8f7b1881dcd99c730caa00091cd5d8a995-PR-218.3 17 Nov 2025 08:32AM UTC 82
49.89
GitHub Action Run
4 cf6e1b8f7b1881dcd99c730caa00091cd5d8a995-PR-218.4 17 Nov 2025 08:32AM UTC 82
49.89
GitHub Action Run
Source Files on build cf6e1b8f7b1881dcd99c730caa00091cd5d8a995-PR-218
  • Tree
  • List 82
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #218
  • PR Base - main (#A47489B2...)
  • 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

© 2025 Coveralls, Inc