~/talk

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

Talkat OpenJS World 2022 · 2022-06-06..06-10· [nodejs, open-source]
slides:none on file

Finds and fixes a Node.js core bug that drops child-process messages when using ES modules by adding a pending message queue and delaying delivery until a listener exists. Changes touch internal spawn/IPC code: replace direct emit with a wrapper, capture emitted args, handle newListener to flush queued messages, use SafeSet/Reflect.apply and move the iterator work outside loops. Adds automated tests, builds locally to iterate quickly, lands in Node 17 and is backported to 14 LTS, so the fix is released and working for thousands of packages.

AI-written summary · about

  1. 0:00Introduction
  2. 0:53Starting open source journey
  3. 3:04Identifying the core bug
  4. 7:15Collaborating on a solution
  5. 8:40Optimizing development setup
  6. 11:02Implementing the fix
  7. 14:10Testing and submitting PR
  8. 16:41Code review and merging
  9. 18:54Closing and resources
~/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.