-
Notifications
You must be signed in to change notification settings - Fork 12
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
Update for automation checks #134
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #134 +/- ##
=======================================
Coverage 92.68% 92.68%
=======================================
Files 33 33
Lines 1108 1108
Branches 206 206
=======================================
Hits 1027 1027
Misses 59 59
Partials 22 22 ☔ View full report in Codecov by Sentry. |
@@ -39,7 +39,7 @@ | |||
result = await payload() | |||
except (asyncio.CancelledError, KeyboardInterrupt): | |||
raise | |||
except BaseException as e: | |||
except BaseException as e: # noqa: B036 |
Check notice
Code scanning / CodeQL
Except block handles 'BaseException' Note
@@ -36,7 +36,7 @@ | |||
def _monitor_payload(self, payload): | |||
try: | |||
result = payload() | |||
except BaseException as e: | |||
except BaseException as e: # noqa: B036 |
Check notice
Code scanning / CodeQL
Except block handles 'BaseException' Note
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.
Busy busy 🐝 Go for it!
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.
LGTM!
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.
Looks good to me. 👍 Make it so
This PR makes two automation related changes:
flake8-bugbear
recently added B036: "Don't exceptBaseException
unless you plan to re-raise it." This triggered at two points in COBalD's runners which catch all exceptions from running user-specified functions. This PR ignores both reported instances, since we do re-raise the exception eventually.merge_group
event. This is required to run these tests when using a merge queue and ensure changes broken by other PRs are not merged.