Queue hygiene: TTL + dead-letter, delivery dedupe, honest sweep timeout #18
Loading…
Reference in a new issue
No description provided.
Delete branch "oss-oo/queue-hardening-v024-ning20260924"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-Up-Brain finding (relayed by the owner): a stale stream-pending entry looped forever — a steering-E2E artifact queued behind its own cwd lock. Root causes fixed systemically, plus one pre-v0.2.3 lost bell confirmed as the old silent-drop bug (child sess_9319e4cc, dispatched minutes before the v0.2.3 cutover — no code action, just confirmation).
ZDO_PENDING_TTL_S(default 86400) move tostream-dropped.jsonand are counted in the sweep line — the queue can no longer grow monotonically, nothing is silently lost.dispatch.pynow records INLINE (notify_parent-spawned) deliveries intostream-history.json— previously only swept deliveries were recorded, leaving both the dedupe and the delivery log blind for direct bells.ZDO_SWEEP_DELIVERY_TIMEOUT_S(default 1800). A delivered wake turn that outlives its waiter re-queued its own bell forever — the v0.2.1 lesson (watcher timeouts must exceed the work) reintroduced via the sweeper.Gates:
make functionalpass; Super-Linter slim v8.7.0 (pinned CI image, archive-verbatim) EXIT 0 (module grew past 1000 lines —C0302joined the file-header disable list per the repo's flat-single-file design policy).