v4.2.2
What's Changed
Bug Fix
-
fix: prevent harvest deadlock when merge agent holds lock during parallel execution
When running parallel specs, the merge lock acquisition timeout (300s) was shorter than typical merge agent sessions (5–30min). This caused waiting harvesters to time out and left staged-but-uncommitted squash-merge artifacts that blocked all subsequent dispatches.
Changes:
- Increase
MergeLockdefault acquisition timeout from 300s to 3600s (matchingstale_timeout) so waiters no longer time out while the merge agent is legitimately running - Add
git reset HEADin_harvest_under_lockto clear leftover staged changes from prior failed squash merges - Fix
force_clean_workspaceto properly unstage files withgit reset HEADbefore restoring the working tree — previouslygit checkout -- .alone could not remediate staged-but-uncommitted files
- Increase