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

Setup maze runner #380

Merged
merged 3 commits into from
Apr 11, 2024
Merged

Setup maze runner #380

merged 3 commits into from
Apr 11, 2024

Conversation

imjoehaines
Copy link
Contributor

Goal

Sets up Maze Runner with two simple tests; one for a handled error and one for an unhandled error

This will be added to over time and may eventually replace our current integration tests for our framework integrations (Django, Flask etc…). We'll primarily be using it for testing AWS Lambda with the SAM CLI as in bugsnag-js

This is currently only sent in the headers but Maze Runner expects it in
the payload body — either & both are supported by the API so we can
safely add it to the payload
This includes two basic tests — one for an unhandled error and one for
a handled error
For now this will run as one job but when it gets too big and starts
taking ages, we can split it up like bugsnag-ruby:

https://github.com/bugsnag/bugsnag-ruby/blob/master/.github/workflows/maze-runner.yml
@@ -436,6 +436,7 @@ def _payload(self):
return encoder.encode({
"apiKey": self.api_key,
"notifier": _NOTIFIER_INFORMATION,
"payloadVersion": self.PAYLOAD_VERSION,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is required for the step:

the error is valid for the error reporting API version "4.0" for the "Python Bugsnag Notifier" notifier

@imjoehaines imjoehaines merged commit 8ae1301 into next Apr 11, 2024
36 checks passed
@imjoehaines imjoehaines deleted the setup-maze-runner branch April 11, 2024 07:43
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