~/talk

Bug-Driven Development

Talkat RailsConf 2019 · 2019-05-01..05-03· [developer-experience]
slides:none on file

A real bug report about an API mismatch drives a concrete fix: reproduce with RSpec and FactoryGirl, discover a missing assignment that leaks role and enabled between accounts because Rails loads associations by Ids and the app uses UUIDs. The team replaces Ruby-side searching with a clearer design: a UserAccountDecorator plus a SearchUserAccounts loader, adds a focused loader spec, and ships the refactor to eliminate the leak and prevent regressions.

AI-written summary · about

  1. 0:00Intro
  2. 0:14Pain Free Rails 66 Deployments
  3. 0:50PROCORE
  4. 1:44When setting a user as inactive, the change is not reflected correctly in the API
  5. 2:22The bug is confirmed, but only for accounts in the EU region
  6. 3:04I can only recreate on staging environment with an enterprise account
  7. 6:34The Missing Character
  8. 13:47Loading more from the database is faster.
  9. 20:49Where do I put the regression test?
  10. 23:23A bug is an opportunity for improvement
  11. 25:26Better design: Abstractions, not just indirection
~/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.