You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Plan: per-observation route type — backfill and neighbor-builder use the transmission's first route type #289
Found in a post-merge review of #190 and confirmed by reading master 34f672c6. This issue asks for a plan first, not code.
The same payload can be heard as both DIRECT and FLOOD. One transmission row then covers observations with different route types (route_mask records that). The resolved-path backfill (code) and the neighbor-builder (code) still read t.route_type, which is the route type of the first reception. That can store a wrong relay (DIRECT treated as FLOOD: path[last] is not the transmitter) or drop a real neighbour edge (FLOOD treated as DIRECT). The review reproduced both directions.
Plan should answer
Where does each observation's own route type come from today? Is it in raw_hex per observation, in path_json, or nowhere?
Does the fix need a schema change, such as an observations.route_type column with an ingest write and a backfill? What does it cost at the observation counts deployments have (millions of rows)?
Which consumers must switch: backfill, neighbor-builder, server-side resolve, analytics?
A migration and rollback plan, and tests for both reproduction directions.
Can a cheap interim guard limit the damage? For example, skip attribution when route_mask shows both DIRECT and FLOOD.
M1 merged via #308 (298609e06e4e4c3ed6bdc37661abd176ee97bc68): the resolved-path backfill and the neighbour builder now use each observation's own route type. M2 (repairing already-written resolved_path rows) is still open, so this issue stays open.
Activity
Merge pull request #308 from dborup/codex/issue-289-observation-route…
dborup commentedon Oct 6, 2026
M1 merged via #308 (
298609e06e4e4c3ed6bdc37661abd176ee97bc68): the resolved-path backfill and the neighbour builder now use each observation's own route type. M2 (repairing already-writtenresolved_pathrows) is still open, so this issue stays open.reviewfix(ingestor): only repair rows the pre-#308 rule wrote (#289 M2)