Repository navigation
v0.1.35
Eleven merges since v0.1.34, from two passes over the open wt bugs. Each was adversarially reviewed, mutation-tested and smoke-tested end to end.
merge-pr
- #179: merge-pr said
verdict=okwhile the PR's checks were still pending or had never started, and--adminbypasses GitHub's required checks too. It now reads the head commit's checks and what the base branch requires (branch protection and rulesets), refuses when they are not green (asks at a terminal), and pins the merge to the commit it read.--checks-okmerges anyway;--bypassand--admindon't. - #178: at the deploy gate, a GitHub Actions incident on githubstatus.com is now a warning. It never refuses.
- #196: the close check now reads the squash SUBJECT too, and a merge that gh reported as failed after it had in fact merged (
-- -dwith the branch checked out) is verified and cleaned up like any other. - #217: with the account's REST quota used up, merge-pr called a 6-line diff EMPTY and pointed at
--bypass, and every read said "gh is not available or not authenticated". It now says the rate limit is used up and when it lifts, and reads the diff, file list and PR state over GraphQL, which has its own quota. A diff it cannot read is refused as "could not be read", never as empty.wt doctorshows a rate-limited host as logged in.
Collision detection
- #199: edits on adjacent lines (no unchanged line between them) graded low, but git's merge conflicts on them. Edits are now graded by git's own 3-way rule, aligned the way merge-ort aligns them.
- #200, #204: a file with a non-ASCII name never collided (git quoted it), and a name with glob characters or a leading
:matched the wrong files. Paths are now read NUL-separated and passed to git literally. - #201:
wt checkand the edit hooks now read a path argument the way the filesystem does. A relative path through a symlink,.at the top level, a path into another worktree and a name typed in another case all find the other window's edit. Both edit hooks name every window editing a file. Behaviour change: awt checkpath outside every worktree of the repository (including one through an in-repo symlink to outside) is refused with exit 64 instead of reported clear.
Data safety
- #177:
wt discard <name>drops one deliberately throwaway worktree, and only drops unpushed commits with--drop-commits. - #208, #210:
clean, merge-pr's auto-clean andrelease --cleandeleted untracked files hidden bystatus.showUntrackedFiles=no, and edits hidden by--assume-unchanged,--skip-worktreeorcore.ignoreStat. Those now count as uncommitted work. - #198:
wt new/wt claimcould re-attach a stale or diverged same-named local branch. They now check it against origin first and never lose work on a rollback.
Coordination and auth
- #211: records written before wt knew sessions read as every session's own, so
wt holdsofferedall-clearfor other sessions' holds. Only a session's own records are "yours" now, and releasing anything else asks first.wt prune-coord --legacyclears the old backlog. - #203:
wt doctortells an unreachable host from a dead token (gh 2.81+), and decides each host by its active account.