In a Representative Line article dated 2026-09-29, Remy Porter describes a flaky CI/CD build on Nikolai M's team. One test failed in roughly 0.5% of runs. That was frequent enough to be annoying, but not frequent enough to prompt management to assign an investigation. Nikolai eventually examined the failure himself.
Assert.DoesNotContain("000", transactionId.ToString());The test called Assert.DoesNotContain("000", transactionId.ToString()). The transactionId value was a GUID. The assertion tried to identify an empty UUID by assuming that three consecutive zeroes could not appear in a normal string representation. Nikolai measured the assumption and found the sequence in 0.5527% of cases, or about one in 181.
The article notes that Microsoft's GUID implementation is documented as a wrapper around UUID algorithms and supports several UUID variants. Its practical recommendation is to compare the value with GUID.Empty, the built-in constant representing a UUID with every bit set to zero. An explicit empty-GUID check expresses the intended test directly.




Comments
No comments yet — be the first.
Open the discussion
No account or password needed — just enter your e-mail and we’ll send you a one-time sign-in link. First time here? You’re set up automatically.
Your rating will be applied automatically after you sign in.
Check your inbox
We’ve sent a sign-in link to …. Open it on this device — this tab will sign you in automatically.
Nothing arrived? Check your spam folder — and mark the mail as "Not spam" so it lands in your inbox next time.