Commit 4816a1a
committed
Keep detached dispatch synthesis top-level
From CoPilot review of #193: the prefix-general change over-generalized
the detached subgraph / fan-out synthesis arms to any depth, but
_trace_id_for still routes detached events by namespace[:1]. A nested
detached fan-out would partially detach -- its dispatch in the new Trace
but inner nodes in the main one. Re-gate both detached arms to depth ==
1; only the non-detached fan-out arm and the dedup need to be
prefix-general (what case 3 exercises). A nested detached fan-out now
gets no synthesis, consistent with the prior behavior, until the
deferred nested-dispatch-keying fix generalizes _trace_id_for too.1 parent 6c2cf60 commit 4816a1a
1 file changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1023 | 1023 | | |
1024 | 1024 | | |
1025 | 1025 | | |
1026 | | - | |
1027 | | - | |
1028 | | - | |
1029 | | - | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
1030 | 1032 | | |
1031 | 1033 | | |
1032 | 1034 | | |
1033 | 1035 | | |
1034 | | - | |
1035 | | - | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
1036 | 1039 | | |
1037 | 1040 | | |
1038 | 1041 | | |
| |||
0 commit comments