Skip to content

MergeTree: Remove SegmentGroup from internal#23401

Merged
anthony-murphy merged 4 commits into
microsoft:mainfrom
anthony-murphy:make-segmentgroup-private
Jan 2, 2025
Merged

MergeTree: Remove SegmentGroup from internal#23401
anthony-murphy merged 4 commits into
microsoft:mainfrom
anthony-murphy:make-segmentgroup-private

Conversation

@anthony-murphy
Copy link
Copy Markdown
Contributor

@anthony-murphy anthony-murphy commented Dec 23, 2024

This change removes SegmentGroup, and a few other types from the internal api. This exposure was unnecessary, as internal consumer just need localOpMetadata which is an unknown, so the existing internal consumers do not need the type. Additionally, this change will make some additional refactoring around deprecated segment properties easier to stage.

Copilot AI review requested due to automatic review settings December 23, 2024 20:57
@anthony-murphy anthony-murphy requested a review from a team as a code owner December 23, 2024 20:57
@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 Dec 23, 2024
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 5 out of 11 changed files in this pull request and generated 1 comment.

Files not reviewed (6)
  • packages/dds/matrix/src/matrix.ts: Evaluated as low risk
  • packages/dds/matrix/src/permutationvector.ts: Evaluated as low risk
  • packages/dds/merge-tree/src/client.ts: Evaluated as low risk
  • packages/dds/merge-tree/src/index.ts: Evaluated as low risk
  • packages/dds/merge-tree/src/mergeTree.ts: Evaluated as low risk
  • packages/dds/merge-tree/src/mergeTreeNodes.ts: Evaluated as low risk
Comments suppressed due to low confidence (1)

packages/dds/merge-tree/src/segmentGroupCollection.ts:42

  • The method name 'pop?' should not have a question mark. It should be 'pop'.
public pop?(): SegmentGroup | undefined {

Comment thread packages/dds/merge-tree/src/segmentGroupCollection.ts Outdated
@anthony-murphy anthony-murphy changed the title Merge-Tree: Remove SegmentGroup from internal MergeTree: Remove SegmentGroup from internal Dec 27, 2024
@anthony-murphy anthony-murphy merged commit 5df24e2 into microsoft:main Jan 2, 2025
@anthony-murphy anthony-murphy deleted the make-segmentgroup-private branch January 2, 2025 18:14
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.

3 participants