Versions in this module Expand all Collapse all v0 v0.0.7 Oct 27, 2026 v0.0.6 Oct 16, 2026 v0.0.5 Oct 12, 2026 Changes in this version + const EnvHandoff + const HandoffFormat + const MaxHandoffAge + const ProbeTimeout + const Supported + var ErrSameBinary = errors.New("the path still holds the binary this run is executing") + func Behind(run, ref Build) (n int, ok bool) + func BehindPhrase(run, ref Build, what string) string + func Exec(c *Candidate, argv, env []string) error + func HandoffPath(cloopDir string, pid int) string + func Hostname() string + func Judge(self, cand Build, dbSchema int) error + func RestoreComm(path string) + func Running(id Ident) (running, known bool) + func StartPath() (string, error) + func WriteHandoff(path string, h Handoff) error + type Build struct + Commit string + Schema int + Sequence int + Version string + func ParseReport(raw []byte) (Build, error) + func Self(schema int) Build + func (b Build) IsZero() bool + func (b Build) Label() string + func (b Build) Short() string + type Candidate struct + Path string + func Open(path string) (*Candidate, error) + func (c *Candidate) CheckArgs(ctx context.Context, timeout time.Duration, args []string) error + func (c *Candidate) Close() error + func (c *Candidate) Fd() uintptr + func (c *Candidate) ID() FileID + func (c *Candidate) InstalledAt() time.Time + func (c *Candidate) Probe(ctx context.Context, timeout time.Duration) (Build, error) + type Child struct + Comm string + PID int + func LiveChildren() ([]Child, error) + func (c Child) String() string + type FileID struct + Dev uint64 + Ino uint64 + MTime int64 + Size int64 + func FileIDOf(info os.FileInfo) FileID + type Handoff struct + ConsecutiveEmptyEvolves int + ConsecutiveErrors int + Deadline time.Time + EvolveStep int + Exe string + Format int + From Build + Parallel bool + PauseReason json.RawMessage + ProcessStart time.Time + Reason string + Reexecs int + RequestID string + RequestedBy string + Run Ident + RunID string + SessionStart time.Time + SessionStartStep int + Status string + To Build + WrittenAt time.Time + func TakeHandoff(path string, self Ident, now time.Time) (*Handoff, error) + type Ident struct + BootID string + PID int + StartTicks uint64 + func IdentOf(pid int) (id Ident, alive bool, err error) + func SelfIdent() (Ident, error) + func (a Ident) Same(b Ident) bool + type Owner struct + Adoptable bool + Build Build + BuildSince time.Time + Exe string + Executor string + Host string + Previous *Build + Reexecs int + RunID string + StartedAt time.Time + func (o *Owner) Clone() *Owner + func (o *Owner) Live() (live, known bool) + type Request struct + Hub Build + ID string + RequestedAt time.Time + RequestedBy string + Run Ident + func (r *Request) Clone() *Request + func (r *Request) For(id Ident) bool + type Status struct + Adoptable bool + Behind int + Build Build + Comparable bool + Executor string + Live bool + LiveKnown bool + PID int + Previous *Build + Reexecs int + Reference Build + Since time.Time + StartedAt time.Time + func Assess(o *Owner, ref Build) *Status