Commit 6d5533b
fix(events): ClickHouse DateTime64 trailing 'Z' bug + ReplayEventsService tests
Fix ClickHouse DateTime64(3) parameter parsing — strip trailing 'Z' from
ISO strings since DateTime64 without timezone specifier rejects it. Applied
to ReplayEventsService and history endpoint.
Add 6 integration tests for ReplayEventsService using containerTest
(Postgres + Redis + ClickHouse testcontainers):
- No events in range returns 0
- Dry run returns count without publishing
- Replays events and triggers subscriber runs
- EventFilter narrows replayed events
- Malformed payloads are skipped gracefully
- Tags from original events are preserved
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent ef2ec86 commit 6d5533b
File tree
3 files changed
+625
-5
lines changed- apps/webapp
- app
- routes
- v3/services/events
- test/engine
3 files changed
+625
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
47 | | - | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
55 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
0 commit comments