p5a: fix a deadlock in the given TestFetchIf (lock held across a request); run notes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -43,4 +43,10 @@ reaches orion until the owner's review, the merge, and straylight's pin bump.
|
||||
|
||||
## Changes during the run
|
||||
|
||||
(none yet)
|
||||
- 2026-09-25, task 01: **owner test fault.** `TestFetchIf` took its mutex with `defer mu.Unlock()`
|
||||
and then made a third request, whose server handler needs that mutex: a deadlock that surfaced as
|
||||
a 20 s upstream timeout. Ornith spent 55 minutes debugging it correctly (its notes had the
|
||||
handler blocked on `mu.Lock` at the test line) and ended on a refused `/tmp` read, with the
|
||||
implementation done but debug prints in `pdf.go` and a `zz_debug_test.go`. Owner fixed the test
|
||||
(copy the slice under the lock, release before the next request), removed the debug scaffolding,
|
||||
and resumed the session to finish and commit.
|
||||
|
||||
Reference in New Issue
Block a user