Skip to content

feat(tree): add gated experimental detached-range persistence - #14

Draft
Abe27342 wants to merge 1 commit into
abe27342-range-stack-consumersfrom
abe27342-range-stack-persistence
Draft

Abe27342 wants to merge 1 commit into
abe27342-range-stack-consumersfrom
abe27342-range-stack-persistence

Conversation

@Abe27342

Copy link
Copy Markdown
Owner

How contribute to this repo.

Guidelines for Pull Requests.

Description

Layer 5/5 of the draft fork review stack.
Depends on Abe27342/FluidFramework#13.
Relates to AB#5509.

Register the experimental detached-range summary format through the existing VersionDispatchingCodecBuilder and TypeBox patterns.
All readers in this implementation support the format, while writes require an explicit DetachedFieldIndex version override and acknowledgment of reader compatibility.
Loading grouped data changes neither index capability nor checkout producer policy.

The format groups [minor, forestFieldId, nodeIndex, count] records by revision.
There is no lifetime persistence change: loaded roots receive the checkout head revision as before.

Breaking Changes

None to default output or the supported package API.
Older readers cannot decode the experimental format; opting in explicitly acknowledges reader compatibility.
Legacy writers reject grouped records instead of dropping their metadata.

See Breaking-vs-Non-breaking-Changes for details.

Reviewer Guidance

The review process is outlined in the pull request guidelines.

Focus on the revision-grouped [minor, forestFieldId, nodeIndex, count] records and validation against overlaps, gaps, and invalid bounds.
Check that legacy snapshots remain unchanged and that loading is separate from writer selection and grouped-detach producer policy, with no implicit activation.

Parent-run validation, not independent checks in this publishing worktree:

  • Full source build passed.
  • Full suite: 9 smoke tests and 13,774 ESM tests passed, with 365 pending; the only failure was the known baseline Windows snapshot path mismatch.
  • Targeted suite: 545 tests passed.
  • Later clipping patch: 101 index tests passed.
  • Index-model documentation patch: Biome, build:esm, and build:docs passed.

No builds, tests, dependency installation, or extra CI-readiness checks were run in this publishing worktree.
This layer preserves the assigned validated checkpoint's stable patch ID, author, author date, coauthor trailer, and commit message.

@Abe27342
Abe27342 added this pull request to stack #15 November 20, 2026 20:25
Read experimental detached-range summaries with the unconditional range API. Select grouped field creation at checkout orchestration only for the explicitly acknowledged experimental writer, without changing producer policy when data is loaded. Preserve legacy encodings and reject incompatible writes.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@Abe27342
Abe27342 force-pushed the abe27342-range-stack-persistence branch from b409257 to f6ffd8a Compare November 20, 2026 20:57
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