Skip to content

chore(release): version packages#61

Merged
ABB65 merged 1 commit into
mainfrom
changeset-release/main
Jul 9, 2026
Merged

chore(release): version packages#61
ABB65 merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

[email protected]

Minor Changes

  • ee8da2d: Delete remote cr/* branches on merge/delete and harden merged-branch detection

    Every review-mode save pushed its cr/* branch to origin, but nothing ever deleted the remote copy after a merge — stale branches accumulated monotonically (one per save+merge cycle) and rendered as phantom pending reviews in Studio.

    • mergeBranch (and therefore contentrain_merge, contentrain merge, contentrain diff, the Serve UI approve endpoints, and LocalProvider.mergeBranch) now deletes the merged branch's remote copy — best-effort: failures surface as a remote.warning, never as a failed merge. Default on; opt out with remoteBranchCleanup: false in config.json. Note: deleting a pushed branch closes any open PR/MR on it.
    • contentrain_branch_delete, the Serve UI reject endpoint, contentrain diff's delete action, and LocalProvider.deleteBranch remove the remote copy too. contentrain_branch_delete also supports remote-only deletion when the local ref is already gone.
    • GitHub/GitLab providers delete the source branch after a successful API merge (opt out per call with mergeBranch(..., { removeSourceBranch: false })).
    • Merged-branch detection (isMerged, cleanupMergedBranches, checkBranchHealth) now falls back to patch-id equivalence (git cherry) when ancestry breaks — merged branches no longer flip to "unmerged" after a base-history rewrite. Also fixes the fast-forward guard in the transaction layer, which previously never fired (merge-base --is-ancestor signals via exit code with empty stderr, which simple-git reports as success).
    • contentrain_doctor gains a "Remote branches" check (authoritative ls-remote count, offline-safe); contentrain_branch_list accepts remote: true for a remote view.
    • New contentrain prune CLI command drains already-leaked merged remote branches (--dry-run / --yes / --json), and contentrain_submit lazily prunes up to 20 merged remote leftovers per run.
    • New exports from @contentrain/mcp/git/branch-lifecycle: deleteRemoteBranch, listRemoteCrBranches, pruneMergedRemoteBranches, isRefMerged, classifyMergedBranches.

Patch Changes

@contentrain/[email protected]

Minor Changes

  • ee8da2d: Delete remote cr/* branches on merge/delete and harden merged-branch detection

    Every review-mode save pushed its cr/* branch to origin, but nothing ever deleted the remote copy after a merge — stale branches accumulated monotonically (one per save+merge cycle) and rendered as phantom pending reviews in Studio.

    • mergeBranch (and therefore contentrain_merge, contentrain merge, contentrain diff, the Serve UI approve endpoints, and LocalProvider.mergeBranch) now deletes the merged branch's remote copy — best-effort: failures surface as a remote.warning, never as a failed merge. Default on; opt out with remoteBranchCleanup: false in config.json. Note: deleting a pushed branch closes any open PR/MR on it.
    • contentrain_branch_delete, the Serve UI reject endpoint, contentrain diff's delete action, and LocalProvider.deleteBranch remove the remote copy too. contentrain_branch_delete also supports remote-only deletion when the local ref is already gone.
    • GitHub/GitLab providers delete the source branch after a successful API merge (opt out per call with mergeBranch(..., { removeSourceBranch: false })).
    • Merged-branch detection (isMerged, cleanupMergedBranches, checkBranchHealth) now falls back to patch-id equivalence (git cherry) when ancestry breaks — merged branches no longer flip to "unmerged" after a base-history rewrite. Also fixes the fast-forward guard in the transaction layer, which previously never fired (merge-base --is-ancestor signals via exit code with empty stderr, which simple-git reports as success).
    • contentrain_doctor gains a "Remote branches" check (authoritative ls-remote count, offline-safe); contentrain_branch_list accepts remote: true for a remote view.
    • New contentrain prune CLI command drains already-leaked merged remote branches (--dry-run / --yes / --json), and contentrain_submit lazily prunes up to 20 merged remote leftovers per run.
    • New exports from @contentrain/mcp/git/branch-lifecycle: deleteRemoteBranch, listRemoteCrBranches, pruneMergedRemoteBranches, isRefMerged, classifyMergedBranches.

Patch Changes

@contentrain/[email protected]

Minor Changes

  • ee8da2d: Delete remote cr/* branches on merge/delete and harden merged-branch detection

    Every review-mode save pushed its cr/* branch to origin, but nothing ever deleted the remote copy after a merge — stale branches accumulated monotonically (one per save+merge cycle) and rendered as phantom pending reviews in Studio.

    • mergeBranch (and therefore contentrain_merge, contentrain merge, contentrain diff, the Serve UI approve endpoints, and LocalProvider.mergeBranch) now deletes the merged branch's remote copy — best-effort: failures surface as a remote.warning, never as a failed merge. Default on; opt out with remoteBranchCleanup: false in config.json. Note: deleting a pushed branch closes any open PR/MR on it.
    • contentrain_branch_delete, the Serve UI reject endpoint, contentrain diff's delete action, and LocalProvider.deleteBranch remove the remote copy too. contentrain_branch_delete also supports remote-only deletion when the local ref is already gone.
    • GitHub/GitLab providers delete the source branch after a successful API merge (opt out per call with mergeBranch(..., { removeSourceBranch: false })).
    • Merged-branch detection (isMerged, cleanupMergedBranches, checkBranchHealth) now falls back to patch-id equivalence (git cherry) when ancestry breaks — merged branches no longer flip to "unmerged" after a base-history rewrite. Also fixes the fast-forward guard in the transaction layer, which previously never fired (merge-base --is-ancestor signals via exit code with empty stderr, which simple-git reports as success).
    • contentrain_doctor gains a "Remote branches" check (authoritative ls-remote count, offline-safe); contentrain_branch_list accepts remote: true for a remote view.
    • New contentrain prune CLI command drains already-leaked merged remote branches (--dry-run / --yes / --json), and contentrain_submit lazily prunes up to 20 merged remote leftovers per run.
    • New exports from @contentrain/mcp/git/branch-lifecycle: deleteRemoteBranch, listRemoteCrBranches, pruneMergedRemoteBranches, isRefMerged, classifyMergedBranches.

@contentrain/[email protected]

Patch Changes

@netlify

netlify Bot commented Jul 9, 2026

Copy link
Copy Markdown

Deploy Preview for contentrain-ai ready!

Name Link
🔨 Latest commit 2c9da25
🔍 Latest deploy log https://app.netlify.com/projects/contentrain-ai/deploys/6a4f62edf8e07f0009443251
😎 Deploy Preview https://deploy-preview-61--contentrain-ai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 686e377 to 2c9da25 Compare July 9, 2026 08:59
@ABB65
ABB65 merged commit 60b5053 into main Jul 9, 2026
5 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 9, 2026
@ABB65
ABB65 deleted the changeset-release/main branch July 9, 2026 09:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant