Skip to content

merge3: a removal takes a node only an ignored attribute changed on - #20

Merged
MartenH merged 2 commits into
mainfrom
merge3-ignored-attr-removal
Oct 30, 2026
Merged

MartenH merged 2 commits into
mainfrom
merge3-ignored-attr-removal

Conversation

@MartenH

@MartenH MartenH commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner

Vendors flatxml main at 3ca10b9, which holds MartenH/flatxml#43, #44 and #45.

merge3 called "one side removes a node, the other changes only its UUID" a conflict, although the merge lets UUIDs differ. A conflict keeps ours, so a rename left the old node beside the new one. With this flatxml the removal is taken, whichever side changed the UUID.

Ruling.merge3 already drops conflicts on an ignored attribute itself, but this case could not be filtered there: flatxml had by then kept the node.

The new test in compare_test.v covers both directions, and that a change the model does hold still conflicts with the removal. It came up on a large real-world model, in a rebase: these conflicts are gone from it.

Tests: run on Windows with a local toolchain, the new test passes. compare_test.v and load_test.v report failures there unrelated to this change (Unix paths in an assertion, the path length limit); CI is the full run.

🤖 Generated with Claude Code

flatxml at b4940c8: a UUID, which the merge lets differ, changed on one
side no longer conflicts with the other side removing the node. A
conflict keeps ours, so a rename left the old node beside the new one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T20:33:41.273097Z 33f8182 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

The commit vendored here was that pull request's before review, which changed how an
ignored attribute is recognised, and it never reached main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MartenH

MartenH commented Oct 30, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: 33f8182b2e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@MartenH
MartenH merged commit da64527 into main Oct 30, 2026
2 checks passed
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