Repository navigation
test(otel): check the Prisma CRUD scan by the helpers it finds instead of a fixed call count - #54036
Merged
devin-ai-integration[bot] merged 1 commit intoNov 24, 2026
Conversation
…d of a fixed call count Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
PR overviewNo security issues were found in this pull request. Reviews
|
Contributor
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
Contributor
There was a problem hiding this comment.
Read the full diff at 637f6b4. It's test only: the scan assertion now checks that every generic CRUD helper is found, where it used to check for at least 40 call sites. No security concerns.
devin-ai-integration
Bot
deleted the
litellm_otel_crud_scan_no_fixed_count
branch
November 24, 2026 02:53
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.
Handwritten 1-3 sentence description
Main's
integrationsjob is red because a test demands at least 40 direct Prisma helper calls, and two refactors brought the real count down to 38. The test now checks that the scan still finds every helper kind, with no fixed count.Details
Link to Devin session: https://app.devin.ai/sessions/66b0b57dabc24400b1774ff64361239c
Open in Devin Desktop: https://app.devin.ai/desktop/session/66b0b57dabc24400b1774ff64361239c?variant=devin
Requested by: @kerry-berri
TLDR
Problem this solves:
integrationsandunit passedfail on main since 34d6cb3get_datacalls into one helper (42 to 39 call sites)insert_datacall (38)How it solves it:
_GENERIC_CRUD_HELPERSPre-Submission checklist
Screenshots / Proof of Fix
E2E exception: test-only change, no runtime code.
Main's failing job (log):
Locally on main at fdc16fd the test fails the same way. With this change:
On this PR's head the
changed-testsjob ran this test file and passed, andunit passedis green. The full shard that is red on main does not run on PRs.Type
✅ Test
Caveats (if any)
Low