Skip to content

chore(tree): Simplify getAllowedContentIncompatibilities output#23041

Merged
Abe27342 merged 5 commits into
microsoft:mainfrom
Abe27342:normalize-to-forbidden
Nov 12, 2024
Merged

chore(tree): Simplify getAllowedContentIncompatibilities output#23041
Abe27342 merged 5 commits into
microsoft:mainfrom
Abe27342:normalize-to-forbidden

Conversation

@Abe27342
Copy link
Copy Markdown
Contributor

@Abe27342 Abe27342 commented Nov 8, 2024

Previous output allowed undefined in FieldKindIncompatibility instances where either the stored or view schema did not have some field implicitly. However, it is also possible to declare a field as not present explicitly using forbidden, which should be treated identically when considering compatibility. This updates the output representation as well as logic to normalize implicit cases to use forbidden.

@Abe27342 Abe27342 requested a review from a team as a code owner November 8, 2024 22:19
@github-actions github-actions Bot added area: dds Issues related to distributed data structures area: dds: tree base: main PRs targeted against main branch labels Nov 8, 2024
@Abe27342 Abe27342 requested a review from taylorsw04 November 8, 2024 22:20
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.tree.src.feature-libraries.modular-schema:
Line Coverage Change: 0.04%    Branch Coverage Change: 0.08%
Metric NameBaseline coveragePR coverageCoverage Diff
Branch Coverage 93.01% 93.09% ↑ 0.08%
Line Coverage 95.06% 95.10% ↑ 0.04%

Baseline commit: aa84db1
Baseline build: 305550
Happy Coding!!

Code coverage comparison check passed!!

@msfluid-bot
Copy link
Copy Markdown
Collaborator

@fluid-example/bundle-size-tests: +245 Bytes
Metric NameBaseline SizeCompare SizeSize Diff
aqueduct.js 463.74 KB 463.77 KB +35 Bytes
azureClient.js 562.69 KB 562.74 KB +49 Bytes
connectionState.js 724 Bytes 724 Bytes No change
containerRuntime.js 261.99 KB 262 KB +14 Bytes
fluidFramework.js 426.55 KB 426.56 KB +14 Bytes
loader.js 134.18 KB 134.19 KB +14 Bytes
map.js 42.71 KB 42.71 KB +7 Bytes
matrix.js 148.32 KB 148.33 KB +7 Bytes
odspClient.js 528.43 KB 528.48 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.17 KB 164.17 KB +7 Bytes
sharedTree.js 417.01 KB 417.01 KB +7 Bytes
Total Size 3.36 MB 3.36 MB +245 Bytes

Baseline commit: aa84db1

Generated by 🚫 dangerJS against f204d4e

@Abe27342 Abe27342 merged commit cc3fb6d into microsoft:main Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: dds: tree 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