True Causes
SO
← hoolka
7/7 · Waxqabadyo
30 qof · 30 fikradood
bandhig · lama tirin
caqabado · qof kasta oo haysta linkiga · si dadweyne ah loo liis gareeyey · isbahaysigu waa shidan yahay
waxaa hagay hagaha qolka (la shaabadeeyey)
30 qof · 30 fikradood · 2 kooxood
Baasaboorka → · Mantiq → · diiwaan
↗ la wadaag khariidaddan
Goob kale, khariidad toos ah ahaan:
Sawir ahaan: https://truecauses.org/d/6708d57/map.svg
Xog ahaan: lammaane kasta oo qolkan lagu qiimeeyey (CSV). Sheegasho kastaa waxay leedahay ciwaan u gaar ah, /c/6708d57/<card>, oo khariidadda hoos ku qoran.
Xus marka aad daabacayso: Khariidad sababeed: True Causes, https://truecauses.org/d/6708d57
SU’AASHA

Why does the same outage keep recurring?

Soo jeedi waxa la sameeyo, kadibna go’aami in waxqabad kastaa dhaqaajin lahaa xidid kasta.

La shaabadeeyey 69 maalmood ka hor: qolkani mar dambe ma oga cidda fadhiday; hagihiisa oo keliya ayaa weli la magacaabaa. Wixii uu ku soo gabagabeeyey wuu sii jiraa.
30 miiska fadhiya (29 la jilay) · 3 waxqabad ayaa loo soo jeediyey 6 sabab asal ah. Mid ku dar, kadibna go’aami in waxqabad kastaa dhaqaajinayo sabab kasta.
Waxaad u daawanaysaa marti ahaan. Geli magac isticmaale si aad ugu biirto oo uga qayb qaadato.
Marka hore dhibco sii xididdada
sababta
Dhaqanka habka laftiisa, ka hor inta aan waxqabad la soo jeedin: sabab asal ah kasta waxaa la siiyaa dhibco 1–5 oo ku saabsan inta ay suurtagal tahay in wax laga qabto, inta saameyn ay yeelan lahayd wax ka qabashadeedu, iyo inta ay u badan tahay inay iskeed u xallismayso iyadoon wax la samayn. Mudnaanta waxaa la siiyaa xididdada saameynta sare leh, suurtagalnimada sare iyo fursadda yar ee ay iskood u xallismaan — mudnaan = saameyn + suurtagal − iskeed u xallismid. Dhibcaha waa la celceliyaa kooxda oo dhan, waxaana lala muujiyaa inta dhibco bixisay.
1 = hoose, 5 = sare. Dhibcahaaga; celceliska kooxda ayaa agtooda ah.
sabab asal ahsuurtagalsaameyniskeed u xallismaysamudnaan
The service map in the wiki is two years old––––
One engineer knows how the payment path actually works––––
Feature flags are never cleaned up, so nobody knows which paths are live––––
The on-call rota has the same two people on it most weeks––––
Rollbacks take longer than the outage they are meant to end––––
Alerts fire so often that on-call mutes them––––
Waxqabad kastaa ma dhaqaajin lahaa sabab asal ah kasta?
Dhinaca hoos u socda: waxqabadyada dadku soo jeediyeen. Korka dhinac u socda: sababaha asalka ah ee khariidaddu heshay. Labajibbaaran kastaa waa hal cod oo ku saabsan hal su’aal — waxqabadkani si weyn ma u yareyn lahaa sababtaas? Hal dhinac waa inuu gaaro 75% codadka la dhiibtay si loo go’aamiyo; haddii taas la gaari waayo labajibbaaranku wuu kala qaybsanaanayaa. Labajibbaaran kastaa wuxuu muujiyaa sida codadkiisu u dhaceen — haa / ka sii xun / maya — labajibbaarana waa la go’aamiyaa marka mid ka mid ahi gaaro saddex rubuc.
sababta
Waxaa looga jawaabay 75% codadka la dhiibtay, sida su’aal kasta oo kale oo halkan ah. Kala qaybsan macnaheedu waa in dadku codeeyeen, dhinacna uusan gaarin heerkaas — waa natiijo, ee ma aha saf, wayna kala qaybsanaanaysaa ilaa dad ku filan ay ra’yigooda beddelaan. Labajibbaaran aan cidna go’aamin wuxuu ahaanayaa mid aan la go’aamin; weligiis isuma beddelo maya. Lammaane kasta oo si gooni ah loo qiimeeyo ayaa ka hortaga in waxqabad caan ah lagu ammaano xallinta waxyaabo uusan taabanin.
WAXQABADSABABAHA ASALKA AH · waxqabadka bidixda ku yaal ma yareeyaa?
The service map in the wiki is two years oldOne engineer knows how the payment path actually worksFeature flags are never cleaned up, so nobody knows which paths are liveThe on-call rota has the same two people on it most weeksRollbacks take longer than the outage they are meant to endAlerts fire so often that on-call mutes them
No production deploy after 14:00 on Fridays unless the on-call engineer agrees ka dood✗ maya, ma yareeyo
3 haa / 0 ka sii xun / 26 maya
⚑ kooxdu way kala qaybsantay
21 haa / 0 ka sii xun / 8 maya
weli lama go’aamin
weli lama go’aamin
weli lama go’aamin
weli lama go’aamin
Give the shared schema one named owner and a migration tool with rollback ka dood✗ maya, ma yareeyo
6 haa / 0 ka sii xun / 23 maya
✓ haa, wuu yareeyaa tan
24 haa / 0 ka sii xun / 5 maya
weli lama go’aamin
weli lama go’aamin
weli lama go’aamin
weli lama go’aamin
Reserve one engineer-week per sprint for post-mortem actions, first in the sprint, not last ka dood✗ maya, ma yareeyo
4 haa / 0 ka sii xun / 25 maya
✗ maya, ma yareeyo
3 haa / 0 ka sii xun / 26 maya
weli lama go’aamin
weli lama go’aamin
weli lama go’aamin
weli lama go’aamin
Saameynta ugu badan ilaa hadda
Give the shared schema one named owner and a migration tool with rollback wuxuu yareeyaa 1 ka mid ah 6 sabab asal ah
WAXQABADYADA KHARIIDADDA SAARAN
Waxaa la muujinayaa waxqabad kasta oo qolku qiimeeyey: 1 ka mid ah 6 sabab asal ah ayaa si toos ah loo saameeyaa. Si toos ah uma saameeyo 5.
Waxaa laga akhriyey labajibbaaranada qolku ku go’aamiyey Waxqabadyada, waxba kale. Xidid cagaar ah waxaa yareeya ugu yaraan hal ka mid ah waxqabadyada la muujiyey; mid cawl ah, midkoodna si toos ah uma saameeyo; xarriiq cas oo ku wareegsan macnaheedu waa mid ka mid ah ayaa sii xumeeya.
The same three services cause most of the pages → The staging environment does not resemble productionFeature work always outranks reliability work in planning → Post-mortem actions are written up and then never scheduledRollbacks take longer than the outage they are meant to end → Reliability has no budget line of its ownEvery team has its own logging format → Customers report outages before monitoring doesReliability has no budget line of its own → The incident channel fills with people asking for status instead of giving itReliability has no budget line of its own → The staging environment does not resemble productionPost-mortems assign actions to people who were not in the room → Post-mortem actions are written up and then never scheduledTests that fail intermittently are retried until green → Customers report outages before monitoring doesRetries are unbounded, so a slow dependency becomes a flood → The same three services cause most of the pagesAlerts fire so often that on-call mutes them → Every team has its own logging formatThe on-call rota has the same two people on it most weeks → Post-mortem actions are written up and then never scheduledThe on-call rota has the same two people on it most weeks → Alerts fire so often that on-call mutes themFeature flags are never cleaned up, so nobody knows which paths are live → The same three services cause most of the pagesFeature flags are never cleaned up, so nobody knows which paths are live → Rollbacks take longer than the outage they are meant to endOne engineer knows how the payment path actually works → The on-call rota has the same two people on it most weeksThe service map in the wiki is two years old → Feature flags are never cleaned up, so nobody knows which paths are liveFeature work always outranks reliability work in planningFeature work alwaysoutranks reliability workin planningPost-mortems assign actions to people who were not in the roomPost-mortems assign actionsto people who were not inthe roomTests that fail intermittently are retried until greenTests that failintermittently are retrieduntil greenRetries are unbounded, so a slow dependency becomes a floodRetries are unbounded, so aslow dependency becomes afloodOne engineer knows how the payment path actually works ② Give the shared schema one named owner and a migration tool with rollbackOne engineer knows how thepayment path actually works②waxa waxqabadyada la muujiyey ku sameeyaan sababtan asalka ahWAXAA YAREEYA 1 WAXQABADThe service map in the wiki is two years oldThe service map in the wikiis two years oldwaxa waxqabadyada la muujiyey ku sameeyaan sababtan asalka ahMA JIRO WAXQABAD TOOS USAAMEEYAFeature flags are never cleaned up, so nobody knows which paths are liveFeature flags are nevercleaned up, so nobody knowswhich paths are livewaxa waxqabadyada la muujiyey ku sameeyaan sababtan asalka ahMA JIRO WAXQABAD TOOS USAAMEEYAThe on-call rota has the same two people on it most weeksThe on-call rota has thesame two people on it mostweekswaxa waxqabadyada la muujiyey ku sameeyaan sababtan asalka ahMA JIRO WAXQABAD TOOS USAAMEEYARollbacks take longer than the outage they are meant to endRollbacks take longer thanthe outage they are meantto endwaxa waxqabadyada la muujiyey ku sameeyaan sababtan asalka ahMA JIRO WAXQABAD TOOS USAAMEEYAAlerts fire so often that on-call mutes themAlerts fire so often thaton-call mutes themwaxa waxqabadyada la muujiyey ku sameeyaan sababtan asalka ahMA JIRO WAXQABAD TOOS USAAMEEYAThe same three services cause most of the pagesThe same three servicescause most of the pagesPost-mortem actions are written up and then never scheduledPost-mortem actions arewritten up and then neverscheduledReliability has no budget line of its ownReliability has no budgetline of its ownEvery team has its own logging formatEvery team has its ownlogging formatThe incident channel fills with people asking for status instead of giving itThe incident channel fillswith people asking forstatus instead of giving itThe staging environment does not resemble productionThe staging environmentdoes not resembleproductionCustomers report outages before monitoring doesCustomers report outagesbefore monitoring does
Lambar kasta oo khariidadda saaran wuxuu calaamadeeyaa sabab asal ah oo waxqabadkaasi yareeyo.
① No production deploy after 14:00 on Fridays unless the on-call engineer agrees
② Give the shared schema one named owner and a migration tool with rollback
③ Reserve one engineer-week per sprint for post-mortem actions, first in the sprint, not last
Waxa aan filayno inuu ka dhasho
Saadaasha ku saabsan waxqabadyada: waxa mid kastaa beddeli lahaa, sida loo cabbiro, iyo goorta la hubiyo. Taariikhda, qof qolka ku jiray ayaa agteeda ku qora waxa dhab ahaan dhacay.
sababta
Khariidaddu waxay sheegtaa waxqabadyada dhaqaajiya sababaha. Ma sheegto in cid samaysay, ama in wax isbeddelay. Qoraal halkan ku jira waa saadaal leh taariikh iyo wax la cabbiro, oo la qoray markii khariidaddu degtay kadib. Marka taariikhdu timaado, waxa dhab ahaan dhacay waxaa lagu qoraa agteeda, saadaashuna sidii ay ahayd ayay ahaanaysaa: mid khaldan ayaa ah nooca faa’iidada leh. Cidna kuma codayn waxyaalahan, waxna kama beddelayaan waxa qolku helay.
waqtigu waa 23 Jannaayo 2027
waxqabadNo production deploy after 14:00 on Fridays unless the on-call engineer agrees
waxaan filaynaathe same cause stops coming back once fixing it is in the sprint
waxaa lagu cabbirayrepeat outages with the same cause, per quarter
qiyaasyoqolka: 3 (dhexdhexaadka 15, laga bilaabo 1 ilaa 6)
MAXAA XIGA
Waxa qolkani helay waa xogta laga bilaabo nooc kale oo khariidad ah. Wareeg kasta oo hoos ku qoran wuxuu u furmayaa qol cusub oo isla dadkii ah, horay loo oggolaaday, waxa la soo gudbiyeyna darbigiisa ayay saaran yihiin ama ag yaallaan. Wareeggu wuu ka dhakhso badan yahay qolka ugu horreeya: cidna kuma soo biirto, su’aasha waa la qaabeeyey, kaararka la soo gudbiyey horay ayaa loo sharraxay, marxalad aan wax u harinna isla markiiba waa la xiraa. Wareeg waxaa ku xigi kara mid kale.
Waxqabadyo · sababaha asalka ah waa waxa waxqabadyada lagu qiimeeyo; waxqabadyo dhaqaajiyey mid horay ayay darbiga u saaran yihiin
Maxaan ka samaynaa sababaha asalka ah ee la helay, maxaase marka hore?
Hagaha qolka ayaa fura wareegga xiga; kursigaagu wuu kula gudbayaa.