Help us shape the future of Go! Take the 2026 Go Developer Survey

tracker

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package tracker folds bus facts into DataStore run/resource/checkpoint state.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecoverInterrupted added in v0.32.0

func RecoverInterrupted(ctx context.Context, store filament.DataStore) error

RecoverInterrupted folds a failure for unfinished local runs after the previous CLI process has exited. The caller must hold the local run lock, which proves no other CLI process is executing these runs.

Types

type Module

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

Module consumes every ingestion fact and persists the derived run state.

func New

func New() *Module

New returns an unmounted tracker. Providers are injected by Mount.

func (*Module) Mount

func (m *Module) Mount(_ context.Context, d module.Deps) error

Mount captures the providers this module uses. Cheap, no I/O.

func (*Module) Name

func (m *Module) Name() string

Name identifies this module.

func (*Module) Subscriptions

func (m *Module) Subscriptions() []host.Subscription

Subscriptions declares one durable consumer over the whole versioned namespace, so the tracker sees every fact and survives restarts (resuming where it left off).

Jump to

Keyboard shortcuts

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