fix(browser): inline the whole recorder in the full bundles (#4309)
* fix(browser): inline the whole recorder in the full bundles `all-external-dependencies.ts` imported `./recorder`, which only defines `__PosthogExtensions__.rrweb.record`. Session recording skips its runtime script fetch only when `initSessionRecording` is also defined, so `array.full.js` and `module.full.es.js` still requested `/static/lazy-recorder.js` - the request those bundles exist to avoid. Import `./lazy-recorder` instead, which defines both. Also flag the session with `$sdk_debug_recording_script_not_loaded` when the recorder script fails to load, so a blocked recorder shows up in analytics rather than only in the browser console. Generated-By: PostHog Code Task-Id: 1cba46fa-5872-458c-94fc-be56dc3b8b88 * test(replay): isolate full bundle recorder request check * test(browser): update recorder compatibility boundary * test(browser): update recorder compatibility boundary * test(browser): advance recorder compatibility boundary --------- Co-authored-by: posthog[bot] <206114724+posthog[bot]@users.noreply.github.com> Co-authored-by: Manoel Aranda Neto <marandaneto@gmail.com>
P
posthog[bot] committed
b564d619fe97682413edfded287c2c2ffe446dbd
Parent: 4d9952f
Committed by GitHub <noreply@github.com>
on 8/19/2026, 7:05:31 PM