Repository navigation
Integrate the graph-layout crate into the editor to replace its node graph layout - #5007
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 65 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
Contributor
There was a problem hiding this comment.
1 issue found across 12 files (changes from recent commits).
Confidence score: 4/5
downstream_consumerindocument/migrations/runner/src/node.rsuses only the first consumer, so adding a node that feeds several existing nodes can give it the wrong relative offset. Account for all relevant consumers when calculating the offset.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="document/migrations/runner/src/node.rs">
<violation number="1" location="document/migrations/runner/src/node.rs:374">
P2: `downstream_consumer` uses only the first consumer in `edits.connections`. When an added node feeds several existing nodes, its relative offset is measured from that one consumer, while the editor measures stored offsets from the left-most reader. Consider basing the offset on the same reader set the editor uses, or document the first-consumer choice.</violation>
</file>
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
timon-schelling
approved these changes
Nov 23, 2026
This branch was successfully deployed
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.
Fixes #4978