Skip to content

Sequence zero length obliterate fix#23012

Closed
titrindl wants to merge 7 commits into
microsoft:mainfrom
titrindl:sequence-zero-length-obliterate
Closed

Sequence zero length obliterate fix#23012
titrindl wants to merge 7 commits into
microsoft:mainfrom
titrindl:sequence-zero-length-obliterate

Conversation

@titrindl
Copy link
Copy Markdown
Contributor

@titrindl titrindl commented Nov 6, 2024

Guard assert on deltaArgs.deltaSegments.length in SequenceEvent to allow zero length obliterates. An obliterate can still have an effect on concurrent inserts even if it affects zero segments when it is sequenced.

@titrindl titrindl requested a review from a team as a code owner November 6, 2024 19:48
@github-actions github-actions Bot added area: dds Issues related to distributed data structures area: dds: sharedstring base: main PRs targeted against main branch labels Nov 6, 2024
Copy link
Copy Markdown
Collaborator

@msfluid-bot msfluid-bot left a comment

Choose a reason for hiding this comment

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

Code Coverage Summary

↑ packages.dds.sequence.src:
Line Coverage Change: 0.01%    Branch Coverage Change: 0.03%
Metric NameBaseline coveragePR coverageCoverage Diff
Branch Coverage 89.44% 89.47% ↑ 0.03%
Line Coverage 89.83% 89.84% ↑ 0.01%

Baseline commit: 85d0e82
Baseline build: 304645
Happy Coding!!

Code coverage comparison check passed!!

@msfluid-bot
Copy link
Copy Markdown
Collaborator

@fluid-example/bundle-size-tests: +432 Bytes
Metric NameBaseline SizeCompare SizeSize Diff
aqueduct.js 464.03 KB 464.14 KB +109 Bytes
azureClient.js 562.45 KB 562.5 KB +49 Bytes
connectionState.js 724 Bytes 724 Bytes No change
containerRuntime.js 261.86 KB 261.87 KB +14 Bytes
fluidFramework.js 424.82 KB 424.84 KB +14 Bytes
loader.js 134.17 KB 134.19 KB +14 Bytes
map.js 42.71 KB 42.71 KB +7 Bytes
matrix.js 148.54 KB 148.58 KB +46 Bytes
odspClient.js 528.3 KB 528.34 KB +49 Bytes
odspDriver.js 97.84 KB 97.86 KB +21 Bytes
odspPrefetchSnapshot.js 42.81 KB 42.83 KB +14 Bytes
sharedString.js 164.58 KB 164.66 KB +81 Bytes
sharedTree.js 415.28 KB 415.29 KB +7 Bytes
Total Size 3.36 MB 3.36 MB +432 Bytes

Baseline commit: 85d0e82

Generated by 🚫 dangerJS against 367cba4

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 4 out of 4 changed files in this pull request and generated no suggestions.

Tip: Copilot only keeps its highest confidence comments to reduce noise and keep you focused. Learn more

@titrindl
Copy link
Copy Markdown
Contributor Author

Merged into #23011

@titrindl titrindl closed this Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: dds: sharedstring area: dds Issues related to distributed data structures base: main PRs targeted against main branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants