{
  "id": 6368114,
  "title": "The bug that only existed on the platform nobody was looking at",
  "url": "https://urgent.news/2026/09/09/the-bug-that-only-existed-on-the-platform-nobody-was-looking-at",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-09T02:14:44.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/arcticfoxz_255bbe944bc015/the-bug-that-only-existed-on-the-platform-nobody-was-looking-at-2bpl"
  },
  "original_language": "en",
  "account": "The bug that only existed on the platform nobody was looking at involved four defects discovered in a Python tool after it had already shipped. These issues were related to how the tool handled file paths, carriage returns, and Windows-specific syntax. The first issue involved a guard that compared resolved paths to unresolved ones, which caused the tool to refuse reading files from symlinks outside the repository on Windows due to differences in how Windows handles file paths compared to POSIX systems. The second issue was related to carriage returns that were not canonicalised on Windows, causing the tool to reject valid arguments and fail to stage files properly. The third issue involved an instruction for creating a new Windows user that did not work when pasted, as it used the wrong syntax for the Windows environment. The fourth issue was related to a symlink loop that caused the Path.resolve() method to raise an exception in Python 3.13 but silently truncate the entry in earlier versions, leading to inconsistent behaviour across Python versions. The author discovered these issues through a Python tool with a large regression suite running on multiple platforms, which allowed them to identify and fix the bugs by asserting on the artifact, rather than the source that produced it.",
  "summary": "I ship a Python tool with a regression suite of several thousand checks and CI on ubuntu, macOS and Windows at Python 3.8 and 3.13. Yesterday all five jobs were green. Today those same jobs turned up four defects that had already shipped. None of them errored. Each was a rule that was true on the machine it was written on. 1. A guard that compared a resolved path to an unresolved one The tool has…",
  "key_points": [
    "Four defects discovered in Python tool after shipping",
    "Issues related to file paths, carriage returns, Windows syntax",
    "Bug discovered via large regression suite on multiple platforms"
  ],
  "editors_take": "The discovery of four defects in a Python tool through testing on a largely overlooked platform ensures consistent behaviour across Python versions and highlights the value of thorough regression testing.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}