WS-B: journald source (query, follow, example)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YShymaPrXmc3KYRUg2HMSs
This commit is contained in:
1 parent
2687ef5c33
commit
b1bf04d4ec
4 files changed
+325
-22
No files matched your search
@@ -36,12 +36,12 @@ Design: [`plan.md`](plan.md) · Review fixes: [`plan/review.md`](plan/review.md)
|
||||
- [ ] **A7** Unit tests for timestamp conversion and property mapping
|
||||
|
||||
### WS-B journal · [card](plan/workstreams/WS-B-journal.md)
|
||||
- [ ] **B1** All sd-journal access inside `spawn_blocking`. Optional namespace, depending on the spike.
|
||||
- [ ] **B2** `query(filter)`: unit, priority ≤ N, `lines` capped by `limits.max_lines`, returned in chronological order
|
||||
- [ ] **B3** `follow(filter)` returns an mpsc receiver. `wait()` with a timeout. Exits on receiver drop or shutdown.
|
||||
- [ ] **B4** Entry mapping with lossy UTF-8 for binary `MESSAGE`
|
||||
- [ ] **B5** `examples/journal_tail.rs`
|
||||
- [ ] **B6** Test: the follow thread exits after its receiver is dropped
|
||||
- [x] **B1** All sd-journal access inside `spawn_blocking`. Optional namespace, depending on the spike.
|
||||
- [x] **B2** `query(filter)`: unit, priority ≤ N, `lines` capped by `limits.max_lines`, returned in chronological order
|
||||
- [x] **B3** `follow(filter)` returns an mpsc receiver. `wait()` with a timeout. Exits on receiver drop or shutdown.
|
||||
- [x] **B4** Entry mapping with lossy UTF-8 for binary `MESSAGE`
|
||||
- [x] **B5** `examples/journal_tail.rs`
|
||||
- [x] **B6** Test: the follow thread exits after its receiver is dropped
|
||||
|
||||
### WS-C docker · [card](plan/workstreams/WS-C-docker.md)
|
||||
- [ ] **C1** Lazy `bollard::Docker` on the configured socket. Missing or denied socket maps to `Unavailable`.
|
||||
|
||||
Reference in new issue
Block a user