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

Fix compatibility with Ruby 3.4-dev #815

Merged
merged 1 commit into from
Mar 15, 2024
Merged

Conversation

k0kubun
Copy link
Contributor

@k0kubun k0kubun commented Feb 27, 2024

Goal

Parse backtraces correctly with Ruby 3.4-dev

Design

This PR deals with Ruby 3.4's backtrace incompatibility introduced at ruby/ruby#9608.
They used [`'] for fixing existing tests too.

Changeset

Fixed BACKTRACE_LINE_REGEX to parse backtraces which use two 's.

Testing

Reusing existing tests on Ruby 3.4-dev should be enough. Using this branch fixed our test cases.

@clr182 clr182 added the backlog We hope to fix this feature/bug in the future label Mar 7, 2024
@clr182
Copy link

clr182 commented Mar 7, 2024

Hey @k0kubun

Thank you for reaching out and adding this PR. When priorities allow we will review this and look to merge. We will be sure to keep you updated here on this thread.

@imjoehaines imjoehaines changed the base branch from master to next March 15, 2024 13:18
Copy link
Contributor

@imjoehaines imjoehaines left a comment

Choose a reason for hiding this comment

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

Thanks @k0kubun!

@imjoehaines imjoehaines merged commit 9eff896 into bugsnag:next Mar 15, 2024
67 checks passed
imjoehaines added a commit that referenced this pull request Mar 15, 2024
@k0kubun k0kubun deleted the ruby-3-4 branch March 16, 2024 07:43
@mclack mclack added released This feature/bug fix has been released and removed backlog We hope to fix this feature/bug in the future labels Mar 22, 2024
@imjoehaines imjoehaines mentioned this pull request Mar 25, 2024
@k0kubun k0kubun restored the ruby-3-4 branch March 25, 2024 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This feature/bug fix has been released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants