Skip to content

Commit 306d69f

Browse files
committed
docs(CHANGES) Subprocess timeout and ref-heavy remote handling
why: Surface the two user-visible improvements landing in the fix-sync-hang branch -- a new opt-in subprocess timeout across the public Cmd APIs, and the resolution to vcspull sync hangs against ref-heavy remotes -- so they appear in 0.40.x release notes. what: - Add a What's new sub-section announcing timeout= on Git.run(), Hg.run(), Svn.run(), and the legacy run(). - Add a Bug fixes sub-section covering the ref-heavy remote hang. - Both entries written to the at-a-glance bar: lead with what the user gains or no longer suffers, leave implementation depth for the linked PR.
1 parent fe07f58 commit 306d69f

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

CHANGES

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,21 @@ the private `_ENV` type that was leaking into public signatures:
4242
`CreateRepoPytestFixtureFn` is renamed to `CreateRepoFn`. Update any
4343
`TYPE_CHECKING` imports accordingly.
4444

45+
#### New `timeout=` keyword on subprocess runners
46+
47+
`libvcs._internal.run.run()`, `Git.run()`, `Hg.run()`, and `Svn.run()`
48+
now accept `timeout`, with improved cleanup and handling of stuck
49+
subprocesses when the deadline fires. (#524)
50+
51+
### Bug fixes
52+
53+
#### Improve handling of ref-heavy remotes
54+
55+
Large repositories (e.g. `openai/codex` at 2,400+ refs) no longer
56+
appear to hang during `vcspull sync` -- libvcs avoids the expensive
57+
ref-walking git command that was load-bearing for the URL lookup.
58+
(#524)
59+
4560
### Documentation
4661

4762
- pytest plugin: `CreateRepoFn` and `CreateRepoPostInitFn` now render

0 commit comments

Comments
 (0)