
Yurumi: the suite that died far from the guilty test
Seven tests failed and pytest aborted the whole run with a WindowsPath error. The cause was a monkeypatch on os.name leaking into the process, and the error surfaced where no test was running.
4 posts

Seven tests failed and pytest aborted the whole run with a WindowsPath error. The cause was a monkeypatch on os.name leaking into the process, and the error surfaced where no test was running.

The Capivara hub measured 35 systemd units and dozens of containers — all Linux. When the second machine in the house (Douglas, Windows) joined the inventory, the probe didn't fit: no systemd, no Docker. The answer was SSH with -EncodedCommand, isolated JSON, and an honest verdict: unreachable host becomes unknown, never crit. 88 tests.

A file called NUL, a router called aux.py and a symlink that only exists on Linux: three files that slipped into Dogwalk without resistance and broke git status on every NTFS clone. The root cause is almost always the same — .gitignore does not override a file that is already tracked.

Local services hanging intermittently: Qdrant on port 6333, helper APIs — everything pointing to 'localhost'. On Windows, 'localhost' resolves to IPv6 (::1) first — and the connection hangs. '127.0.0.1' forces IPv4 and works. Confirmed 88 times until it became a rule: always use 127.0.0.1.