Caçando bugs em inglês
Descrever o bug, reproduzir, diagnosticar e corrigir — tudo em inglês com a equipe.
O vocabulário de debug em inglês é bem fixo: repro (reproduzir o problema), stack trace (a pilha de chamadas), race condition (problema de concorrência). E a pergunta que sempre vem: can you reproduce it? Boa notícia: no Brasil a gente já fala « bug », « log » e « deploy » no dia a dia, então o desafio são as preposições e a pronúncia (bug é « bâg », não « bugui »).

- 1
There's a bug in production.
Tem um bug em produção.
- 2
Can you reproduce it?
Você consegue reproduzir?
- 3
It only happens on a page reload.
Só acontece quando a página é recarregada.
- 4
I can't reproduce it locally.
Não consigo reproduzir localmente.
- 5
What are your repro steps for that one?
Quais são os seus passos para reproduzir esse aí?
- 6
Do you have the full stack trace from the log?
Você tem a stack trace completa do log?
- 7
I'll paste it in the ticket right now.
Vou colar no ticket agora mesmo.
- 8
The errors started after yesterday's deploy.
Os erros começaram depois do deploy de ontem.
- 9
Let's look at what shipped in that deploy.
Vamos ver o que subiu nesse deploy.
- 10
I think it's a race condition.
Acho que é uma race condition.
- 11
It happens about one in twenty times.
Acontece mais ou menos uma vez a cada vinte.
- 12
That explains why it's flaky.
Isso explica por que é tão instável.
- 13
I'll add some logging around it.
Vou colocar uns logs em volta disso.
- 14
Found it, it's a null.
Achei, é um null.
- 15
We're not checking for it before we use it.
A gente não está verificando se existe antes de usar.
- 16
I'll add a guard and a test.
Vou colocar uma proteção e um teste.
- 17
Should we push a hotfix?
A gente sobe um hotfix?
- 18
Or should we roll it back?
Ou a gente faz rollback?
- 19
Rolling back is faster and safer.
Fazer rollback é mais rápido e mais seguro.
- 20
I'll keep an eye on the logs for an hour.
Vou ficar de olho nos logs por uma hora.