{"version":"2.1.227","anchor":"background-job-state-cache-rewritten-with-a-read-failure-pol","canonical_anchor":"background-job-state-cache-rewritten-with-a-read-failure-pol","heading":"Background job state cache rewritten with a read-failure policy","tier":"internal","area":"Sessions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.227\/e\/background-job-state-cache-rewritten-with-a-read-failure-pol","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.227","markdown":"### Background job state cache rewritten with a read-failure policy\n\nA broken job state file is rejected once instead of warning over and over.\n\n**What**\n\nThe cache of per-job state files gained a mode where a failed read returns nothing rather than the last known state, and a state file that is oversized or not a regular file is rejected once instead of warning repeatedly.\n\n**Details**\n\n- Modification-time keys, transient-error deduplication, prune reporting and sidecar-fallback logging moved from loose module-level maps into one object with named methods.\n- Callers pick the behaviour by asking for the null-on-failure mode.\n\n**Evidence**\n\n`shouldReportTransient`\n\n- Area: Sessions\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 1\/5"}