Skip to content

perf(tree): batch detached ranges with checkout-owned policy - #12

Draft
Abe27342 wants to merge 1 commit into
abe27342-range-stack-indexfrom
abe27342-range-stack-batching
Draft

Abe27342 wants to merge 1 commit into
abe27342-range-stack-indexfrom
abe27342-range-stack-batching

Conversation

@Abe27342

Copy link
Copy Markdown
Owner

How contribute to this repo.

Guidelines for Pull Requests.

Description

Batch traversal over detached spans while checkout orchestration—not index capability—selects grouping of newly created fields.
Existing grouped content remains consumable regardless of creation policy.
Carry the policy through forks and enrichment replay, retaining pending nested edits by detached-node identity.

This is layer 3/5 of a review-only draft stack targeting the fork.
Depends on Abe27342/FluidFramework#11.
Relates to AB#5509.

Breaking Changes

None to the supported package API.
Grouping is internal and off by default.

Reviewer Guidance

The review process is outlined in the pull request guidelines.

Inspect pending node identity, re-resolution after offset shifts, rename dependency boundaries, and the narrowly gated self-overlap fast path.
Deterministic range-enabled deletes of 16 and 65,536 leaves use one detach, one detached field, and one index range.
Bulk initial builds and hydration are unchanged.

Parent-run validation context—not isolated layer tests:

  • Source package build passed.
  • Final pre-refinement stack: 9 smoke tests and 13,774 ESM tests passed, with 365 pending and only the known baseline Windows snapshot-path failure.
  • Stage 2 targeted run: 165 tests passed.
  • Latest parent clarity patch: build:esm and build:test:esm passed; 101 DetachedFieldIndex tests passed.

No package builds or tests were run in this publishing worktree; additional CI readiness was explicitly skipped.
The assigned checkpoint was cherry-picked onto the refined index base with an identical stable patch ID and its author and coauthor trailer preserved.

Keep range lookup and consumption unconditional while checkout orchestration selects whether new detached fields are grouped. Preserve singleton production by default and carry the creation policy through forks and enrichment replay.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@Abe27342
Abe27342 force-pushed the abe27342-range-stack-batching branch from a9d5a20 to 8601211 Compare November 20, 2026 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant