Repository navigation
Commit 6e425e4
fix: a stale opt-out send never posts or writes the marker after a shutdown
The send carries the lifecycle it started in; shutdown() bumps it, so a task
still pending when telemetry is re-enabled neither posts nor recreates the
marker. Marker removal is best effort, and the suite drops the force flag.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_011AhtJPr3nmT1Po92ZQk4VE1 parent 3032626 commit 6e425e4
3 files changed
Lines changed: 50 additions & 3 deletions
File tree
- packages/opencode
- src/altimate/telemetry
- test/altimate/telemetry
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1876 | 1876 | | |
1877 | 1877 | | |
1878 | 1878 | | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
1879 | 1882 | | |
1880 | 1883 | | |
1881 | 1884 | | |
| |||
2183 | 2186 | | |
2184 | 2187 | | |
2185 | 2188 | | |
| 2189 | + | |
2186 | 2190 | | |
2187 | 2191 | | |
2188 | 2192 | | |
| |||
2199 | 2203 | | |
2200 | 2204 | | |
2201 | 2205 | | |
| 2206 | + | |
| 2207 | + | |
| 2208 | + | |
2202 | 2209 | | |
2203 | 2210 | | |
2204 | 2211 | | |
| |||
2208 | 2215 | | |
2209 | 2216 | | |
2210 | 2217 | | |
2211 | | - | |
| 2218 | + | |
2212 | 2219 | | |
2213 | 2220 | | |
2214 | 2221 | | |
| |||
2575 | 2582 | | |
2576 | 2583 | | |
2577 | 2584 | | |
| 2585 | + | |
2578 | 2586 | | |
2579 | 2587 | | |
2580 | 2588 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
45 | 50 | | |
46 | 51 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
| |||
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| 65 | + | |
62 | 66 | | |
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
| 70 | + | |
66 | 71 | | |
67 | 72 | | |
68 | 73 | | |
| |||
72 | 77 | | |
73 | 78 | | |
74 | 79 | | |
75 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
76 | 84 | | |
77 | 85 | | |
78 | 86 | | |
| |||
169 | 177 | | |
170 | 178 | | |
171 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
172 | 206 | | |
173 | 207 | | |
174 | 208 | | |
| |||
0 commit comments