Commit 512d19d
committed
feat(consumoor): add snapshot/fuzz tests, fix Slot double-append bug, staging test infra
Add comprehensive test suite for all 77 flattener routes:
- TestSnapshotCorrectness: synthetic proto events with exact column value
assertions for every route, completeness enforcement requiring non-empty
checks for each fixture
- FuzzFlattenColumnAlignment: random proto bytes verify no panics and
column alignment across all routes
- FuzzFlattenNilSafety: partially-constructed events verify nil-safety
- Extended TestConditionalRoutingPredicates to cover all 5 predicate routes
- Extended TestValidatorsFanout to cover all 3 fan-out routes
Fix canonical_beacon_block Slot column double-append: both appendPayload
and appendAdditionalData were appending to b.Slot when additional data
had Slot.Number set, breaking column alignment.
Refactor staging correctness test infrastructure: replace smoke-test script
with staging-correctness-test.sh and staging-topic-survey.sh, add docker
compose staging overlay.1 parent fdc9958 commit 512d19d
22 files changed
Lines changed: 3528 additions & 1175 deletions
File tree
- deploy/local/docker-compose
- pkg/consumoor
- sinks/clickhouse/transform/flattener
- tables
- canonical
- libp2p
- source
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
This file was deleted.
0 commit comments