@tracelane/report 0.1.0-alpha.6 → 0.1.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -2
- package/dist/panels.d.ts +13 -3
- package/dist/panels.d.ts.map +1 -1
- package/dist/panels.js +76 -11
- package/dist/panels.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -32,8 +32,6 @@ const html = buildReport(events, {
|
|
|
32
32
|
|
|
33
33
|
## Design
|
|
34
34
|
|
|
35
|
-
See [P1 PRD §F](https://github.com/Cubenest/rrweb-stack/blob/main/prds/compass_artifact_wf-d53d32da-17e9-41b5-bb70-21dd1bf648c6_text_markdown.md) and [ADR-0005](https://github.com/Cubenest/rrweb-stack/blob/main/prds/adrs/0005-p1-failed-only-self-contained-html.md).
|
|
36
|
-
|
|
37
35
|
- **Player:** `rrweb-player@1.0.0-alpha.4` (upstream). `@posthog/rrweb-player` was the natural lineage match for the `@cubenest/rrweb-core` substrate fork, but every published version pins an unpublished dependency (`@posthog/rrweb-packer@0.0.0`, 404) and is therefore uninstallable. Upstream `rrweb-player` descends from the same rrweb 2.x line (`2.0.0-alpha.x`) that the substrate's `@posthog/rrweb@0.0.34` was forked from (`2.0.0-alpha.17`), so the recorded event shape replays correctly.
|
|
38
36
|
- **Decompression:** the build side uses `@cubenest/rrweb-core`'s `compress()` (fflate gzip); the view side inlines fflate's browser `gunzipSync` for a small (~8 KB) offline decompressor.
|
|
39
37
|
- **Asset inlining:** the player UMD/CSS and the fflate gunzip source are read from `node_modules` at build time (`fs.readFileSync`) — never hand-pasted into source.
|
package/dist/panels.d.ts
CHANGED
|
@@ -14,6 +14,12 @@ export interface NetworkEntry {
|
|
|
14
14
|
}
|
|
15
15
|
/** rrweb console plugin tag (P1 PRD §F.3). */
|
|
16
16
|
export declare const CONSOLE_PLUGIN = "rrweb/console@1";
|
|
17
|
+
/**
|
|
18
|
+
* rrweb network plugin tag — the framework-agnostic in-page capture
|
|
19
|
+
* (`rrweb/network@1`). Re-exported from `@cubenest/rrweb-core` so it stays
|
|
20
|
+
* in sync with the substrate's wire-format contract.
|
|
21
|
+
*/
|
|
22
|
+
export declare const NETWORK_PLUGIN: "rrweb/network@1";
|
|
17
23
|
/** Custom-event tag for the v1.1 rich network path (P1 PRD §E.3). */
|
|
18
24
|
export declare const NETWORK_EVENT_TAG = "tracelane.test.network-error";
|
|
19
25
|
/** console.error prefix for the v1 network fallback (P1 PRD §E.2). */
|
|
@@ -24,9 +30,13 @@ export declare const NETWORK_CONSOLE_PREFIX = "[tracelane.net]";
|
|
|
24
30
|
*/
|
|
25
31
|
export declare function extractConsole(events: readonly eventWithTime[]): ConsoleEntry[];
|
|
26
32
|
/**
|
|
27
|
-
* Extract network-error rows.
|
|
28
|
-
*
|
|
29
|
-
*
|
|
33
|
+
* Extract network-error rows. Resolution order (first non-empty wins):
|
|
34
|
+
* 1. The framework-agnostic rrweb network plugin (`rrweb/network@1`,
|
|
35
|
+
* EventType.Plugin) — Phase 5 default.
|
|
36
|
+
* 2. The v1.1 custom-event path (EventType.Custom, tag
|
|
37
|
+
* 'tracelane.test.network-error') — fallback for sessions captured by
|
|
38
|
+
* pre-Phase-5 recorders.
|
|
39
|
+
* 3. The v1 console-scrape path — fallback for the earliest recorders.
|
|
30
40
|
*/
|
|
31
41
|
export declare function extractNetwork(events: readonly eventWithTime[]): NetworkEntry[];
|
|
32
42
|
//# sourceMappingURL=panels.d.ts.map
|
package/dist/panels.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panels.d.ts","sourceRoot":"","sources":["../src/panels.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"panels.d.ts","sourceRoot":"","sources":["../src/panels.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAuC,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE/F,2BAA2B;AAC3B,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,iCAAiC;AACjC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,8CAA8C;AAC9C,eAAO,MAAM,cAAc,oBAAoB,CAAC;AAChD;;;;GAIG;AACH,eAAO,MAAM,cAAc,mBAAsB,CAAC;AAClD,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,iCAAiC,CAAC;AAChE,sEAAsE;AACtE,eAAO,MAAM,sBAAsB,oBAAoB,CAAC;AA0DxD;;;GAGG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,SAAS,aAAa,EAAE,GAAG,YAAY,EAAE,CAY/E;AAqDD;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,SAAS,aAAa,EAAE,GAAG,YAAY,EAAE,CA2C/E"}
|
package/dist/panels.js
CHANGED
|
@@ -5,14 +5,23 @@
|
|
|
5
5
|
// renders them — no event filtering happens in the browser). Extracting at
|
|
6
6
|
// build time keeps all the parsing logic unit-testable and the runtime thin.
|
|
7
7
|
//
|
|
8
|
-
// Sources (P1 PRD §F.3 / §E.2):
|
|
8
|
+
// Sources (P1 PRD §F.3 / §E.2 + Phase 5 network-plugin integration):
|
|
9
9
|
// • Console — EventType.Plugin (6) with data.plugin === 'rrweb/console@1'.
|
|
10
|
-
// • Network — EventType.
|
|
11
|
-
//
|
|
12
|
-
//
|
|
13
|
-
|
|
10
|
+
// • Network — preferred path: EventType.Plugin (6) with
|
|
11
|
+
// data.plugin === 'rrweb/network@1' (the framework-agnostic in-page
|
|
12
|
+
// plugin; ships in `@cubenest/rrweb-core`). Falls back to the v1.1
|
|
13
|
+
// EventType.Custom (5) path (tag 'tracelane.test.network-error') for
|
|
14
|
+
// sessions captured by pre-Phase-5 recorders, and finally to scraping
|
|
15
|
+
// console.error lines prefixed '[tracelane.net]' (v1).
|
|
16
|
+
import { EventType, NETWORK_PLUGIN_NAME } from '@cubenest/rrweb-core';
|
|
14
17
|
/** rrweb console plugin tag (P1 PRD §F.3). */
|
|
15
18
|
export const CONSOLE_PLUGIN = 'rrweb/console@1';
|
|
19
|
+
/**
|
|
20
|
+
* rrweb network plugin tag — the framework-agnostic in-page capture
|
|
21
|
+
* (`rrweb/network@1`). Re-exported from `@cubenest/rrweb-core` so it stays
|
|
22
|
+
* in sync with the substrate's wire-format contract.
|
|
23
|
+
*/
|
|
24
|
+
export const NETWORK_PLUGIN = NETWORK_PLUGIN_NAME;
|
|
16
25
|
/** Custom-event tag for the v1.1 rich network path (P1 PRD §E.3). */
|
|
17
26
|
export const NETWORK_EVENT_TAG = 'tracelane.test.network-error';
|
|
18
27
|
/** console.error prefix for the v1 network fallback (P1 PRD §E.2). */
|
|
@@ -67,8 +76,9 @@ export function extractConsole(events) {
|
|
|
67
76
|
const data = e.data;
|
|
68
77
|
if (data.plugin !== CONSOLE_PLUGIN)
|
|
69
78
|
continue;
|
|
70
|
-
const
|
|
71
|
-
const
|
|
79
|
+
const payload = data.payload;
|
|
80
|
+
const level = typeof payload?.level === 'string' ? payload.level : 'log';
|
|
81
|
+
const message = stringifyArgs(payload?.payload);
|
|
72
82
|
rows.push({ level, message, timestamp: e.timestamp });
|
|
73
83
|
}
|
|
74
84
|
return rows;
|
|
@@ -91,11 +101,66 @@ function parseNetConsoleLine(message, timestamp) {
|
|
|
91
101
|
};
|
|
92
102
|
}
|
|
93
103
|
/**
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
104
|
+
* Coerce a `CapturedNetworkRequest` from the network plugin into a
|
|
105
|
+
* panel-visible `NetworkEntry`. Treats network errors (`status === 0`) and
|
|
106
|
+
* 4xx/5xx responses as "failed" — matches the report's existing "Network
|
|
107
|
+
* errors" panel semantics. Returns `undefined` for non-failed requests so
|
|
108
|
+
* the caller can skip them.
|
|
109
|
+
*
|
|
110
|
+
* `fallbackTs` is the wrapping rrweb event's `timestamp` (wall-clock ms);
|
|
111
|
+
* we prefer the captured request's `timestamp` field when present (also
|
|
112
|
+
* wall-clock ms — `timeOrigin + requestMadeAt` in the plugin), and fall
|
|
113
|
+
* back to the wrapping event's timestamp so panel ordering still works
|
|
114
|
+
* when the plugin omits per-request `timestamp` (e.g. older substrates).
|
|
115
|
+
*/
|
|
116
|
+
function networkEntryFromCapturedRequest(req, fallbackTs) {
|
|
117
|
+
const status = typeof req.status === 'number' ? req.status : undefined;
|
|
118
|
+
// Filter to FAILED requests only — the renderer's panel is "Network errors"
|
|
119
|
+
// and the v1/v1.1 paths only ever surfaced failures. Successful 2xx/3xx
|
|
120
|
+
// responses captured by the plugin's broader PerformanceObserver path are
|
|
121
|
+
// intentionally dropped here.
|
|
122
|
+
const isFailed = status === 0 || (status !== undefined && status >= 400);
|
|
123
|
+
if (!isFailed)
|
|
124
|
+
return undefined;
|
|
125
|
+
const ts = typeof req.timestamp === 'number' ? req.timestamp : fallbackTs;
|
|
126
|
+
const url = typeof req.name === 'string' ? req.name : '';
|
|
127
|
+
return {
|
|
128
|
+
...(typeof req.method === 'string' ? { method: req.method } : {}),
|
|
129
|
+
url,
|
|
130
|
+
status: status ?? 0,
|
|
131
|
+
timestamp: ts,
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Extract network-error rows. Resolution order (first non-empty wins):
|
|
136
|
+
* 1. The framework-agnostic rrweb network plugin (`rrweb/network@1`,
|
|
137
|
+
* EventType.Plugin) — Phase 5 default.
|
|
138
|
+
* 2. The v1.1 custom-event path (EventType.Custom, tag
|
|
139
|
+
* 'tracelane.test.network-error') — fallback for sessions captured by
|
|
140
|
+
* pre-Phase-5 recorders.
|
|
141
|
+
* 3. The v1 console-scrape path — fallback for the earliest recorders.
|
|
97
142
|
*/
|
|
98
143
|
export function extractNetwork(events) {
|
|
144
|
+
// 1. The in-page network plugin (preferred — framework-agnostic).
|
|
145
|
+
const fromPlugin = [];
|
|
146
|
+
for (const e of events) {
|
|
147
|
+
if (!isPlugin(e))
|
|
148
|
+
continue;
|
|
149
|
+
const data = e.data;
|
|
150
|
+
if (data.plugin !== NETWORK_PLUGIN)
|
|
151
|
+
continue;
|
|
152
|
+
const payload = data.payload;
|
|
153
|
+
if (!payload || !Array.isArray(payload.requests))
|
|
154
|
+
continue;
|
|
155
|
+
for (const req of payload.requests) {
|
|
156
|
+
const entry = networkEntryFromCapturedRequest(req, e.timestamp);
|
|
157
|
+
if (entry)
|
|
158
|
+
fromPlugin.push(entry);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
if (fromPlugin.length > 0)
|
|
162
|
+
return fromPlugin;
|
|
163
|
+
// 2. v1.1 fallback: rich custom events.
|
|
99
164
|
const rich = [];
|
|
100
165
|
for (const e of events) {
|
|
101
166
|
if (!isCustom(e))
|
|
@@ -113,7 +178,7 @@ export function extractNetwork(events) {
|
|
|
113
178
|
}
|
|
114
179
|
if (rich.length > 0)
|
|
115
180
|
return rich;
|
|
116
|
-
// v1 fallback: scrape the console.
|
|
181
|
+
// 3. v1 fallback: scrape the console.
|
|
117
182
|
const scraped = [];
|
|
118
183
|
for (const row of extractConsole(events)) {
|
|
119
184
|
const parsed = parseNetConsoleLine(row.message, row.timestamp);
|
package/dist/panels.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panels.js","sourceRoot":"","sources":["../src/panels.ts"],"names":[],"mappings":"AAAA,kDAAkD;AAClD,EAAE;AACF,8EAA8E;AAC9E,0EAA0E;AAC1E,2EAA2E;AAC3E,6EAA6E;AAC7E,EAAE;AACF,
|
|
1
|
+
{"version":3,"file":"panels.js","sourceRoot":"","sources":["../src/panels.ts"],"names":[],"mappings":"AAAA,kDAAkD;AAClD,EAAE;AACF,8EAA8E;AAC9E,0EAA0E;AAC1E,2EA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OAAO,CAAC;AACjB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tracelane/report",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.8",
|
|
4
4
|
"description": "Self-contained, offline HTML report builder for tracelane. Embeds the rrweb player and a gzipped event blob into a single .html file.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"fflate": "^0.8.2",
|
|
22
22
|
"rrweb-player": "1.0.0-alpha.4",
|
|
23
|
-
"@cubenest/rrweb-core": "0.1.0-alpha.
|
|
24
|
-
"@tracelane/core": "0.1.0-alpha.
|
|
23
|
+
"@cubenest/rrweb-core": "0.1.0-alpha.3",
|
|
24
|
+
"@tracelane/core": "0.1.0-alpha.7"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"jsdom": "^25.0.1"
|