{"version":"2.1.229","anchor":"background-session-credentials-are-handed-back-to-the-creden","canonical_anchor":"background-session-credentials-are-handed-back-to-the-creden","heading":"Background session credentials are handed back to the credential store","tier":"internal","area":"Auth","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.229\/e\/background-session-credentials-are-handed-back-to-the-creden","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.229","markdown":"### Background session credentials are handed back to the credential store\n\nBackground sessions now return spent credential files to the credential store instead of deleting them.\n\n**What**\n\nCleanup for background and daemon sessions now asks the credential store to discard a spent credential file rather than deleting it directly, falling back to a plain unlink only when no store is present.\n\n**Details**\n\n- Applies in worker teardown, dispatch cleanup, and the session-record removal path.\n\n**Evidence**\n\n`discardSpentCredentialFile`\n\n- Area: Auth\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5"}