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

Expose configuredSharedTree #20332

Merged
merged 3 commits into from
Mar 26, 2024

Conversation

CraigMacomber
Copy link
Contributor

Description

Expose an @internal api, configuredSharedTree which can be used to opt into various internal/debug shared tree settings.

This should help cases like #20274 root cause the bug.

Reviewer Guidance

The review process is outlined on this wiki page.

@CraigMacomber CraigMacomber requested a review from a team as a code owner March 26, 2024 18:54
@github-actions github-actions bot added area: dds Issues related to distributed data structures area: dds: tree area: examples Changes that focus on our examples public api change Changes to a public API base: main PRs targeted against main branch labels Mar 26, 2024
* TreeCompressionStrategy,
* configuredSharedTree,
* typeboxValidator,
* // eslint-disable-next-line import/no-internal-modules
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this eslint directive need to be in the example?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I considered removing it. I kinda like that it helps highlight that despite this pattern usually not being allowed, in this case (reaching into a package for on of our release tag rollups) is supported.

I don't have a strong opinion either way though, so if anyone has a preference, I'll go with that.

Copy link
Contributor

Choose a reason for hiding this comment

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

No strong opinion either. Feel free to resolve without further changes.

CraigMacomber and others added 2 commits March 26, 2024 12:18
Co-authored-by: yann-achard-MS <97201204+yann-achard-MS@users.noreply.github.com>
@msfluid-bot
Copy link
Collaborator

@fluid-example/bundle-size-tests: +62 Bytes
Metric NameBaseline SizeCompare SizeSize Diff
aqueduct.js 520.41 KB 520.41 KB No change
azureClient.js 611.54 KB 611.54 KB No change
connectionState.js 680 Bytes 680 Bytes No change
containerRuntime.js 254.6 KB 254.6 KB No change
fluidFramework.js 341.46 KB 341.49 KB +31 Bytes
loader.js 127.97 KB 127.97 KB No change
map.js 41.35 KB 41.35 KB No change
matrix.js 143.61 KB 143.61 KB No change
odspClient.js 580 KB 580 KB No change
odspDriver.js 97.49 KB 97.49 KB No change
odspPrefetchSnapshot.js 41.91 KB 41.91 KB No change
sharedString.js 161.38 KB 161.38 KB No change
sharedTree.js 331.59 KB 331.62 KB +31 Bytes
Total Size 3.33 MB 3.33 MB +62 Bytes

Baseline commit: f49f533

Generated by 🚫 dangerJS against 2b7ef49

@CraigMacomber CraigMacomber merged commit 31e82df into microsoft:main Mar 26, 2024
31 checks passed
@CraigMacomber CraigMacomber deleted the configuredSharedTree branch March 26, 2024 21:24
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 area: examples Changes that focus on our examples base: main PRs targeted against main branch public api change Changes to a public API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants