-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
feat(autofix): Add backend check to disable autofix if repos are not connected [feature flagged] #104790
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
feat(autofix): Add backend check to disable autofix if repos are not connected [feature flagged] #104790
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #104790 +/- ##
=========================================
Coverage 80.47% 80.48%
=========================================
Files 9363 9369 +6
Lines 401849 402418 +569
Branches 25833 25833
=========================================
+ Hits 323389 323887 +498
- Misses 78018 78089 +71
Partials 442 442 |
| "project_id": group.project.id, | ||
| }, | ||
| ) | ||
| seer_repos_linked = True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we assume it's True here? Is it errored, shouldn't we be cautious and assume its not linked?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can still run autofix runs if it's not linked. The RCA is just lower quality without code. This what we do today.
Setting it to True is sort of a revert to the original behaviour and definitely won't break anything.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Though to have consistent behaviour with the new paradigm maybe we should just have it as False or show an error?
PR Details