Carry graph-chain references in reduction outputs - #975
Merged
Conversation
- Introduce LinkChainRef struct to store authenticated graph-chain metadata. - Extend ReductionOutput and reductionBoundaryOutput structs with the new reference field. - Implement reductionLinkChainForHead to fetch chain metadata in constant time. - Attach the reference during boundary reduction in the scheduler. - Update unit test size expectations to match the new struct layout. - Add tests to verify data propagation, non-contiguous IDs, and error handling. - Update changelog and design documents to document the new feature.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
LinkChainReffrom authenticated node metadata intoReductionOutput.nextlinks without requiring adjacentLinkIDvalues.LinkRangeAPI unchanged.Tests
go test ./internal/parsercorephase0 -run approved focused suite -count=1canopy search symbols internal/parsercorephase0 --name LinkRange|LinkChainRef|ReductionOutput|reductionLinkChainForHead --limit 60 --no-cachegit diff --checkThe regression test
TestConvergedReductionPathsCondenseOnlyAfterTrailingExtraRepushpasses.Do not merge this pull request until review completes.