تتبع الأخطاء البرمجية
وصف الخطأ، إعادة إنتاجه، التشخيص، والإصلاح.
لغة التشخيص التقنية ثابتة: repro إعادة إنتاج المشكلة، وstack trace أثر الخطأ، وrace condition تعارض توقيت. وأهم سؤال يُسأل لك دائماً: can you reproduce it؟
- 1
There's a bug in production.
هناك خطأ في بيئة الإنتاج.
- 2
Can you reproduce it?
هل تستطيع إعادة إنتاجه؟
- 3
It only happens on a page reload.
يحدث عند إعادة تحميل الصفحة فقط.
- 4
I can't reproduce it locally.
لم أستطع إعادة إنتاجه محلياً.
- 5
What are your repro steps for that one?
ما خطوات إعادة إنتاج الخطأ عندك؟
- 6
Do you have the full stack trace from the log?
هل لديك أثر الخطأ الكامل في السجل؟
- 7
I'll paste it in the ticket right now.
سألصقه في المهمة المسجلة الآن.
- 8
The errors started after yesterday's deploy.
تبدأ الأخطاء أمس بعد النشر.
- 9
Let's look at what shipped in that deploy.
لنراجع التغييرات في ذلك النشر.
- 10
I think it's a race condition.
أظن أنها مشكلة توقيت.
- 11
It happens about one in twenty times.
تحدث مرة كل عشرين محاولة.
- 12
That explains why it's flaky.
هذا يفسر عدم ثباتها.
- 13
I'll add some logging around it.
سأضيف سجلات للتشخيص.
- 14
Found it, it's a null.
وجدته، السبب قيمة فارغة.
- 15
We're not checking for it before we use it.
نحن لا نتحقق من وجوده قبل الاستخدام.
- 16
I'll add a guard and a test.
سأضيف حماية وأكتب اختباراً.
- 17
Should we push a hotfix?
هل ننشر إصلاحاً عاجلاً؟
- 18
Or should we roll it back?
أم نعيد النسخة السابقة؟
- 19
Rolling back is faster and safer.
الإعادة أسرع وأأمن الآن.
- 20
I'll keep an eye on the logs for an hour.
سأتابع السجلات ساعة أخرى.