Repository navigation
Add union merge driver for CHANGELOG.md to reduce merge conflicts - #172
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the repository’s Git attributes to reduce frequent merge conflicts in CHANGELOG.md by applying Git’s built-in union merge driver to that file, which is a good fit for append-heavy “Unreleased” entries.
Changes:
- Add a
.gitattributesruleCHANGELOG.md merge=unionso merges keep entries from both sides instead of producing conflicts. - Document the behavior and caveats of
uniondirectly in.gitattributesfor future maintainers.
Code Coverage OverviewLanguages: C# C# / code-coverage/dotnetThe overall coverage remains at 61%, unchanged from the Code Coverage is in Public Preview. Learn more and provide us with your feedback. |
Dmitrii Shilov (bk201-)
approved these changes
Jul 9, 2026
This was referenced Jul 20, 2026
Mike Krüger (mkrueger)
added a commit
that referenced
this pull request
Jul 20, 2026
## What Stamps the changelog release heading as `## 1.1.136-preview — 2026-07-20` and fills in the entries for PRs merged since 1.1.115-preview. Supersedes #185 (same content, version heading bumped from `1.1.135` to `1.1.136` to account for the extra git-height commit). ## Added entries - **New features** — `ttl` and `conflict` commands for container time-to-live and conflict-resolution policy ([#151](#151), [#111](#111)). - **Fixes** — MCP protocol-version rejection (e.g. Claude Code) and the `ObjectDisposedException: The CancellationTokenSource has been disposed` error on tool calls ([#150](#150)). - **Build & pipeline** — CodeQL analysis workflow ([#165](#165)), Node 24 GitHub Actions updates ([#152](#152)), and a `union` merge driver for `CHANGELOG.md` ([#172](#172)). ## Scope - `CHANGELOG.md` only. No source or behavior changes. `version.json` is unchanged — the patch is derived from git height by Nerdbank.GitVersioning.
Mike Krüger (mkrueger)
added a commit
that referenced
this pull request
Jul 31, 2026
The repo uses a union merge driver on the Unreleased list (.gitattributes, #172); retaining an empty ## Unreleased heading avoids the next changelog PR reintroducing it and reduces merge churn.
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.
What
Adds a
unionmerge driver forCHANGELOG.mdvia.gitattributes.Why
Every PR appends a bullet to the same
## Unreleasedsection at the top ofCHANGELOG.md, so concurrent PRs touch adjacent lines and Git cannot auto-merge them. This makesCHANGELOG.mdconflict on almost every branch that falls slightly behindmain.The built-in
unionmerge driver resolves this common case automatically: on a merge, it keeps the lines from both sides instead of raising a conflict — exactly what we want when two PRs each add their own Unreleased entry. It requires no local configuration (it ships in.gitattributes) and is honored by GitHub's own merge.Caveats
uniondoes not de-duplicate or reorder. It keeps entries from both branches as-is, so:## Unreleasedsection before releasing.For the day-to-day "each PR adds one Unreleased bullet" case this removes the conflict entirely. A more structural fix (one changelog fragment file per PR, aggregated at release time) can follow separately if desired.
Scope
.gitattributesonly. No source or behavior changes.