Skip to content

chore: Cleanup unused comments #14864

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

Merged
merged 1 commit into from
Jan 10, 2025
Merged

chore: Cleanup unused comments #14864

merged 1 commit into from
Jan 10, 2025

Conversation

mydea
Copy link
Member

@mydea mydea commented Dec 30, 2024

Cleaning up some small comments.

@mydea mydea self-assigned this Dec 30, 2024
@@ -182,8 +182,6 @@ async function captureErrorAndGetEnvelopeTraceHeader(page: Page): Promise<Partia

const [, errorEnvelopeTraceHeader] = (await errorEventPromise)[0];

// @ts-expect-error - EventEnvelopeHeaders type in (types/envelope.ts) suggests that trace_id is optional,
Copy link
Member Author

Choose a reason for hiding this comment

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

??? not sure why but this started failing for me locally...?

@@ -131,7 +131,6 @@ function _isIgnoredTransaction(event: Event, ignoreTransactions?: Array<string |
}

function _isDeniedUrl(event: Event, denyUrls?: Array<string | RegExp>): boolean {
// TODO: Use Glob instead?
Copy link
Member Author

Choose a reason for hiding this comment

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

I think this is not relevant anymore?

@@ -19,8 +19,6 @@ interface Performance {

/**
* Returns a timestamp in seconds since the UNIX epoch using the Date API.
*
* TODO(v8): Return type should be rounded.
Copy link
Member Author

Choose a reason for hiding this comment

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

IMHO this would break quite some things?

@@ -32,8 +32,7 @@ export function setContextOnScope(scope: Scope, context: Context): void {

/**
* Get the context related to a scope.
* TODO v8: Use this for the `trace` functions.
Copy link
Member Author

Choose a reason for hiding this comment

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

Already done!

@mydea mydea marked this pull request as ready for review December 30, 2024 15:50
@mydea mydea force-pushed the fn/cleanup-comments branch from 2df9dbf to acddf1f Compare January 9, 2025 08:30
@mydea mydea requested review from Lms24 and chargome January 9, 2025 09:02
@mydea mydea force-pushed the fn/cleanup-comments branch from acddf1f to a4a4b9e Compare January 10, 2025 08:13
Copy link

codecov bot commented Jan 10, 2025

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
695 1 694 300
View the top 1 failed tests by shortest run time
client-app-routing-instrumentation.test.ts Creates a navigation transaction for app router routes
Stack Traces | 30s run time
client-app-routing-instrumentation.test.ts:19:5 Creates a navigation transaction for app router routes

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!

@mydea mydea merged commit b98d341 into develop Jan 10, 2025
153 checks passed
@mydea mydea deleted the fn/cleanup-comments branch January 10, 2025 09:48
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.

3 participants