~/talk

Chaos Mode: Finding & Fixing Race Conditions

slides:none on file

A concrete workflow: add random delays in request pipeline (split before and after fetch) behind a localStorage toggle so racey search responses happen ~50% of the time in dev, reproduce failures, then fix by either cancelling outdated effects or by moving to a small state machine/store that ignores outdated responses and serializes loads. Debouncing is shown to reduce load but not eliminate races. Centralize requests through a single-network function for easy injection.

AI-written summary · about

  1. 0:00Introduction
  2. 1:12Search UI example
  3. 3:40Race condition from timing
  4. 5:51Debouncing attempt
  5. 9:26Chaos mode testing
  6. 11:52Delaying backend calls
  7. 14:19Chaos mode in dev
  8. 15:03Fixing race conditions
  9. 16:54State machine debounce
  10. 21:32React store integration
  11. 23:38Key takeaways and rolling versions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.