loopworkflow

package
v0.175.0-rc.235 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2026 License: Apache-2.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package loopworkflow is a scratch GitHub and Git origin that exercises a real beekeeper binary across the loop, parser and merge boundary: the integration tests drive every scenario, and a recovery controller's probe drives one on an idle desk. Nothing here touches a real desk, account or network.

Index

Constants

View Source
const (
	// ProbeTimeout bounds one probe: a candidate's and its control's fit a
	// controller's minute between evaluations.
	ProbeTimeout = 25 * time.Second
)

Variables

View Source
var ErrInconclusive = errors.New("probe inconclusive")

ErrInconclusive marks a probe that says nothing about the candidate: the fixture could not be built here (no git, a full disk). A failed candidate is every other error.

Functions

func Probe

func Probe(parentCtx context.Context, binary, server, scratch string) error

Probe drives the candidate at binary through a reviewed pull request of a scratch origin: real loop passes, parser, merge validation and gate, with a fixture GitHub only. server is the executable that plays that GitHub, a binary that calls Serve first; the candidate's own bytes never judge themselves. It needs no backlog, account or network, and leaves nothing behind in scratch. Nil means the merge is proven in the origin.

func Serve

func Serve() (int, bool)

Serve runs this process as the fixture's GitHub CLI or Git wrapper and returns its exit code. Only a process started by that name inside a fixture is one.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL