Joshua Shay Kricheli NeuroSymbolic AI
v2 v1

Release · v2.9.7

GA4 verifier waits for 'load', not 'networkidle0'

CI: GA4 verifier waits for 'load', not 'networkidle0'

ci v2.9.7 June 21, 2026 Claude f559c8c

Details

The GA4 navigation wait used networkidle0, which requires zero in-flight
requests for 500ms. The site keeps the network busy after load with
background Supabase data/image fetches and config reads, so networkidle0
is flaky in CI and was timing out at 30s (blocking deploys), unrelated
to page changes.
Switch the navigation wait to 'load'. GA firing is still asserted
directly afterwards via the collect-hit wait (firstHitPromise), so test
coverage is unchanged; it just no longer hinges on strict network idle.

Files changed (1)

test/verify_google_analytics.mjs +5 −1