Conversation
abstraktor
commented
Feb 13, 2026
- after switchBranch, we set versionHash=null and then recreate the BindingWorker
- as a result, BindingWorker.initialVersionHash is null for that target
- thus, that branch needs to be pulled even though the binding was already active before
3fbc94a to
08df6cd
Compare
Test Results 245 files 245 suites 51m 53s ⏱️ Results for commit 9893b77. ♻️ This comment has been updated with latest results. |
|
It seems that this change is still necessary for the Perhaps this is just the wrong place for that line of code.. |
|
This PR is supposed to fix the following issue: When a branch doesn't exist the sync plugin tries to create the repository. |
- after switchBranch, we set versionHash=null and then recreate the BindingWorker - as a result, BindingWorker.initialVersionHash is null for that target - thus, that branch needs to be pulled even though the binding was already active before
08df6cd to
bb8b759
Compare
Switching to a new branch failed because the plugin tried to create the repository instead of just creating a new branch from master.
bb8b759 to
9893b77
Compare
JVM coverage report
|
| @RequiresTransaction | ||
| fun getVersionHash(branch: BranchReference): String? | ||
| suspend fun pollVersionHash(branch: BranchReference, lastKnown: String?): String | ||
| suspend fun pollVersionHash(branch: BranchReference, lastKnown: String?): String? |
Check warning
Code scanning / detekt
The function pollVersionHash is missing documentation. Warning
|
🎉 This PR is included in version 18.4.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |