Repository navigation
v0.1.39
merge-pr reads the PR it merges, wherever it is; the coordination log's writers no longer hang on a stopped holder.
- #228:
wt merge-prwith a forwarded-R, or a PR given by its URL, reads that PR.- The bug. Only the checks gate, the base
.wt.confread and the deploy gate passed-Ralong. The precheck, the guard, the close check and the post-merge reads went to this clone's PR of the same number. A merged PR of that number here made merge-pr skip the merge as "already merged" and auto-clean this clone's lane. - The fix.
- The PR is resolved once in its repository, and its URL is what every read and
gh pr mergetake. - Issues are read in that repository, and its squash settings on its own host.
- A PR that can't be resolved is refused.
- The PR is resolved once in its repository, and its URL is what every read and
- A PR URL is resolved the same way, read as gh reads one (
…/pull/5.diffincluded). - Auto-clean touches a lane only when the PR's repository or its branch's is this clone's origin. With origin a fork and
-Rnaming upstream, it fetches the PR's head from the PR's own repository. - Command hints carry the forwarded
-Rand never spell a PR#5, which a shell reads as a comment. That coversgh pr ready,gh pr checks --watchandwt merge-pr … --bypass.
- The bug. Only the checks gate, the base
- #235: the coordination log's writers wait at most 30s, and say so.
- The bug. A
wt prune-coordstopped with Ctrl-Z, or awt block-idstuck on a network mount, made every announce, ack and block-id wait silently for as long as it stayed that way. - The fix.
- A writer says it is waiting after a second and gives up at 30s, with the file's path and how to find the holder (
lsof <path>). - It says to resume the holder (
fg,kill -CONT), never to kill it: a prune killed mid-rewrite leaves the log empty. wt append's doc lock is bounded the same way.
- A writer says it is waiting after a second and gives up at 30s, with the file's path and how to find the holder (
- A filesystem that can't lock at all (ENOTSUP, EOPNOTSUPP, ENOSYS: macOS NFS
nolocks, some FUSE and SMB mounts) lets announce, ack, all-clear andblock-id --written/--abandonwrite unlocked, with one warning. Before, they failed there. - A lock service that is down (NFS lockd unreachable: ENOLCK) is not that. Every write fails and merge-pr's hold gate refuses until it is back, since writing or reading unlocked then could lose a hold.
- prune-coord prunes past a locked block ledger, lists the locked ones, and shares one 30s deadline across them.
- The bug. A