Skip to content

Octopus merges - #132

Merged
mbarbin merged 7 commits into
mainfrom
octopus-merges
Jan 26, 2026
Merged

Octopus merges#132
mbarbin merged 7 commits into
mainfrom
octopus-merges

Conversation

@mbarbin

@mbarbin mbarbin commented Jan 26, 2026

Copy link
Copy Markdown
Owner

Add support for octopus merges in vcs (Merge nodes with 3+ parents).

mbarbin and others added 7 commits January 26, 2026 11:00
These are the rare nodes that have at least 3 parents.

Prior to this commit, attempting to build a volgo graph for repos containing
such octopus nodes would triggers errors, now this is a supported use case.
Extend the octopus merge test to verify that graph traversal functions
correctly handle nodes with more than 2 parents. This covers leaves
computation, ancestor checking, and descendance relations.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Extend the octopus merge test graph with two child commits to verify
that greatest_common_ancestors correctly handles octopus merges. Tests
cover scenarios where the octopus merge is the GCA result and where
ancestry is computed through the octopus merge.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@mbarbin
mbarbin merged commit 26a59b3 into main Jan 26, 2026
12 of 13 checks passed
@mbarbin
mbarbin deleted the octopus-merges branch January 26, 2026 11:36
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