~/talk

Testing Isn't Enough: Fighting Bugs with Hacks

Talkat RubyConf 2014 · 2014-11-17..11-19· [testing, observability]
slides:none on file

Mars Climate Orbiter burns up and a trading bug loses $440 million, so the claim is that tests alone are insufficient and runtime and dev-time hacks win. Concrete tools include a scoped find hook that forces association lookups, a global merchant consistency check that walks loaded objects and raises on mismatch, simple Nagios settlement alerts, data-consistency checks that abort corrupt saves, and safe migrations that blow up locally unless concurrent indexes are used — these hacks run in production and in practice catch issues missed by tests.

AI-written summary · about

  1. 0:00Start
  2. 0:51Mars Climate Orbiter
  3. 1:25World of Warcraft Plague
  4. 3:28Testing is not enough
  5. 8:59Strategy
  6. 12:34Allow bypassing
  7. 13:28What about code like this?
  8. 17:22Check data consistency
  9. 20:14Nagios check
  10. 21:06Hacks for development
  11. 25:26Summary
~/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.