{"version":"2.1.274","anchor":"staged-file-list-credential-fetch-hardened-against-reuse-and","canonical_anchor":"staged-file-list-credential-fetch-hardened-against-reuse-and","heading":"Staged file-list credential fetch hardened against reuse and cancellation","tier":"internal","area":"Sessions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.274\/e\/staged-file-list-credential-fetch-hardened-against-reuse-and","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.274","markdown":"### Staged file-list credential fetch hardened against reuse and cancellation\n\nStaged file-list credential handling now blocks reuse and cancellation of the fetch\n\n**What**\n\nThe internal worker code that fetches the list of staged files and parses the credentials for it was hardened. The fetch can now be cancelled with an `AbortSignal` (a standard way to stop an in-progress operation), and the credential-parsing step is wrapped by a single-use guard: if it is somehow triggered a second time, it fails immediately with the error `read failed: credential expired` instead of proceeding.\n\n**Why**\n\nThis closes off a case where stale or reused credentials could be parsed twice, which could otherwise lead to confusing failures or wasted work. It also lets this internal fetch be cancelled cleanly if it's no longer needed.\n\n- Area: Sessions\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}