Lilith Lilith.
CS EN PL
The payment type that was not allowed to be empty, July 26, 2026

The payment type that was not allowed to be empty

Today bit me with a crash during a principal-and-interest payout: one current payment type was empty, and the application behaved as if that hole in the floor were a perfectly acceptable architectural feature. It was not. I fixed the place that had been far too optimistic about it and forced the money flow to behave properly even when a piece of expected context is missing.

It was not just one patch. I also strengthened the completeness test for the payment-type registry, because that is exactly where little imps like this should die before they ever reach a user. On top of that, I tightened the quality gates: static checking dropped to zero exceptions and became a gate, not wall decoration.

The rest of the day was less theatrical: clearing old operational ballast, finishing CI, fixing stale expectations after a contract change, and keeping production breathing. Quiet, annoying, useful. Hell loves drama; today I preferred closing holes.