Skip to content

Better docs for IncrementalEncoderDecoder and related types#26470

Open
CraigMacomber wants to merge 4 commits intomicrosoft:mainfrom
CraigMacomber:FieldBatchCodecDocs
Open

Better docs for IncrementalEncoderDecoder and related types#26470
CraigMacomber wants to merge 4 commits intomicrosoft:mainfrom
CraigMacomber:FieldBatchCodecDocs

Conversation

@CraigMacomber
Copy link
Contributor

Description

Better docs for IncrementalEncoderDecoder and related types

Reviewer Guidance

The review process is outlined on this wiki page.

Copilot AI review requested due to automatic review settings February 18, 2026 04:15
@CraigMacomber CraigMacomber requested a review from a team as a code owner February 18, 2026 04:15
Comment on lines 106 to 108
* Since a given Fluid summary client only ever has to complete a single summary, and that summary can only reuse content from the single summary it was loaded from,
* there is no need for implementers of this interface to support remembering chunks creating during summarization for use in future summaries.
* Future optimization or changes to Fluid's summary strategy could change this: if this occurs implementations will need to be updated accordingly.
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 think this is true, but I need confirmation it is accurate.

Copy link
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.

Pull request overview

This pull request enhances documentation for the IncrementalEncoderDecoder interface and related types in the chunked-forest codec implementation. The changes provide better context about how incremental encoding/decoding works, particularly explaining the chunk reference indirection mechanism and the Fluid summary lifecycle constraints.

Changes:

  • Added detailed remarks to ChunkReferenceId explaining the indirection mechanism via summary blobs and trees
  • Enhanced IncrementalEncoderDecoder documentation to clarify chunk reuse strategy and Fluid summary client behavior
  • Added documentation to FieldBatchEncodingContext explaining the stateful nature and side effects
  • Removed unused runtime validator (brandedNumberType) for ChunkReferenceId type

CraigMacomber and others added 2 commits February 18, 2026 10:38
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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

Comments