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

Use kernel for internal access in tree, split out ChannelView #23888

Merged
merged 5 commits into from
Feb 25, 2025

Conversation

CraigMacomber
Copy link
Contributor

Description

Cleanup split out from #23885,

This works toward a pattern where we have a common kernel interface (which will take in ChannelView), which has the internals of the DDS.

This introduces channel view at the shared object layer, and makes more access to internals in tree for testing go through kernel.
This makes it easier to split up the API from the implementation of SharedTree, as well as easier to port these tests to target kernel directly in the future, and not depend on SharedObject

Reviewer Guidance

The review process is outlined on this wiki page.

@Copilot Copilot bot review requested due to automatic review settings February 20, 2025 00:20
@CraigMacomber CraigMacomber requested review from a team as code owners February 20, 2025 00:20
@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 Feb 20, 2025
Copy link
Contributor

@Copilot 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 6 out of 21 changed files in this pull request and generated 1 comment.

Files not reviewed (15)
  • packages/dds/tree/src/test/shared-tree/sharedTree.spec.ts: Evaluated as low risk
  • packages/dds/shared-object-base/src/sharedObject.ts: Evaluated as low risk
  • packages/dds/tree/src/test/shared-tree/schematizingTreeView.spec.ts: Evaluated as low risk
  • packages/dds/tree/src/test/shared-tree/summary.bench.ts: Evaluated as low risk
  • packages/dds/tree/src/test/feature-libraries/indexing/treeIndex.spec.ts: Evaluated as low risk
  • packages/dds/tree/src/test/shared-tree-core/utils.ts: Evaluated as low risk
  • packages/dds/tree/src/test/snapshots/snapshotTestScenarios.ts: Evaluated as low risk
  • packages/dds/tree/src/shared-tree-core/sharedTreeCore.ts: Evaluated as low risk
  • packages/dds/tree/src/test/feature-libraries/chunked-forest/chunkEncodingEndToEnd.spec.ts: Evaluated as low risk
  • packages/dds/tree/src/test/shared-tree/fuzz/fuzzEditGenerators.ts: Evaluated as low risk
  • packages/dds/tree/src/test/shared-tree/sharedTree.bench.ts: Evaluated as low risk
  • packages/dds/tree/src/test/shared-tree/treeCheckout.spec.ts: Evaluated as low risk
  • packages/dds/shared-object-base/src/index.ts: Evaluated as low risk
  • packages/dds/tree/src/test/shared-tree/repairData.spec.ts: Evaluated as low risk
  • packages/dds/tree/src/index.ts: Evaluated as low risk

@CraigMacomber CraigMacomber merged commit d1dbda8 into microsoft:main Feb 25, 2025
33 checks passed
@CraigMacomber CraigMacomber deleted the kernelFocus branch February 25, 2025 23:33
chentong7 pushed a commit to chentong7/FluidFramework that referenced this pull request Mar 11, 2025
…oft#23888)

## Description

Cleanup split out from
microsoft#23885,

This works toward a pattern where we have a common kernel interface
(which will take in ChannelView), which has the internals of the DDS.

This introduces channel view at the shared object layer, and makes more
access to internals in tree for testing go through kernel.
This makes it easier to split up the API from the implementation of
SharedTree, as well as easier to port these tests to target kernel
directly in the future, and not depend on SharedObject
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.

3 participants