CiCheck

object CiCheck(source)

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.

Functions

Link copied to clipboard
fun fetch(host: Host, request: CiRequest, needPassing: Boolean = true): CiRuns

Finds the failing run and reads its job log into a Run. With needPassing false a checkout with no earlier passing run still answers, with CiRuns.passing null.

Link copied to clipboard
fun run(host: Host, files: CaseFiles, request: CiRequest): CiOutcome