From e8d76542b6ae5989c5a3f5b991228748b7855b8a Mon Sep 17 00:00:00 2001 From: Ravi Kumar L Date: Sun, 5 Jul 2026 17:32:53 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A1=20feat:=20add=20rum=20browser=20pa?= =?UTF-8?q?ge-load=20diagnostics=20(#14106)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(rum): add browser navigation diagnostics * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * feat(rum): add browser navigation diagnostics * refactor(rum): extract bootstrap diagnostics * test(rum): fix bootstrap spec typings * fix(rum): keep stale asset recovery inline * fix(rum): simplify bootstrap recovery split * fix(rum): discard early queue when unsampled * fix(rum): restore emitter after re-enable * fix(rum): ignore optional bootstrap failures * fix(rum): preserve proxy queue until token --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- client/index.html | 72 ++++++- client/package.json | 1 + client/src/lib/rum/bootstrap-entry.js | 7 + client/src/lib/rum/bootstrap.js | 142 +++++++++++++ client/src/lib/rum/bootstrap.spec.ts | 97 +++++++++ client/src/lib/rum/diagnostics.spec.ts | 239 +++++++++++++++++++++ client/src/lib/rum/diagnostics.ts | 282 +++++++++++++++++++++++++ client/src/lib/rum/routes.spec.ts | 1 + client/src/lib/rum/routes.ts | 4 + client/src/lib/rum/useRum.spec.tsx | 147 +++++++++++++ client/src/lib/rum/useRum.ts | 47 ++++- package-lock.json | 1 + 12 files changed, 1030 insertions(+), 10 deletions(-) create mode 100644 client/src/lib/rum/bootstrap-entry.js create mode 100644 client/src/lib/rum/bootstrap.js create mode 100644 client/src/lib/rum/bootstrap.spec.ts create mode 100644 client/src/lib/rum/diagnostics.spec.ts create mode 100644 client/src/lib/rum/diagnostics.ts diff --git a/client/index.html b/client/index.html index d302fb250a..7ea758aacc 100644 --- a/client/index.html +++ b/client/index.html @@ -1,4 +1,4 @@ - + @@ -7,12 +7,18 @@ - + LibreChat - +