Commit e46601b
fix: data race in stateful worker and whole-document didChange parsing
Two fixes:
1. stateful_worker: move CompileParams copy after strand lock so
concurrent Compile requests don't overwrite doc fields while
et::queue work is reading them. DocumentUpdate only marks dirty
instead of modifying doc.text to avoid data race with thread pool.
2. master_server: remove whole-document didChange workaround now that
eventide correctly rejects variant candidates with missing required
fields (clice-io/kotatsu#95).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 3760c71 commit e46601b
1 file changed
+6
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1382 | 1382 | | |
1383 | 1383 | | |
1384 | 1384 | | |
| 1385 | + | |
1385 | 1386 | | |
1386 | | - | |
1387 | | - | |
1388 | | - | |
1389 | | - | |
1390 | | - | |
1391 | | - | |
1392 | | - | |
1393 | | - | |
1394 | | - | |
1395 | | - | |
1396 | | - | |
1397 | | - | |
1398 | | - | |
1399 | | - | |
1400 | | - | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
1401 | 1392 | | |
1402 | 1393 | | |
1403 | 1394 | | |
| |||
0 commit comments