Versions in this module Expand all Collapse all v0 v0.6.1 Jun 5, 2026 v0.6.0 Jun 4, 2026 Changes in this version + func EvaluateHealth(facts SubstrateFacts, opts Options) ([]Finding, HealthGrade) + func ResolveInvocationID(engine ExecutionEngine, identity RunnerIdentity) string + type ExecutionEngine string + const EngineForgejo + const EngineGitHub + const EngineGitLab + const EngineGitea + const EngineLocal + const EngineStageFreight + const EngineUnknown + func DetectEngine() ExecutionEngine + type ExecutionReport struct + Engine ExecutionEngine + Facts SubstrateFacts + Findings []Finding + Health HealthGrade + Identity RunnerIdentity + InvocationID string + func Run(rootDir string, opts Options) ExecutionReport + type Finding struct + Detail string + ID string + Severity string + Status string + type HealthGrade string + const Degraded + const Healthy + const Unhealthy + type Options struct + DiskFailMB int64 + DiskWarnMB int64 + DockerRequired bool + IsCrucible bool + MemWarnMB int64 + type RunnerIdentity struct + Controller string + JobID string + Name string + PipelineID string + Satellite string + Workflow string + func ExtractIdentity(engine ExecutionEngine) RunnerIdentity + type SubstrateFacts struct + BuildKitAvailable bool + BuildxAvailable bool + CPULoadAvg1 float64 + DindDetected bool + DiskFreeMB int64 + DockerAvailable bool + DockerSocket string + InodePctFree int + MemAvailableMB int64 + StagefreightWritable bool + TmpFreeMB int64 + WorkdirReadable bool + func CollectFacts(rootDir string) SubstrateFacts