Skip to content

conflict support 4 - harden text conflict state transitions#5

Merged
polyphilz merged 2 commits into
mainfrom
polyphilz/3-pane-3.25
Apr 27, 2026
Merged

conflict support 4 - harden text conflict state transitions#5
polyphilz merged 2 commits into
mainfrom
polyphilz/3-pane-3.25

Conversation

@polyphilz
Copy link
Copy Markdown
Owner

No description provided.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0986ca0e9c

ℹ️ 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".

ours_handled = true,
theirs_handled = true,
}, cursor + #candidate.lines)
add_outcome(manual_outcome(conflict, manual_state, candidate.lines), cursor + #candidate.lines)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep clean matches from being treated as conflict markers

Using manual_outcome(...) for clean candidate matches means any resolved content line that merely starts with a marker token (for example a literal ======= line in normal text) is reclassified as unresolved, because manual_outcome only does prefix checks via contains_conflict_markers. In that case a fully resolved file can reopen as unresolved and subsequent saves can re-emit merge markers instead of preserving the clean result, which is a behavioral regression from the previous clean-candidate path.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved in polyphilz/3-pane-7

@polyphilz polyphilz force-pushed the polyphilz/3-pane-3 branch from 0d7fdc0 to 94e92f1 Compare April 26, 2026 19:33
@polyphilz polyphilz changed the base branch from polyphilz/3-pane-3 to main April 27, 2026 00:33
@polyphilz polyphilz changed the title harden text conflict state transitions conflict support 4 - harden text conflict state transitions Apr 27, 2026
@polyphilz polyphilz force-pushed the polyphilz/3-pane-3.25 branch from 0986ca0 to 5875fa0 Compare April 27, 2026 00:36
@polyphilz polyphilz merged commit ef956df into main Apr 27, 2026
3 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