_diag/ (diagnostics) and _work/ (workflow workspace). This guide helps you troubleshoot connectivity, inspect logs, and debug live jobs.
Table of Contents
- Starting the Runner
- Diagnostic Directory (
_diag/) - Workflow Workspace (
_work/) - Running a Long-Running Workflow
- Inspecting Pipeline Mapping
- Exploring the
_tempFolder - Runner File Commands
- Live Diagnostics
- Cleanup and Termination
1. Starting the Runner
Launch the runner process in one shell:2. Diagnostic Directory (_diag/)
This folder contains runner and worker logs:
Check
pages/ for connectivity, authentication, or execution errors.3. Workflow Workspace (_work/)
Populated when jobs run, this directory includes repository checkouts, temp scripts, and tools:
4. Running a Long-Running Workflow
To inspect_work/ mid-run, add a sleep in your workflow:
_work/ again:
5. Inspecting Pipeline Mapping
PipelineFolder.json maps repo metadata to local paths:
6. Exploring the _temp Folder
Each step’s commands and metadata live here:
7. Runner File Commands
Actions communicate with the runner via file commands stored under_runner_file_commands:
::add-path::… and ::set-env::….