Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Move trace annotation to correct fn#1265

Merged
Swatinem merged 1 commit intomainfrom
swatinem/mv-traces
Apr 2, 2025
Merged

Move trace annotation to correct fn#1265
Swatinem merged 1 commit intomainfrom
swatinem/mv-traces

Conversation

@Swatinem
Copy link
Copy Markdown
Contributor

@Swatinem Swatinem commented Apr 2, 2025

By looking at some random traces, I found that the functions being traced were only creating querysets, but they were not the functions that actually evaluated those querysets.

By looking at some random traces, I found that the functions being traced were only *creating* querysets, but they were not the functions that actually *evaluated* those querysets.
@Swatinem Swatinem self-assigned this Apr 2, 2025
@Swatinem Swatinem requested a review from a team as a code owner April 2, 2025 08:34
if exclude_okta_enforced_repos:
queryset = queryset.exclude_accounts_enforced_okta(okta_account_auths)

if not ai_enabled_filter:
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no to reviewers: expand the code above this change, and you will see that we early-return if ai_enabled_filter above, so this branch here was always true.

@seer-by-sentry
Copy link
Copy Markdown
Contributor

seer-by-sentry bot commented Apr 2, 2025

✅ Sentry found no issues in your recent changes ✅

@codecov-notifications
Copy link
Copy Markdown

codecov-notifications bot commented Apr 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.32%. Comparing base (defc6a5) to head (12f2c6c).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1265      +/-   ##
==========================================
- Coverage   96.32%   96.32%   -0.01%     
==========================================
  Files         493      493              
  Lines       16933    16932       -1     
==========================================
- Hits        16310    16309       -1     
  Misses        623      623              
Flag Coverage Δ
unit 96.32% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Swatinem Swatinem enabled auto-merge April 2, 2025 10:53
@Swatinem Swatinem added this pull request to the merge queue Apr 2, 2025
Merged via the queue into main with commit 77982e9 Apr 2, 2025
23 of 24 checks passed
@Swatinem Swatinem deleted the swatinem/mv-traces branch April 2, 2025 13:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants