-
Notifications
You must be signed in to change notification settings - Fork 30
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
Ophan tracker JS does its own types #11438
Conversation
what happen to those? are they dropped on the floor? do they make their way into the lakehouse?
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.
Pinged teams that should investigate existing events with errors…
dotcom-rendering/src/components/ShowHideContainers.importable.tsx
Outdated
Show resolved
Hide resolved
dotcom-rendering/src/components/YoutubeBlockComponent.importable.tsx
Outdated
Show resolved
Hide resolved
INT -> International EUR -> Europe
Size Change: -31 B (0%) Total Size: 889 kB ℹ️ View Unchanged
|
Hello 👋! When you're ready to run Chromatic, please apply the You will need to reapply the label each time you want to run Chromatic. |
@@ -108,6 +108,7 @@ export const buildBrazeMessaging = async ( | |||
const sdkLoadTimeTaken = endPerformanceMeasure(); | |||
const ophan = await getOphan(renderingTarget); | |||
ophan.record({ | |||
// @ts-expect-error -- is this event dropped by Ophan? |
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.
Maybe adjust these comments to state that these events are being dropped and add a link to this PR for further context or a note that other teams will remove it later on.
I notice that the type |
teams should remove the invalid calls to Ophan, when they are able to do so, as these events are being dropped by Ophan, having an invalid shape.
Unfortunately, it’s not straightforward as the |
Ophan are happy with the release. Follow-up required by various teams:
|
What does this change?
Bump
@guardian/ophan-tracker-js
to the latest version and use its exported types, which are now owned by the @guardian/ophan team rather than being declared in@guardian/libs
Why?
The team responsible for the data analysis is best placed to own the type declaration! We should see less errors and dropped events once this is in place.
Known issues
Potential risks
This being a key part of our analytics, we should be extra careful in releasing changes.