Skip to content

Gemini Testing via VCR#1770

Merged
TimPansino merged 9 commits into
mainfrom
feat-vcr-gemini
Jun 22, 2026
Merged

Gemini Testing via VCR#1770
TimPansino merged 9 commits into
mainfrom
feat-vcr-gemini

Conversation

@TimPansino

Copy link
Copy Markdown
Contributor

Overview

  • Improve assertions for Gemini test suite to match actual recorded behaviors.
  • Use VCR for Gemini to record/replay responses.
  • Improve VCR recording setup with new features including the following:
    • Replace headers with constant values
    • Minify JSON responses for cleaner cassettes
    • Add API for callbacks to mutate recorded request or response

@TimPansino TimPansino requested a review from a team as a code owner June 17, 2026 23:11
@github-actions

github-actions Bot commented Jun 17, 2026

Copy link
Copy Markdown

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 9 0 0 1.18s
✅ MARKDOWN markdownlint 7 0 0 0 1.48s
✅ PYTHON ruff 1039 0 0 0 1.17s
✅ PYTHON ruff-format 1039 0 0 0 0.38s
✅ YAML prettier 23 0 0 0 1.72s
✅ YAML v8r 23 0 0 6.25s
✅ YAML yamllint 23 0 0 0.8s

Notices

📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)

See detailed reports in MegaLinter artifacts

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@mergify mergify Bot added the tests-failing Tests failing in CI. label Jun 17, 2026
@codecov-commenter

codecov-commenter commented Jun 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.09%. Comparing base (5734092) to head (ba6416a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1770      +/-   ##
==========================================
+ Coverage   82.00%   82.09%   +0.09%     
==========================================
  Files         215      215              
  Lines       26589    26589              
  Branches     4213     4213              
==========================================
+ Hits        21803    21827      +24     
+ Misses       3331     3310      -21     
+ Partials     1455     1452       -3     

☔ View full report in Codecov by Harness.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mergify mergify Bot removed the tests-failing Tests failing in CI. label Jun 17, 2026
Comment thread tests/mlmodel_gemini/conftest.py Outdated
@lrafeei lrafeei self-requested a review June 22, 2026 19:24
@mergify

mergify Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@TimPansino TimPansino merged commit 853d8cd into main Jun 22, 2026
65 checks passed
@TimPansino TimPansino deleted the feat-vcr-gemini branch June 22, 2026 20:31
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