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

fix: Don't delete existing flags on decide errors #621

Merged
merged 3 commits into from
May 10, 2023

Conversation

neilkakkar
Copy link
Collaborator

This seems to be off: the whole point of this library being stateful is to not bork when decide sporadically errors out.

This means flags can go stale if decide is down for a long time, but you wouldn't lose all flags - which can be a much bigger hindrance.

Changes

...

Checklist

This seems to be off: the whole point of this library being stateful is to not bork when decide sporadically errors out.

This means flags can go stale if decide is down for a long time, _but_ you wouldn't lose all flags - which can be a much bigger hindrance.
@neilkakkar neilkakkar requested review from EDsCODE and liyiy May 5, 2023 10:05
@github-actions
Copy link

github-actions bot commented May 5, 2023

Size Change: +4.82 kB (0%)

Total Size: 2.31 MB

Filename Size Change
dist/array.full.js 159 kB +1.21 kB (+1%)
dist/array.js 101 kB +1.21 kB (+1%)
dist/es.js 101 kB +1.21 kB (+1%)
dist/module.js 101 kB +1.21 kB (+1%)
ℹ️ View Unchanged
Filename Size
dist/recorder-v2.js 93.6 kB
dist/recorder.js 58.3 kB
lib/rrweb/dist/plugins/console-record.js 26.6 kB
lib/rrweb/dist/plugins/console-record.min.js 10.8 kB
lib/rrweb/dist/plugins/console-replay.js 12.7 kB
lib/rrweb/dist/plugins/console-replay.min.js 5.72 kB
lib/rrweb/dist/plugins/sequential-id-record.js 910 B
lib/rrweb/dist/plugins/sequential-id-record.min.js 417 B
lib/rrweb/dist/plugins/sequential-id-replay.js 1.24 kB
lib/rrweb/dist/plugins/sequential-id-replay.min.js 578 B
lib/rrweb/dist/record/rrweb-record-pack.js 31.4 kB
lib/rrweb/dist/record/rrweb-record-pack.min.js 10.7 kB
lib/rrweb/dist/record/rrweb-record.js 140 kB
lib/rrweb/dist/record/rrweb-record.min.js 51.7 kB
lib/rrweb/dist/replay/rrweb-replay-unpack.js 188 kB
lib/rrweb/dist/replay/rrweb-replay-unpack.min.js 71.1 kB
lib/rrweb/dist/replay/rrweb-replay.js 172 kB
lib/rrweb/dist/replay/rrweb-replay.min.js 66.4 kB
lib/rrweb/dist/rrweb-all.js 356 kB
lib/rrweb/dist/rrweb-all.min.js 133 kB
lib/rrweb/dist/rrweb.js 302 kB
lib/rrweb/dist/rrweb.min.js 116 kB
lib/rrweb/es/rrweb/ext/base64-arraybuffer/dist/base64-arraybuffer.es5.js 1.94 kB
lib/rrweb/es/rrweb/ext/mitt/dist/mitt.es.js 1.99 kB

compressed-size-action

@neilkakkar neilkakkar marked this pull request as ready for review May 5, 2023 11:08
@neilkakkar
Copy link
Collaborator Author

Adding Marius & Ben as reviewers too - if you have any context why this should stick around

Copy link
Collaborator

@benjackwhite benjackwhite left a comment

Choose a reason for hiding this comment

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

Yeah you're right. Not sure why that's there... only think I wish is that there was a test for this....

@neilkakkar
Copy link
Collaborator Author

Yep yep, will add, alongside some rate limit specific handling 👀

Copy link
Collaborator

@mariusandra mariusandra left a comment

Choose a reason for hiding this comment

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

🤷

@neilkakkar neilkakkar marked this pull request as ready for review May 10, 2023 13:08
@neilkakkar neilkakkar added the bump patch Bump patch version when this PR gets merged label May 10, 2023
@neilkakkar neilkakkar merged commit 9774731 into master May 10, 2023
10 checks passed
@neilkakkar neilkakkar deleted the neilkakkar-patch-1 branch May 10, 2023 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump patch Bump patch version when this PR gets merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants