This is the record of an abcd-managed repository

abcdBetav0.16.2 · 2026-11-06

Development record

A context-bound git command can outlive its caller's deadline: isolatedGitContext runs the partial-clone guard (lazyFetchGuard) first, and the guard's own git version probe and its floor-config read run with no context, so a git that hangs holds a caller on a deadline (the status verb, the prompt hook's reads) for as long as git hangs, though the command itself is killed at the deadline. Found when TestRootCommitContextKillsGitAtTheDeadline, run alone, took 20 s against a 500 ms deadline because its hanging fake git answered the guard's probes.

issueresolvedminoriss-2610181802344551

A context-bound git command can outlive its caller's deadline: isolatedGitContext runs the partial-clone guard (lazyFetchGuard) first, and the guard's own git version probe and its floor-config read run with no context, so a git that hangs holds a caller on a deadline (the status verb, the prompt hook's reads) for as long as git hangs, though the command itself is killed at the deadline. Found when TestRootCommitContextKillsGitAtTheDeadline, run alone, took 20 s against a 500 ms deadline because its hanging fake git answered the guard's probes.

Grounds

  • pursued: a status refresh or prompt hook on a deadline returns at it and leaves no git running whatever git does; a git process still alive after RootCommitContext returned at its deadline would show this wrong

Frontmatter

idiss-2610181802344551
typeissue
lifecycleresolved
severityminor

mentions1