ci(ai): Route AI integration tests through OpenRouter - #6979
Merged
Conversation
Pass openrouter-api-key instead of anthropic-api-key and pin the testing-ai-sdk-integrations action to the OpenRouter migration commit. Companion: getsentry/testing-ai-sdk-integrations#154 Co-Authored-By: Daniel Griesser <dgriesser@sentry.io>
Contributor
Codecov Results 📊✅ 94982 passed | ⏭️ 6343 skipped | Total: 101325 | Pass Rate: 93.74% | Execution Time: 347m 38s 📊 Comparison with Base Branch
✨ No test changes detected All tests are passing successfully. ✅ Patch coverage is 100.00%. Project has 2513 uncovered lines. Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
- Coverage 89.91% 89.88% -0.03%
==========================================
Files 193 193 —
Lines 24832 24832 —
Branches 8912 8912 —
==========================================
+ Hits 22326 22319 -7
- Misses 2506 2513 +7
- Partials 1417 1417 —Generated by Codecov Action |
Drop the commit pin for the internal AI integration harness action. Co-Authored-By: Daniel Griesser <dgriesser@sentry.io>
HazAT
marked this pull request as ready for review
July 31, 2026 18:17
ericapisani
requested changes
Jul 31, 2026
ericapisani
left a comment
Member
There was a problem hiding this comment.
The changeover to the openrouter api key looks fine but I think we should undo the change that was introduced to what version of testing-ai-sdk-integrations we test against in the pipeline
Co-Authored-By: Daniel Griesser <dgriesser@sentry.io>
ericapisani
reviewed
Jul 31, 2026
ericapisani
approved these changes
Jul 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Wire the AI integration harness caller to OpenRouter so Anthropic-compatible tests no longer need a direct Anthropic key.
Action input
.github/workflows/ai-integration-test.ymlnow passesopenrouter-api-key: ${{ secrets.OPENROUTER_API_KEY }}instead ofanthropic-api-key. The harness remains pinned to the merged OpenRouter migration revision (318143d106d4a847dfac3804bb2663d1b852cf28) for pipeline stability and supply-chain safety.Companion: getsentry/testing-ai-sdk-integrations#154
Secrets
This workflow uses the
AI Integrations Testsenvironment. AddOPENROUTER_API_KEYthere (environment secret), not only as a plain repo secret, thenANTHROPIC_API_KEYcan be removed after this ships.