Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RUMF-804] implement a minimal version of the recorder #670

Merged
merged 46 commits into from
Jan 20, 2021

Conversation

BenoitZugmeyer
Copy link
Member

@BenoitZugmeyer BenoitZugmeyer commented Dec 31, 2020

Previous PR: #658

Motivation

Implement a minimal version of the session replay recorder.

Changes

Testing

Unit tests + manual testing


I have gone over the contributing documentation.

@BenoitZugmeyer BenoitZugmeyer requested review from a team as code owners December 31, 2020 11:31
@BenoitZugmeyer BenoitZugmeyer changed the base branch from master to benoit/import-rrweb December 31, 2020 11:31
@codecov-io
Copy link

codecov-io commented Dec 31, 2020

Codecov Report

Merging #670 (0dbceac) into master (2d8943a) will increase coverage by 1.36%.
The diff coverage is 91.51%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #670      +/-   ##
==========================================
+ Coverage   77.98%   79.35%   +1.36%     
==========================================
  Files          60       66       +6     
  Lines        3284     3434     +150     
  Branches      714      735      +21     
==========================================
+ Hits         2561     2725     +164     
+ Misses        723      709      -14     
Impacted Files Coverage Δ
packages/rum-core/src/boot/rum.ts 50.00% <ø> (ø)
packages/rum-core/src/rawRumEvent.types.ts 100.00% <ø> (ø)
packages/rum-recorder/src/domain/rrweb/observer.ts 53.23% <0.00%> (+2.08%) ⬆️
packages/rum-recorder/src/domain/rrweb/types.ts 100.00% <ø> (ø)
packages/rum-recorder/test/utils.ts 93.54% <93.54%> (ø)
packages/core/src/domain/configuration.ts 91.13% <100.00%> (+0.47%) ⬆️
packages/core/src/transport/transport.ts 91.66% <100.00%> (ø)
packages/rum-recorder/src/boot/recorder.ts 100.00% <100.00%> (ø)
...es/rum-recorder/src/domain/deflateSegmentWriter.ts 100.00% <100.00%> (ø)
packages/rum-recorder/src/domain/segment.ts 100.00% <100.00%> (ø)
... and 12 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2d8943a...0dbceac. Read the comment docs.

@BenoitZugmeyer BenoitZugmeyer force-pushed the benoit/implement-recorder branch 2 times, most recently from d09a1b6 to ab0ea49 Compare January 4, 2021 09:18
@BenoitZugmeyer BenoitZugmeyer marked this pull request as draft January 4, 2021 10:34
@BenoitZugmeyer BenoitZugmeyer force-pushed the benoit/implement-recorder branch 2 times, most recently from 252b249 to 0f028ba Compare January 4, 2021 11:38
Base automatically changed from benoit/import-rrweb to master January 5, 2021 11:51
@BenoitZugmeyer BenoitZugmeyer force-pushed the benoit/implement-recorder branch 5 times, most recently from 19a2bd3 to 2f2cbf6 Compare January 6, 2021 17:23
@BenoitZugmeyer BenoitZugmeyer force-pushed the benoit/implement-recorder branch from 71e2011 to 3981e01 Compare January 8, 2021 14:28
@BenoitZugmeyer BenoitZugmeyer force-pushed the benoit/implement-recorder branch from 3981e01 to 583a557 Compare January 8, 2021 14:50
@BenoitZugmeyer BenoitZugmeyer marked this pull request as ready for review January 8, 2021 14:50
Copy link
Contributor

@sarina-dd sarina-dd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 docs

@BenoitZugmeyer BenoitZugmeyer force-pushed the benoit/implement-recorder branch from f16dd3b to e4d0272 Compare January 13, 2021 11:55
packages/rum-recorder/src/domain/segmentCollection.ts Outdated Show resolved Hide resolved
packages/rum-recorder/src/boot/recorder.spec.ts Outdated Show resolved Hide resolved
packages/rum-recorder/src/domain/segmentCollection.ts Outdated Show resolved Hide resolved
packages/rum-recorder/src/boot/recorder.spec.ts Outdated Show resolved Hide resolved
packages/rum-recorder/src/domain/segmentCollection.ts Outdated Show resolved Hide resolved
packages/rum-recorder/src/domain/segmentCollection.ts Outdated Show resolved Hide resolved
packages/rum-recorder/src/domain/segmentCollection.ts Outdated Show resolved Hide resolved
@BenoitZugmeyer BenoitZugmeyer force-pushed the benoit/implement-recorder branch from 51c07b8 to 28be2f4 Compare January 19, 2021 11:20
@BenoitZugmeyer BenoitZugmeyer force-pushed the benoit/implement-recorder branch from 28be2f4 to daf1360 Compare January 19, 2021 14:07
Copy link
Contributor

@bcaudan bcaudan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job 👏

@BenoitZugmeyer BenoitZugmeyer merged commit f7d8100 into master Jan 20, 2021
@BenoitZugmeyer BenoitZugmeyer deleted the benoit/implement-recorder branch January 20, 2021 11:31
kcaffrey pushed a commit to WonderInventions/browser-sdk that referenced this pull request Jan 29, 2021
* [RUMF-804] implement the deflate worker

* [RUMF-804] add sessionReplay endpoint support

* [RUMF-804] implement segmentCollection

* [RUMF-804] implement segment renewal tracking

* [RUMF-804] implement DeflateSegmentWriter

* [RUMF-804] implement the recorder entry point

* ✅ [RUMF-804] add support for session replay in E2E tests

and add a recorder test
kcaffrey added a commit to WonderInventions/browser-sdk that referenced this pull request Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants