You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
lane-worktrees: the dependents walk passes over caches, tool environments and site-packages (filed from #174 Copilot round 2) #176
Filed from #174's Copilot round 2 by lane openRepoTools-1 (writer for #170, handed over by lane openRepoTools-3 on Brett Heap's word of 2026-10-06). The brief allows two Copilot rounds per PR: real defects are fixed in the PR, and everything else is filed here as ONE issue. Round 2 had ten threads. Nine are fixed in #174, and this one is filed:
The whole-estate walk for dependents (#170 A11: another repository's objects/info/alternates, or a remote whose URL is a lane clone's path) never enters __pycache__, .pytest_cache, .mypy_cache, .ruff_cache, node_modules, .tox, .nox or site-packages. A repository under one of them (e.g. host/node_modules/local-lib) that borrows a lane clone's objects is missed, the clone is not load-bearing, and its removal breaks the dependent. Fix: traverse them, or treat the omission as a partial search.
This is a cost trade-off, not a defect with one obvious fix. Walking those subtrees on Eagle's estate was measured at about 683,000 directories, 397 s cold. Treating every skipped subtree as a partial search would keep every clone in an estate that has a node_modules or a venv anywhere, so the sweep would never remove a clone. The layout itself (a repository inside node_modules or site-packages whose alternates points at a lane's clone) is rare.
Options for a person to choose (Brett, or lane 3 as owner of the sweep)
Leave as is and document it. The manual's table row already says the walk covers "every directory of the estate but caches, tool environments and site-packages".
A cheap probe. In each skipped directory, look for a .git only in its immediate children (node_modules/<pkg>/.git, site-packages/<pkg>/.git) and mark the search partial, or read that repository, when one is found. This is bounded by the number of packages, not their depth.
A full walk, opt-in (--deep-dependents), for estates where this layout is real.
Also from round 2, and fixed in #174 rather than filed: the thread about submodule annotated tag objects (r4198393531). Since 77db871, the act asks each remote of a submodule repository whether it holds that tag object.
Activity