mirror of
https://github.com/baketnk/frame-yap.git
synced 2026-10-06 02:00:06 +02:00
Add opt-in delivery-debug.log for paced text delivery
Advanced debugging now also records paced-delivery metadata (byte offsets, lease/send errors, finish results and the exact focus-guard check that failed) to an owner-private delivery-debug.log. No transcript text is logged. Diagnoses later chunks being dropped after the first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
279455134b
commit
045cd4f45f
8 files changed
+136
-34
No files matched your search
@@ -112,6 +112,12 @@ is required to avoid competing rotation by multiple workers. Debug output never
|
||||
shares the framed protocol stdout. Direct worker CLI use with `--advanced-debug`
|
||||
writes to its caller's stderr; the native adapter supplies the private bounded sink.
|
||||
|
||||
The same opt-in also writes `delivery-debug.log` (rotated to
|
||||
`delivery-debug.previous.log` when debugging is enabled, capped near 1 MiB) in
|
||||
that directory: paced-delivery metadata only — start/sent byte counts and
|
||||
offsets, lease/send errors, finish results and which focus-guard check failed.
|
||||
It never contains transcript text.
|
||||
|
||||
Hardware-free tests run through CTest, including fake-child cancellation, short
|
||||
injected warmup/request deadlines, duplicate/stale replies, malformed frames,
|
||||
missing/hash-mismatched model files and symlink refusal. Default production
|
||||
|
||||
Reference in new issue
Block a user