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

Conversation

@nora-shap
Copy link
Member

We have this on Repository model so we can do this in api.
I'd like to add the same thing for Owner to use in the same way in api.

ChatGPT says it's performant 👼

codecov/engineering-team#2299

@nora-shap nora-shap requested a review from a team October 29, 2024 23:22
objects = OwnerManager()

tracker = FieldTracker(
fields=["username", "service", "upload_token_required_for_public_repos"]
Copy link
Contributor

Choose a reason for hiding this comment

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

This is fine, although if you don't specify the fields, then you can track any field you want, so you wouldn't have to make a future PR for this. Pros and cons, this makes it more specific too. I'll leave this up to you!

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah I hear that - at the moment I'd like to keep it as slim as possible, so I'll keep it with these specific fields.

@nora-shap nora-shap added this pull request to the merge queue Oct 30, 2024
Merged via the queue into main with commit fccd479 Oct 30, 2024
6 checks passed
@nora-shap nora-shap deleted the nora/2299 branch October 30, 2024 01:01
@codecov
Copy link

codecov bot commented Oct 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.81%. Comparing base (50d65c3) to head (b087135).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #411      +/-   ##
==========================================
- Coverage   90.24%   89.81%   -0.43%     
==========================================
  Files         384      324      -60     
  Lines       11733     9472    -2261     
  Branches     2058     1688     -370     
==========================================
- Hits        10588     8507    -2081     
+ Misses       1046      901     -145     
+ Partials       99       64      -35     
Flag Coverage Δ
shared-docker-uploader ?

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.

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.

3 participants