mirror of
https://github.com/dotnet/skills.git
synced 2026-09-20 09:49:54 +08:00
e1ce2fe131
The publish-session-data job shallow-clones the multi-GB dashboard-session-data branch and stages the run's session logs, which purge-replay-sessions.ps1 copies through a temp dir (transiently ~2-3x the data). On a valid-token run that produces real trajectory logs, this can exhaust the runner disk (System.IO.IOException: No space left on device), which previously only surfaced when a run happened to draw a working Copilot token and generate real session data. Add a first-step disk reclaim (removing ~20GB of preinstalled tooling the job never uses) plus df -h logging to publish-session-data and publish-eval-data. Neither job runs dotnet build and pwsh 7 lives under /opt/microsoft, so removing /usr/share/dotnet et al. is safe. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>