~/talk

A Leak in the Shell – How Refactoring Autocomplete Broke Us and How We Fixed It

watch on portal.gitnation.org ↗https://portal.gitnation.org/contents/a-leak-in-the-shell-how-refactoring-autocomplete-broke-us-and-how-we-fixed-it
Talkat JSNation 2026 · on Thursday, 2026-06-11· at 11:50· [web-performance, javascript]

Describes how adding an improved autocomplete feature to MongoDB’s database CLI introduced memory leaks and deep JavaScript-level bugs when the team enabled the feature flag. Explains the debugging, refactoring and testing changes the team made to fix the leaks and performance issues, and shares lessons learned about testing and performance for similar CLI/autocomplete work.

AI-written summary · about

~/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.