Skip to content

test: skip the third-parties GTM case that counts Google's live dataLayer events - #315

Merged
bestickley merged 2 commits into
mainfrom
fix/third-parties-gtm-harness
Oct 15, 2026
Merged

bestickley merged 2 commits into
mainfrom
fix/third-parties-gtm-harness

Conversation

@bestickley

Copy link
Copy Markdown
Contributor

googletagmanager.com now answers the fixtures' GTM-XYZ with a 200 instead of a 404, so Google's script runs and pushes its own events: renders GTM sees 3 dataLayer entries instead of 1. It failed both tries on every NextjsType in the 2026-10-13 scheduled harness run (38412496232, all four attempts), with no cdk-nextjs error.

Upstream fixed the test after v16.4.0 (vercel/next.js#99896); the harness pins v16.4.0. This moves third-parties/index and app-dir/third-parties/basic from rules.include to suites with only that case skipped, regenerates the screening counts (screen.mjs --check passes), and records the verdict in docs/harness-coverage.md. Drop both entries once the pin includes #99896.

Verified with a targeted harness run of just these two files on all four types (nextjs_type=all, shard_total=1): https://github.com/cdklabs/cdk-nextjs/actions/runs/38747397860 - both files passed on retry 0 everywhere.

Not addressed: app-dir/router-autoscroll failed both tries on Global Functions shard 1 in attempt 3 (passed in attempts 1-2), a known retry-pass flake; revisit if the next scheduled run repeats it.

🤖 Generated with Claude Code

…ayer events

googletagmanager.com now answers the fixtures' GTM-XYZ with a 200, so
Google's script pushes its own events and `renders GTM` sees 3 dataLayer
entries instead of 1. It failed on every NextjsType in the 2026-10-13
scheduled harness run. Upstream fixed the test after v16.4.0
(vercel/next.js#99896); move both files to `suites` with that case skipped
until the pin includes it.

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@bestickley
bestickley disabled auto-merge October 15, 2026 15:56
@bestickley
bestickley merged commit 84994ee into main Oct 15, 2026
9 checks passed
@bestickley
bestickley deleted the fix/third-parties-gtm-harness branch October 15, 2026 15:58
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.

1 participant