{"version":"2.1.280","anchor":"background-task-output-tracking-handles-unlinked-files-as-g","canonical_anchor":"background-task-output-tracking-handles-unlinked-files-as-g","heading":"Background task output tracking handles unlinked files as 'gone'","tier":"internal","area":"Background Tasks","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280\/e\/background-task-output-tracking-handles-unlinked-files-as-g","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280","markdown":"### Background task output tracking handles unlinked files as 'gone'\n\nBackground task output tracking now detects deleted-but-open files and reports them as 'gone' instead of erroring\n\n**What**\n\nWhen reading output from a background task, the code checks whether the file it's reading is still the same file it started with. It now specifically detects the case where the file has been deleted (link count of zero) while still open by its file descriptor, and reports a new `gone` status for that case instead of treating it as a generic identity-mismatch error.\n\n**Why**\n\nThis gives a clearer, more accurate signal when a background task's output file has been deleted out from under it, rather than surfacing it as a confusing mismatch error.\n\n- Area: Background Tasks\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}