sweep

package
v0.2.16 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2026 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package sweep is the continuation-store janitor: a single periodic background pass that fails abandoned/expired runs, fails runs whose resumer crashed mid-resume, and purges long-dead runs. It only ever reads the store and writes create-if-absent terminal docs (FailRun) or deletes whole finished runs (PurgeRun) — it never re-enters the processor and never mutates a live run.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SweeperController

type SweeperController struct {
	// contains filtered or unexported fields
}

func NewController

func NewController(ctx context.Context, pu *processor.Unit) *SweeperController

func (*SweeperController) Start

func (sc *SweeperController) Start()

func (*SweeperController) Stop

func (sc *SweeperController) Stop()

Jump to

Keyboard shortcuts

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