caelum0x a98d62c167 perf(product-analytics): A3 capacity within the 192 MiB cap, recording bytes per minute, and the A3 open-source record (A3)
- Recording chunks, their reads and S3 export files use native zlib instead
  of fflate, so compression runs outside the JS heap.
- test/a3/capacity.ts: 10 minutes of A1's 50 events/s plus 20 recording
  sessions flushing every 2 s plus one webhook export: max 186.4 MiB (ps)
  against the 192 MiB cap; inside view rss 100-116 MiB, heap used 15-32
  MiB, no growth. Stored recordings: 13 232 bytes per recorded minute on
  the fixture (49 923 uncompressed). Written to CAPACITY.md.
- NOTICE files for the vendored and ported parts; test/a3/vendor.test.ts
  pins their hashes and checks the served SDK parts equal the wrapper's.
- docs/analytics/oss/A3.md: what was copied, ported and written, the
  aws4fetch substitution for the AWS SDK and why, environment, security
  notes, test map and the hand-offs (A1 flags route merge for segment
  survey targeting, Shell link, package script, NOTICE line, compose env,
  Expo example provider; flags merge switch).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 08:38:02 +03:00

19 lines
1.1 KiB
Plaintext

Files served by the Railyard product analytics service's player pages and
static routes. Each folder keeps its upstream LICENSE; nothing is modified.
- vendor/rrweb-player/: rrweb-player 2.1.6 (umd/rrweb-player.min.js,
dist/style.css), https://github.com/rrweb-io/rrweb, tag rrweb-player@2.1.6
(commit 376824c03f86). MIT License, Copyright (c) 2018 Contributors
(https://github.com/rrweb-io/rrweb/graphs/contributors).
- vendor/simpleheat/: simpleheat 0.4.0, https://github.com/mourner/simpleheat.
BSD 2-Clause License, Copyright (c) 2015, Vladimir Agafonkin.
- sdk/: posthog-js 1.435.1 dist/lazy-recorder.js, dist/surveys.js and
dist/dead-clicks-autocapture.js, the parts the browser SDK loads from its
host at /static/, https://github.com/PostHog/posthog-js. Apache License 2.0
AND MIT (see sdk/LICENSE), Copyright 2020 Posthog / Hiberly, Inc.,
Copyright 2015 Mixpanel, Inc. The copies equal the SDK version the
@railyard/analytics-js wrapper installs (test/a3/vendor.test.ts).
replay.js, heatmap.js and player.css are Railyard's own (MIT, see the
service's package).