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

Remove usage of deprecated event.stacktrace #4885

Merged

Conversation

timfish
Copy link
Collaborator

@timfish timfish commented Apr 7, 2022

Removes usage of deprecated event.stacktrace

I'll add some inline comments to cover my remaining concerns...

Fixes #2605

AbhiPrasad and others added 12 commits April 7, 2022 13:32
Removes all references to `@sentry/apm`, a deprecated package we do not use anymore.
Removes the deprecated `API` class.
…ry#4849)

Remove deprecated methods `startSpan` and `child`.

These deprecated methods were removed in favour of `span.startChild`.
Removes `getActiveDomain` function and corresponding type.
The `user` dsn component was renamed to `publicKey`. This PR removes that from the dsn field.
Increases the creation timeout of `MongoMemoryServer` to temporarily fix Node integration test flakiness
@timfish timfish mentioned this pull request Apr 7, 2022
15 tasks
AbhiPrasad
AbhiPrasad previously approved these changes Apr 7, 2022
@AbhiPrasad AbhiPrasad dismissed their stale review April 7, 2022 16:19

test + lint

@timfish timfish force-pushed the v7/remove-deprecated-event.stacktrace branch from 1131a9f to 04c3602 Compare April 7, 2022 16:25
@AbhiPrasad AbhiPrasad added this to the 7.0.0 milestone Apr 7, 2022
@timfish timfish force-pushed the v7/remove-deprecated-event.stacktrace branch from 04c3602 to 6865b6e Compare April 7, 2022 16:59
@timfish
Copy link
Collaborator Author

timfish commented Apr 7, 2022

This broke a lot more tests than I imagined it would. Is this because event.stacktrace was initially the default?

Does this mean this change likely to be high impact to customers?

@AbhiPrasad
Copy link
Member

This actually broke a lot more tests than I imagined it would. Is this because event.stacktrace was initially the default?

Does this mean this change likely to be high impact to customers?

This is a good observation. I realized that most folks might have to make significant updates to beforeSend as a result. Putting this on the list to chat with the rest of the team - I’ll get back to you by tommorow.

@lobsterkatie lobsterkatie changed the title [v7] Remove usage of deprecated event.stacktrace Remove usage of deprecated event.stacktrace Apr 7, 2022
@lobsterkatie
Copy link
Member

@timfish FYI, now that we're on the v7 branch, we don't need to prefix PRs with [v7] anymore. 🎉

@AbhiPrasad
Copy link
Member

Mind if you can rebase this? The diff is a little hard to read.

We chatted as a team, and we think it's fine for us to move off of event.stacktrace - let's go ahead with these changes!

@timfish
Copy link
Collaborator Author

timfish commented Apr 11, 2022

Rebased. Is the Ember failure a flake?

@AbhiPrasad
Copy link
Member

Yup - ember is a flake.

@AbhiPrasad AbhiPrasad merged commit 2ecf1e5 into getsentry:7.x Apr 11, 2022
lobsterkatie pushed a commit that referenced this pull request Apr 13, 2022
Removes usage of deprecated `event.stacktrace` and updated the event interface to remove the deprecated property.
Lms24 pushed a commit that referenced this pull request Apr 26, 2022
Removes usage of deprecated `event.stacktrace` and updated the event interface to remove the deprecated property.
lobsterkatie pushed a commit that referenced this pull request Apr 26, 2022
Removes usage of deprecated `event.stacktrace` and updated the event interface to remove the deprecated property.
lobsterkatie pushed a commit that referenced this pull request Apr 26, 2022
Removes usage of deprecated `event.stacktrace` and updated the event interface to remove the deprecated property.
@timfish timfish deleted the v7/remove-deprecated-event.stacktrace branch May 19, 2022 13:14
AbhiPrasad pushed a commit that referenced this pull request May 30, 2022
Removes usage of deprecated `event.stacktrace` and updated the event interface to remove the deprecated property.
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