Commit 610454e
fix(events,ci): Phase E review fixes — DLQ structlog + CI slow-test filter
Two findings from the Phase E batched review:
1. CRITICAL: .github/workflows/pr.yml ran `pytest apps/api/tests` with no
marker filter. Task 26's slow integration test (310s sleep for reaper
idle-threshold validation) would block every PR CI for 5+ minutes.
Added `-m "not slow"` to the api pytest step with an inline comment.
2. Important: dlq.py wrote to the DLQ stream silently. Added structlog
`get_logger(__name__)` and a `logger.warning("dlq.routed", ...)` call
inside `route()` so DLQ events surface in observability.
Tests still pass (3 passed, 1 slow deselected).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 533605f commit 610454e
2 files changed
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
52 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
0 commit comments