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

Release v6.18.0 #641

Merged
merged 27 commits into from
Oct 27, 2020
Merged

Release v6.18.0 #641

merged 27 commits into from
Oct 27, 2020

Conversation

imjoehaines
Copy link
Contributor

6.18.0 (27 October 2020)

Enhancements

  • Bugsnag should now report uncaught exceptions inside Bundler's 'friendly errors'
    | #634

  • Improve the display of breadrumbs in the Bugsnag app by including milliseconds in timestamps
    | #639

imjoehaines and others added 27 commits September 8, 2020 13:31
We avoid reporting SystemExit exceptions as they aren't (usually)
errors. However, Bundler's friendly errors will wrap an exception
in a SystemExit — in this case we need to unwrap to the original
exception
This proves that we don't unwrap exceptions too much when unwrapping
Bundler's friendly errors. In this case, the backtrace will look
something like this:

1. Bundler friendly errors
2. Our exit
3. The exception we raised

We want to drop 1. because it may be hiding a real exception, however
we don't want to drop 2. because it's a deliberate exit

This test proves that we don't go too far and end up with an exception
that we would notify about
Workaround Bundler's friendly errors swallowing error reports
Added a note that in order to run the specs, you may need to install the bundle with the `--with test` command line option in order to install the `test` group of gems, including `rake`. Otherwise you end up with an error like this: 

```bash
$ be rake spec


bundler: failed to load command: rake (/Users/joshuapinter/.rbenv/versions/2.6.5/bin/rake)
Gem::Exception: can't find executable rake for gem rake. rake is not currently included in the bundle, perhaps you meant to add it to your Gemfile?
```

Wasted 15 minutes figuring out what the issue was so this should help others contribute.
This step is necessary before running the test suite.
`rake` defaults to `rake spec` and in the `TESTING.md` file it just uses `rake`, so we should be consistent.
Add Note for installing test group gems.
This is temporary to get CI passing, not something we want to keep!
Pending future work to fix them
Breadcrumbs now have milliseconds included, which allows for the
Bugsnag app to display the timestamps more accurately
Increase timestamp resolution to include milliseconds
Add timeout to all Buildkite steps
@imjoehaines imjoehaines merged commit 13536f8 into master Oct 27, 2020
@imjoehaines imjoehaines deleted the release/v6.18.0 branch October 27, 2020 15:00
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.

4 participants