Package-level declarations
Types
Finds the failing run of the checkout and a passing run of the same workflow, reads the runner environment of the same job in both through the provider's tool, and diagnoses the pair with the same ranking, plan and case that drift diagnose --case writes.
Reads runs, jobs and logs through a provider's own command line tool, so its login does the authentication. Every method throws CiStop when the tool cannot answer.
What drift ci compared and found; dir is where the case and the capsules were written.
Every field is optional: with none set, the failing run of the current branch is used.
One CI run: a GitHub Actions run or a GitLab pipeline. title names it for the user, workflow says what kind of run it is and workflowKey is what two runs of one workflow share.
What CiCheck.fetch read: the failing run, a passing run if any, and their job logs.
GitHub Actions through gh; GH_HOST and gh auth login decide the server and the login.
GitLab pipelines through glab api; GITLAB_HOST and glab auth login decide the server.