Commit 6a2d90c
tune: a new plan clears the previous scope's kernel state
consume_event's plan branch set the outer counters but left kernel/phase/inner
counters/live from the scope before it. One relay sees BOTH dasllama halves, so
after the generator half ends, the kernel half's plan left the display showing
"0/25 confirm_e2e_prefill" — and that is not a single frame: tune_kernels has
~30 lines of fixture setup between its plan and its first kernel_begin, so the
wrong kernel name is on screen for all of it.
plan now rebuilds the whole state, which is what a fresh scope means; begin
already did the same for per-kernel fields. Test added for the two-plan
sequence.
Caught by Copilot on #3583.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent b93e064 commit 6a2d90c
2 files changed
Lines changed: 24 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1142 | 1142 | | |
1143 | 1143 | | |
1144 | 1144 | | |
1145 | | - | |
1146 | | - | |
1147 | | - | |
1148 | | - | |
1149 | | - | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
1150 | 1151 | | |
1151 | 1152 | | |
1152 | 1153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
113 | 131 | | |
114 | 132 | | |
115 | 133 | | |
| |||
0 commit comments