{"version":"2.1.328","anchor":"self-hosted-runner-reclone-of-a-drained-directory","canonical_anchor":"self-hosted-runner-reclone-of-a-drained-directory","heading":"Self-hosted runners clear a leftover folder before cloning a session again","tier":"notice","area":"Self-Hosted Runner","scope":"org","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/self-hosted-runner-reclone-of-a-drained-directory","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Self-hosted runners clear a leftover folder before cloning a session again\n\nSelf-hosted runners now move aside or delete an existing folder before cloning a session again, and refuse to clone if it cannot be moved\n\n**What**\n\nA self-hosted runner is a machine you run yourself that hosts Claude Code sessions. Before cloning a session's code again, the runner now moves aside or deletes a folder already at that location. It logs `[runner:session]` or `[runner:warn]` lines while doing this. If the folder could not be moved aside, the session is not cloned anew.\n\n**Why**\n\nThis affects how self-hosted runners deal with a copy of the code left over from an earlier session.\n\n- Area: Self-Hosted Runner\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: org\n- Heads-up: yes"}