Skip to content

Test: reproduce reclaimed nested groups affecting neighboring items - #214

Closed
nguyenyou wants to merge 1 commit into
raquo:masterfrom
nguyenyou:codex/nested-group-resteal-reproducer
Closed

nguyenyou wants to merge 1 commit into
raquo:masterfrom
nguyenyou:codex/nested-group-resteal-reproducer

Conversation

@nguyenyou

Copy link
Copy Markdown
Contributor

Adds reproducers for a dynamic inserter reclaimed by a list after another list removes it and parent.amend(inserter) recreates it under the same parent.

Current behavior:
The reclaimed group lacks its trailing sentinel. After the enclosing list takes the group's child as a separate item, updating the group removes that child, and moving the group carries it into another list.

Expected behavior:
The child should remain with the enclosing list, consistent with existing stealing and group-move behavior.

Tests only; no implementation changes. Against master, two reference tests pass and three reproducers fail.

Run:
sbt 'testOnly *NestedGroupReStealSpec'

Add two reference tests and three reproducers for same-parent group reclamation after removal and plain placement.

Co-Authored-By: Codex GPT-6 Astra <codex@openai.com>
@nguyenyou
nguyenyou requested a review from raquo as a code owner September 23, 2026 07:28
@nguyenyou nguyenyou closed this by deleting the head repository Oct 6, 2026
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