GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — feat(meta-sdks): Remove runtime tags by s1gr1d · Pull Request #13105 · getsentry/sentry-javascript Conversation
Member
Runtime tags are already set by e.g. Relay, so the Meta-Framework SDKs do not need to set them anymore. Comment why this change was made: #13101 (review)
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
lforst
approved these changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I fear the tests will need updating but lgtm
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
size-limit report 📦
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this! Just had a suggestion to remove some tests that specifically tested the runtime tag before.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
||
| expect(getIsolationScope().getScopeData().tags).toEqual({ runtime: 'browser' }); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
same here
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
||
| init({ dsn: 'https://[email protected]/1337' }); | ||
|
|
||
| expect(SentryNode.getIsolationScope().getScopeData().tags).toEqual({ runtime: 'node' }); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
same here
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| it('sets the runtime tag on the isolation scope', () => { | ||
| solidStartInit({ dsn: 'https://[email protected]/1337' }); | ||
|
|
||
| expect(SentryNode.getIsolationScope().getScopeData().tags).toEqual({ runtime: 'node' }); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
same here
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| it('sets the runtime tag on the isolation scope', () => { | ||
| solidStartInit({ dsn: 'https://[email protected]/1337' }); | ||
|
|
||
| expect(SentrySolid.getIsolationScope().getScopeData().tags).toEqual({ runtime: 'browser' }); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
same here
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| expect(SentryReact.getIsolationScope().getScopeData().tags).toEqual({}); | ||
|
|
||
| init({ dsn: 'https://[email protected]/1337' }); | ||
|
|
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
same here
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
||
| init({ dsn: 'https://[email protected]/1337' }); | ||
|
|
||
| expect(SentryNode.getIsolationScope().getScopeData().tags).toEqual({ runtime: 'node' }); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
same here
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
||
| init({ dsn: 'https://[email protected]/1337' }); | ||
|
|
||
| expect(SentryReact.getIsolationScope().getScopeData().tags).toEqual({ runtime: 'browser' }); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
same here
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
||
| expect(SentryNode.getIsolationScope().getScopeData().tags).toEqual({ runtime: 'node' }); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
l: let's delete the entire test since this was the only relevant check. I don't think we need to assert that the isolation scope has no tags at the beginning for Astro specifically.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.