notes: run-canary is silent by default, which records perfect silence
Both of these cost time in one session and both are the kind that look like
success.
run-canary line 82 is SDL_AUDIODRIVER=${SDL_AUDIODRIVER:-dummy}, and its own
header explains why: --apu=nop stalls the guest in the intro movie, so the SDL
driver against a dummy device is what lets the title advance. But the comment s
premise -- "there is no PulseAudio here" -- stopped being true when
tools/audio-capture landed, since that starts a daemon on demand. So a capture
through the null sink records pure silence, of the right length, behind a run
that looks perfectly healthy. The override is
PULSE_SINK=cap SDL_AUDIODRIVER=pulseaudio run-canary, and the live check is
pactl list sink-inputs: empty means Canary never attached and the sink sits at
IDLE. audio-capture s own -inf peak warning is the backstop, but it only fires
after the whole run.
Separately, pkill -f and pgrep -f match the caller s OWN command line. Hit twice
here: pkill -9 -f adv_audio_cap.sh killed the shell running it, and an
until ! pgrep -f "probe.py --run" loop never exited because the loop s own
command line contained the pattern -- which looks exactly like the job hanging.
Kill by process name with ps -o pid= -C instead.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsEPXWVaEpyfudtR6re1Pd
This commit is contained in:
@@ -109,6 +109,12 @@ agent's loop prompt, i.e. nowhere durable. See [`README.md`](README.md) for the
|
||||
* **Raw grep cannot see inside compressed pak entries.**
|
||||
* **Commit messages go in a file** (`git commit -F`); a literal `|` in a table
|
||||
cell needs escaping; `git log --all -- <path>` can hang.
|
||||
* **`pkill -f PATTERN` / `pgrep -f PATTERN` match YOUR OWN command line.** Hit
|
||||
twice in one session: `pkill -9 -f adv_audio_cap.sh` killed the shell that ran
|
||||
it, and an `until ! pgrep -f "probe.py --run"` loop never exited because the
|
||||
loop's own command line contained the pattern. Kill by process name
|
||||
(`ps -o pid= -C xenia_canary`) or exclude self; a wait-loop that greps for its
|
||||
own text waits forever and looks like the job hanging.
|
||||
* **"Build 10" of a pak is ambiguous — always say which index space.**
|
||||
`sylpheed-cli screen list GP_TITLE.pak` reports **12** builds and numbers them
|
||||
0–11; `screen list --all` reports **16** and numbers them 0–15. Only under
|
||||
|
||||
Reference in New Issue
Block a user