~/talk

The Journey About How I Fixed a Bug in the Node.js Core That Affected Thousands of Packages

Talkat JSConf Korea 2022 · 2022-09-16..09-17· [nodejs]
slides:none on file

Fixes a race in the Node.js child_process module that stops messages from reaching children immediately, implement an in-memory queue to buffer sends until listeners exist, and add tests that prove the queuing removes the need for setTimeout workarounds. Code compiles, passes the full test suite, lands in Node 17 and is later backported to v14, addresses issues in Jest and many packages, and survives reviewer performance and race‑condition scrutiny.

AI-written summary · about

  1. 0:00Bug fix journey intro
  2. 3:11Child process bug explained
  3. 5:34Seeking Node.js guidance
  4. 8:14Compiling Node.js first changes
  5. 9:30Message queue solution
  6. 11:25Testing fix and test suite
  7. 12:58Style guide and PR submit
  8. 14:29Feedback and code improve
  9. 15:52Race conditions final PR
  10. 16:41Backport to Node.js 14
  11. 17:53Open source impact
  12. 18:38Joining Node.js community
  13. 20:16Sharing knowledge
  14. 21:29Closing remarks Q&A
~/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.