-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
fix(angular): Ensure navigations always create a transaction #10646
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,8 +29,8 @@ const config: PlaywrightTestConfig = { | |
*/ | ||
timeout: 10000, | ||
}, | ||
/* Run tests in files in parallel */ | ||
fullyParallel: true, | ||
fullyParallel: false, | ||
workers: 1, | ||
/* Fail the build on CI if you accidentally left test.only in the source code. */ | ||
Comment on lines
+32
to
34
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. Just to avoid bleeds of events due to the proxy. 5 tests shouldn't make much difference here. |
||
forbidOnly: !!process.env.CI, | ||
/* `next dev` is incredibly buggy with the app dir */ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,18 @@ export const routes: Routes = [ | |
path: 'home', | ||
component: HomeComponent, | ||
}, | ||
{ | ||
path: 'redirect1', | ||
redirectTo: '/redirect2', | ||
}, | ||
{ | ||
path: 'redirect2', | ||
redirectTo: '/redirect3', | ||
}, | ||
{ | ||
path: 'redirect3', | ||
redirectTo: '/users/456', | ||
}, | ||
Comment on lines
+14
to
+25
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. Although these are 3 redirects, we'll only get one navigation root span and one routing span for them. I think this is fine (3 routing spans would have been nice to have but whatever) |
||
{ | ||
path: '**', | ||
redirectTo: 'home', | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noticed that this seems to be required to ensure the local/verdaccio version of the dependencies of
@sentry/angular-ivy
are taken instead of the ones uploaded to NPM.