Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
9bf2142
Upgrade Dynatrace RUM to 1.329+ with dual-flag version control
redbugz May 26, 2026
2882a7b
Add Dynatrace RUM automation and update documentation
redbugz May 26, 2026
fc08c38
Add RUM loading mechanism telemetry for performance comparison
redbugz Jun 1, 2026
1bd88c7
Fix Dynatrace beacon reporting by preserving data-dtconfig attribute
redbugz Jun 1, 2026
526df6f
Bump react-scripts to 8.17.0-alpha.2
redbugz Jun 1, 2026
9140aa4
Use inline script approach for new RUM with proper JSON config
redbugz Jun 1, 2026
8a1244d
Update package-lock.json and fetch script permissions for alpha.2 rel…
redbugz Jun 1, 2026
815ba1c
Bump react-scripts to 8.17.0-alpha.3
redbugz Jun 1, 2026
8095232
Fix RUM loading mechanism telemetry timing
redbugz Jun 1, 2026
a4ce7ca
Bump react-scripts to 8.17.0-alpha.4
redbugz Jun 1, 2026
03dc395
Add async attribute to old RUM asyncCS-script mechanism
redbugz Jun 1, 2026
18c5c24
Revert "Add async attribute to old RUM asyncCS-script mechanism"
redbugz Jun 1, 2026
4e1f36a
Fix RUM loading mechanisms and fetch inline code correctly
redbugz Jun 1, 2026
d30405d
Call all three Dynatrace RUM API endpoints
redbugz Jun 1, 2026
c191956
Improve fetch script with refactored helpers and CDN config export
redbugz Jun 1, 2026
13dd4be
Add locals.dynatrace fallback pattern for progressive enhancement
redbugz Jun 1, 2026
db514d2
Add S3 publishing via AWS CLI for dynatrace-rum-config.json
redbugz Jun 2, 2026
4906de7
Remove 'New' postfix from property names for cleaner API
redbugz Jun 2, 2026
7fe4be3
Make S3 config file publicly readable with --acl public-read
redbugz Jun 2, 2026
8bb4185
Fix EJS parsing error by using string concatenation in include statem…
redbugz Jun 9, 2026
e2c650b
Add hyphen to include() tags for proper EJS output
redbugz Jun 10, 2026
763614c
Use standard EJS include syntax without hyphen
redbugz Jun 10, 2026
f4db5bb
Compute dynamic paths before include to support variable resolution
redbugz Jun 10, 2026
d4ea996
Fix EJS parsing error by using string concatenation in include statem…
redbugz Jun 10, 2026
7bccac1
Add logging to dynatrace.ejs to debug code path execution
redbugz Jun 10, 2026
e407f2c
Remove optional chaining syntax unsupported by EJS parser
redbugz Jun 10, 2026
2edb956
Load new Dynatrace RUM via script tags, never inline
redbugz Jul 13, 2026
60c5eb7
Bump @fs/react-scripts to 8.17.0-alpha.13
redbugz Jul 14, 2026
be10a50
Bump @fs/react-scripts to 8.17.0-alpha.14
redbugz Jul 14, 2026
407d983
fetch-dynatrace-scripts: AWS preflight, agent-version output, keychai…
redbugz Jul 29, 2026
8e1011a
Update Dynatrace RUM to agent 10341260622154106
redbugz Jul 29, 2026
9428972
prepare for PR
redbugz Jul 29, 2026
f9a8bec
Remove debug console.log from dynatrace.ejs; finalize 8.17.0
redbugz Jul 29, 2026
3bdb240
Address Copilot review on PR #425
redbugz Jul 30, 2026
60813fb
refactor(rum): New RUM baseline, single loading mechanism
redbugz Aug 8, 2026
1d6f09d
chore(rum): move maintainer tooling out of the published package
redbugz Aug 8, 2026
13648f9
chore(rum): refresh Dynatrace fallbacks to agent 1.343 for all enviro…
redbugz Aug 17, 2026
39ca473
docs(rum): capture pre-async RUM baselines per environment
redbugz Aug 18, 2026
ed9f91a
docs(rum): spec the error-capture probe for frontier-app-react
redbugz Aug 17, 2026
eb2c01f
feat(rum): buffer early errors and replay them once the agent loads
redbugz Aug 17, 2026
ce2a872
docs(rum): record how chunk-load failures reach RUM
redbugz Aug 18, 2026
5000db9
docs(rum): record which errors survive the build, and why prod cannot…
redbugz Aug 18, 2026
55e4350
docs(rum): record the dead-bundle case, split blocked from throws
redbugz Aug 18, 2026
b899b59
Bump @fs/react-scripts to 8.17.0-alpha.18
redbugz Aug 24, 2026
8ab1602
docs(rum): record measured buffer coverage, correct the success crite…
redbugz Aug 24, 2026
022df9e
feat(rum): revive asyncCS-script as the async SRI arm
redbugz Aug 26, 2026
cf95dfc
docs(rum): changelog — four flag states and the early-error buffer
redbugz Aug 26, 2026
5109262
chore(rum): refresh Dynatrace fallbacks to agent 1.347
redbugz Oct 27, 2026
1a6587f
docs(rum): record that the SRI arms send no data to Grail
redbugz Oct 27, 2026
dc5fdc4
Bump @fs/react-scripts to 8.17.0-alpha.20
redbugz Oct 27, 2026
81cc9f8
docs(rum): record the Split test keys that force each flag state
redbugz Oct 27, 2026
3389db1
docs(rum): state the SRI/Grail evidence as a comparison, not a count
redbugz Oct 28, 2026
0f7b27e
Bump @fs/react-scripts to 8.17.0
redbugz Oct 28, 2026
5fd0903
docs(rum): replace the tenant-state snapshot with the queries that re…
redbugz Oct 28, 2026
961176a
docs(rum): consolidate tools/dynatrace to a runbook and a decision re…
redbugz Oct 28, 2026
cb9ec36
docs(rum): date the two SRI/Grail rounds correctly
redbugz Oct 28, 2026
2cc61e0
chore(deps): bump proxy-addr and handlebars past jfrog curation blocks
redbugz Oct 28, 2026
bfdcd3d
Prevent logging errors from window target
joeycozza Oct 28, 2026
8d47864
Enhance error reporting in dynatrace.ejs
joeycozza Oct 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG-FRONTIER.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 8.17.0

