Commit Graph
1 Commits
Author SHA1 Message Date
Hasan BasbunarandClaude Opus 5.5 74fcdf27eb cockpit: a tier survives its collectors, a stalled reader holds no lock, an overrun job stops whole; Agent tab: cut answers show, re-runs keep the install
- C1: sampler() isolates each collector (one exception ended the tier's
  thread; the 1 s tier carries the memory floor's abort), collect_jobs has its
  @guard, and JOBS is read and changed under a lock (22 snapshot errors in
  1.3 s under churn before)
- C2: /api/state is serialised under STATE_LOCK and written outside it; a
  reader that stopped reading held every sampler for the write
- C3: jobs run in their own process group with a deadline that does not wait
  for output; the group gets TERM then KILL. switch-model.sh's download runs
  with --init: measured, without it the container outlived a TERM and a KILL
  of its docker client (python3 as PID 1 ignores TERM)
- C4: the relay closes the browser's connection when opencode cuts a
  fixed-length answer short, and a cut HTML document is a 502
- C5: install-agent.sh reads both ports, the relay's address and the service
  PATH back from the installed units; the environment still wins

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 15:46:53 +02:00