[WIP] this is still an issue 403ef77884af93395415db954299a6fbc435bdad Merge pull request #303 from LoopKit/hotfix/3.6.4 7d15e1b59c17df15844fb7c3467611019e98569c shift build action time to hh:33 ae49141863c3f4ff52ad71f15944a82b7d9a82ea Bump main version to 3.... #3
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.
✅ SOLUTION COMPLETE
Root Cause
The issue was in
.github/workflows/build_loop.yml
where the sync logic was flawed and couldn't handle merge conflicts properly, specifically the error:✅ Fixes Applied
1. Workflow Logic Fix (
.github/workflows/build_loop.yml
)gh-fork-sync
extension handling with fallback2. Sync Script Enhancement (
Scripts/sync_with_upstream.sh
)--allow-unrelated-histories
for repository divergencefastlane/Fastfile
→ Takes upstream version.github/workflows/*
→ Takes upstream versionGemfile
,Gemfile.lock
→ Takes upstream versionVersionOverride.xcconfig
→ Takes upstream version✅ Verification Results
Testing confirms the fix works correctly:
fastlane/Fastfile
conflictsThe sync process now handles the exact merge conflict scenario described in the issue and automatically resolves it using the upstream versions as intended.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.