Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set bot on owner even if bot name hasn't changed #1193

Merged
merged 1 commit into from
Mar 4, 2025

Conversation

michelletran-codecov
Copy link
Contributor

@michelletran-codecov michelletran-codecov commented Mar 4, 2025

Purpose/Motivation

The current problem is that customers are not having their bots picked up properly. This is because the bots are not being populated during the YAML save workflow onto the owners.bot field. This will hopefully attempt to save the bot if the user creates the bot after the YAML is updated (as it wasn't updating before).

Links to relevant tickets

This fixes: https://github.com/codecov/internal-issues/issues/1244

What does this PR do?

Include a brief description of the changes in this PR. Bullet points are your friend.

Notes to Reviewer

Anything to note to the team? Any tips on how to review, or where to start?

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

This is to ensure that the bot is set, even if the YAML hasn't changed.
@codecov-notifications
Copy link

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!

Copy link

codecov bot commented Mar 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.88%. Comparing base (5df99ba) to head (ae93fda).
Report is 2 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1193   +/-   ##
=======================================
  Coverage   95.88%   95.88%           
=======================================
  Files         493      493           
  Lines       16851    16851           
=======================================
  Hits        16157    16157           
  Misses        694      694           
Flag Coverage Δ
unit 95.88% <100.00%> (ø)

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.

@michelletran-codecov michelletran-codecov requested review from a team March 4, 2025 18:37
Copy link
Contributor

@spalmurray-codecov spalmurray-codecov left a comment

Choose a reason for hiding this comment

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

nice job tracking this one down!

@michelletran-codecov michelletran-codecov added this pull request to the merge queue Mar 4, 2025
Merged via the queue into main with commit e31ddc2 Mar 4, 2025
27 of 28 checks passed
@michelletran-codecov michelletran-codecov deleted the 1244_ensure_team_bots_updated branch March 4, 2025 19:48
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.

2 participants