- Migrate to the Dynatrace New RUM Experience (RUM on Grail) and load the agent `async`
- **Default:** `_complete.js` from the Dynatrace global CDN, loaded `async`, so pages no longer block rendering on the agent download (~181 KB gzipped with New RUM and Session Replay). It follows the tenant's agent version and configuration with no react-scripts release
- **`enableManualPageDetection` and `window.dtinfo.appName` now work under async loading.** `layout.ejs` called them only if `window.dtrum` already existed, which silently skipped them once the agent loaded async. A new `dtWhenReady(which, fn)` helper runs them when the agent arrives
- **Early-error buffer:** an inline listener catches errors thrown before the async agent installs its handlers and replays them through `dtrum.reportError`. Measured on int, capture at 250 ms rose from 2/10 to 6/10 and at 400 ms from 5/10 to 9/10; it cannot reach t=0. Emits nothing under `off`
- **Removed the `frontier_snow_dynatraceNewRUM` flag.** It never controlled New RUM — that is the tenant's `enabledOnGrail` setting — and only toggled `async`
- `frontier_snow_dynatraceRUM` has four states: `off` (kill switch), two SRI arms — `asyncCS-inline` (versioned tag + SRI, `sync`) and `asyncCS-script` (the same tag, `async`) — and a fail-open default for anything else, including a Split outage returning `control`
- **Both SRI arms currently send no data to Grail** — 0 of 12 runs on int, against 4 of 6 for the default; sampling cannot explain it and the cause is unknown. Classic RUM keeps working on them, so nothing looks wrong from the page. Keep them limited to their test keys. Their values are baked in at publish time: Snow does not yet supply fresh ones through `locals.dynatrace` (pending in fs-webdev/snow#446)
- **Removed all old-RUM code paths:** `edgeUrls`, the old `cdnUrls`, and the three `_inline_*.ejs` bootstrap files
- Maintainer tooling and docs moved to `packages/react-scripts/tools/dynatrace/` and excluded from the published package. Published package: 119 files / 392 KB → 104 files / 254 KB. Rationale and known limits: `tools/dynatrace/DYNATRACE_RUM_MECHANISMS.md`

## 8.16.4

- Widen the `typescript` peer range from `^3.2.1 || ^4 || ^5` to `^3.2.1 || ^4 || ^5 || ^6` so consuming apps can take `typescript@6`
Expand Down
40 changes: 14 additions & 26 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 18 additions & 3 deletions packages/react-scripts/layout/views/layout.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,25 @@
<%- include('partials/experiments') %>
<%- include('partials/sentry') %>
<%- include('partials/clientAppConfig') %>
if (window.dtrum) {
// window.dtinfo is a plain global read by Dynatrace metadata capture rules, so set it
// unconditionally and as early as possible. Both RUM Classic and the New RUM Experience can
// read it via their own (separately configured) capture rules; gating it on the agent being
// loaded meant the async treatments never set it at all.
if (!window.dtinfo) window.dtinfo = {}
window.dtinfo.appName = SERVER_DATA.appName

// enableManualPageDetection is a RUM Classic API with no New RUM equivalent — New RUM models
// navigations / page summaries / view summaries instead. Defer it until dtrum exists rather
// than firing once: under async loading the old `if (window.dtrum)` guard was always false,
// so Classic silently fell back to automatic page detection on those treatments.
if (window.dtWhenReady) {
window.dtWhenReady('classic', function () {
if (typeof window.dtrum.enableManualPageDetection === 'function') {
window.dtrum.enableManualPageDetection()
}
})
} else if (window.dtrum) {
window.dtrum.enableManualPageDetection()
if (!window.dtinfo) window.dtinfo = {}
window.dtinfo.appName = SERVER_DATA.appName
}
</script>
</head>
Expand Down
Loading
Loading