Hi @jaybird110127 want to thank you for that Echotalk NVDA project going out on ...

@Tamasg@mindly.social

Hi @jaybird110127 want to thank you for that Echotalk NVDA project going out on Git. I checked our driver against nvda_cancel_race.md and step_budget_truncation.md. Two hits. Our cancel flag has the exact race that note describes. In _run. cancel() sets the flag, then drains the queue. If it lands after get() returns and before clear(), it drains an empty queue and the worker then clears the flag and speaks the cancelled utterance anyway. Jayson's conclusion is that a flag is simply the wrong primitive — "there is no safe moment to clear it" — and he replaced it with a generation counter, which needs no clearing so has no gap. I do think this is the right call. Also, pctalker_speaker.py:295 truncates in silence. Both are real poblems. His line is the right one: "Picking a bigger number fixes today's bug. Making it impossible to hit one quietly is what stops the next one." We already paid for this once, with the 200-char chunk cap clipping mid-sentence. I'll be fixing these and many other things this afternoon. Or, well, evening. In a few hours.