Skip to content

Upgrade ophan tracker-js - #16236

Merged
jonflynng merged 2 commits into
mainfrom
upgrade-tracker-js-v3
Jul 22, 2026
Merged

Upgrade ophan tracker-js#16236
jonflynng merged 2 commits into
mainfrom
upgrade-tracker-js-v3

Conversation

@jonflynng

@jonflynng jonflynng commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

What changed

  • Uses @guardian/ophan-tracker-js v5.
  • Initialises the unified tracker entry point with init('ng').
  • Keeps Apps fallback tracker shape aligned with the v5 API.

Verification

  • fnm exec --using 24 pnpm tsc --pretty false
  • fnm exec --using 24 pnpm test -- --runInBand src/components/YoutubeAtom
  • Confirmed no sendInitialEvent() calls in this consumer, avoiding an immediate duplicate page-view send after init().

@jonflynng
jonflynng requested a review from a team as a code owner June 22, 2026 14:43
@github-actions

github-actions Bot commented Jun 22, 2026

Copy link
Copy Markdown

@jonflynng
jonflynng force-pushed the upgrade-tracker-js-v3 branch from 9d1bd0a to ba21e15 Compare June 22, 2026 16:10
@akash1810

akash1810 commented Jul 9, 2026

Copy link
Copy Markdown
Member

Please rebase this branch against main before deploying to CODE. #16321 made some changes to CI and infrastructure. Deploying this branch without these changes present will either:

  • Fail when using Riff-Raff's default update strategy
  • OR delete the new infrastructure if using Riff-Raff's "dangerous" mode

Please rebase this branch against main before deploying to CODE.

@jonflynng
jonflynng force-pushed the upgrade-tracker-js-v3 branch from ba21e15 to 875d9de Compare July 22, 2026 12:33
@jonflynng jonflynng changed the title Upgrade ophan tracker canary Upgrade ophan tracker-js Jul 22, 2026
# Conflicts:
#	dotcom-rendering/package.json
#	pnpm-lock.yaml
@alexduf alexduf added the maintenance Departmental tracking: maintenance work, not a fix or a feature label Jul 22, 2026
@alexduf alexduf added the run_chromatic Runs chromatic when label is applied label Jul 22, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Jul 22, 2026
@jonflynng
jonflynng added this pull request to the merge queue Jul 22, 2026
@jonflynng
jonflynng removed this pull request from the merge queue due to a manual request Jul 22, 2026
@jonflynng
jonflynng added this pull request to the merge queue Jul 22, 2026
Merged via the queue into main with commit 7e819cc Jul 22, 2026
43 of 45 checks passed
@jonflynng
jonflynng deleted the upgrade-tracker-js-v3 branch July 22, 2026 15:14
@gu-prout

gu-prout Bot commented Jul 22, 2026

Copy link
Copy Markdown

Seen on PROD (merged by @jonflynng 12 minutes and 24 seconds ago) Please check your changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Departmental tracking: maintenance work, not a fix or a feature Ophan Seen-on-PROD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants