Commit de5097d
fix: resolve CI lint errors and flaky tests
- analytics.go: use min() builtin, remove unused filteredSessions
- codex.go: use strings.SplitSeq for efficiency (modernize lint)
- server_test.go: remove unused seedSessionWithMessages
- watcher_test.go: poll for nested path instead of counting
onChange calls, fixing race on slow CI runners
- db_test.go: close raw DB before concurrent Opens to avoid
Windows file locking in TestMigrationRace
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent f38045d commit de5097d
File tree
5 files changed
+27
-42
lines changed- internal
- db
- parser
- server
- sync
5 files changed
+27
-42
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 35 | + | |
39 | 36 | | |
40 | 37 | | |
41 | 38 | | |
| |||
398 | 395 | | |
399 | 396 | | |
400 | 397 | | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
| 398 | + | |
405 | 399 | | |
406 | 400 | | |
407 | 401 | | |
| |||
1150 | 1144 | | |
1151 | 1145 | | |
1152 | 1146 | | |
1153 | | - | |
1154 | | - | |
1155 | | - | |
1156 | | - | |
1157 | | - | |
1158 | 1147 | | |
1159 | 1148 | | |
1160 | 1149 | | |
1161 | | - | |
1162 | 1150 | | |
1163 | 1151 | | |
1164 | 1152 | | |
| |||
1183 | 1171 | | |
1184 | 1172 | | |
1185 | 1173 | | |
1186 | | - | |
1187 | | - | |
1188 | 1174 | | |
1189 | 1175 | | |
1190 | 1176 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1384 | 1384 | | |
1385 | 1385 | | |
1386 | 1386 | | |
1387 | | - | |
1388 | 1387 | | |
1389 | 1388 | | |
1390 | 1389 | | |
| |||
1407 | 1406 | | |
1408 | 1407 | | |
1409 | 1408 | | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
1410 | 1413 | | |
1411 | 1414 | | |
1412 | 1415 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
322 | | - | |
| 321 | + | |
323 | 322 | | |
324 | 323 | | |
325 | 324 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | 220 | | |
230 | 221 | | |
231 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
| 143 | + | |
143 | 144 | | |
144 | 145 | | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
152 | 153 | | |
153 | | - | |
154 | | - | |
155 | | - | |
| 154 | + | |
156 | 155 | | |
157 | 156 | | |
158 | 157 | | |
| |||
166 | 165 | | |
167 | 166 | | |
168 | 167 | | |
169 | | - | |
| 168 | + | |
170 | 169 | | |
171 | | - | |
| 170 | + | |
172 | 171 | | |
173 | 172 | | |
174 | 173 | | |
175 | 174 | | |
176 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
177 | 183 | | |
178 | 184 | | |
179 | 185 | | |
| |||
0 commit comments