Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
19 changes: 19 additions & 0 deletions docs/PROGRESS.md
Original file line number Diff line number Diff line change
Expand Up @@ -1219,6 +1219,25 @@ A real-Electron run (staging uploads, SNODE-29..34) verified what the Electron t

Spec: bugsee/specs#62 (`api/issues.md#appuptime_s`). The per-second `process_uptime_s` trace (node/bun/deno) is RETIRED, along with the node `ProcessTracker` `uptime` stage and its `uptime` env seam (nothing else consumed them). Process uptime is now ONE value stamped at session start in `environment.app.uptime_s` (whole seconds, floored): `buildNodeEnvironment` / `buildBrowserEnvironment` take `uptimeSeconds`, and `launch` reads the probe's optional `uptimeSeconds()` ONCE at launch (a snapshot, not re-read per report; a relaunch re-stamps). Sources: node/bun/deno/Electron main `process.uptime()` (probed on real Bun and Deno); browser `performance.now() / 1000` (document lifetime, ~0 at page load). Omitted, never `0`, when the probe has no clock. Webworker/edge have no stable clock origin so they do not write it. The browser `ProcessTracker` `uptime` stage (no trace consumer) is untouched. The appserver drops unknown `environment.app` keys until bugsee-appserver#120 lands. `EnvironmentEnvelope.app` is an open `Record`, and there is no environment key schema in `@bugsee/protocol`, so no type/schema change was needed.

### 2026-10-26 — Replay moves onto upstream rrweb 2.2.0 → `chore/rrweb-2.2.0`

Fork `bugsee-port-2.2.0` (4a81d36d merge of rrweb-io/rrweb 2.2.0 into `bugsee-port`; no textual conflicts, but both
sides changed `rrweb-snapshot/src/utils.ts` and `rrweb/src/record/{index,mutation,observer}.ts`, which merged
cleanly and were reviewed by hand; cdb77793 adds `masking-observer-lifecycle.test.ts`) → record-only bundle
`bugsee-dist-2.2.0` 5643229f (vite `dist/rrweb-record.js` via `vite.config.entries.js`, then
`esbuild --bundle --minify --format=esm`; 185,496 B / 58,698 B gzip vs 184,815 / 58,604 on 2.1.7). The recipe
reproduces the pinned 2.1.7 bundle only approximately: a fresh 08a56f93 build differs by more than identifier
names (module order, some helper/enum output, a tslib license comment). `@bugsee/rrweb` pins the new bundle;
`rrweb`/`@rrweb/types` ^2.2.0.
2.2.0 releases and re-creates shadow-root and same-origin-iframe observers. The new test covers masking
(maskAllText, maskAllInputs, unmask selector) on shadow roots re-attached by host reinsertion, a restored
subtree, and an iframe attached again by a second full snapshot; 6 mutations caught. It does NOT cover an iframe
document re-observed after it unloads, nor maskAttributeFn / blockSelector / unblockSelector / ignoreSelector on
re-observed observers.
Public surface: the `.d.ts` is unchanged, but `@bugsee/rrweb` re-exports `EventType` and `eventWithTime` from
`@rrweb/types`, which now include `Annotation = 8` / `annotationEvent`, and the exported `record` carries an
untyped `.addAnnotation` at runtime. Nothing in the SDK calls it; no replay design here needs it.

## 8. Pointers

- **Spec** — `docs/design/sdk-design.md` (Draft v3). Read alongside §2 of THIS file for the as-built deltas.
Expand Down
6 changes: 3 additions & 3 deletions packages/rrweb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
"test:coverage": "vitest run --coverage"
},
"dependencies": {
"@rrweb/types": "^2.1.7",
"rrweb": "^2.1.7"
"@rrweb/types": "^2.2.0",
"rrweb": "^2.2.0"
},
"devDependencies": {
"@bugsee/rrweb-record": "github:bugsee/rrweb#ad172467b79223adc73ee0516bee64d0935f4ab9",
"@bugsee/rrweb-record": "github:bugsee/rrweb#5643229f7b9a1cb241af90f55331d39fcaa3db54",
"jsdom": "^25.0.1"
},
"publishConfig": {
Expand Down
68 changes: 34 additions & 34 deletions pnpm-lock.yaml

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

Loading