embabel-agent icon indicating copy to clipboard operation
embabel-agent copied to clipboard

Branch sync conflict: main -> 2.0.0-06042026-1 (87795d259)

Open alexheifetz opened this issue 5 months ago • 1 comments

Branch Sync Conflict

Automatic branch sync could not merge origin/main into a new 2.0.0 upgrade branch.

Context

  • Source branch: main
  • Source commit: 87795d2599cc599710459c57e67c9763f89ffc01
  • Source commit subject: Refactor sync-primary-to-upgrade workflow script
  • Pull request: unknown
  • Developer: igordayen
  • Issue assignee: not assigned
  • Latest upgrade branch: 2.0.0-06022026
  • Attempted new branch: 2.0.0-06042026-1
  • Workflow run: https://github.com/embabel/embabel-agent/actions/runs/26984556784
  • Conflict file: .github/sync-reports/conflicted-files.txt
  • Report file: .github/sync-reports/branch-sync-conflict.md

Conflicted Files

  • README.md

Artifacts

The conflict file is .github/sync-reports/conflicted-files.txt. It contains the raw list of unresolved paths from:

git diff --name-only --diff-filter=U

When this runs in GitHub Actions, the workflow should upload .github/sync-reports/conflicted-files.txt and .github/sync-reports/branch-sync-conflict.md as artifacts on failure. If a workflow run URL is available above, open that run and download the branch sync conflict report artifact.

Manual Resolution

git fetch origin
git switch --no-track -C 2.0.0-06042026-1 origin/2.0.0-06022026
git merge origin/main
# Resolve conflicts listed above
git add <resolved-files>
git commit
git push origin HEAD:2.0.0-06042026-1

After the resolved branch is pushed, treat 2.0.0-06042026-1 as the latest 2.0.0 branch.

Copilot Prompt

Use this prompt with GitHub Copilot Workspace or Copilot Chat after checking out 2.0.0-06042026-1 and reproducing the merge conflict:

Resolve the merge conflict from merging origin/main into 2.0.0-06042026-1.
Preserve the Spring Boot 4 / Spring AI 2.0 upgrade behavior from 2.0.0-06022026, and forward-port the relevant changes from main.
Conflicted files are listed in .github/sync-reports/conflicted-files.txt. After resolving, run the project tests that cover the changed modules.

alexheifetz avatar Jun 04 '26 22:06 alexheifetz

created for migration script testing

igordayen avatar Jun 17 '26 19:06 igordayen