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

terminalcost

package
v1.19.1 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: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TerminalCost

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

TerminalCost bounds what a completed workflow costs to poke: every call a completed instance can still receive in bulk must be answered without reading its whole history from the store each time. Those reads run one after another under the actor lock, so their cost grows with the history and the number of calls, and the client's completion wait queues behind them.

It runs one daprd with WorkflowsFastPath off (the fast path arms no per-result wake-ups) on a fault store that counts and slows full loads. Signing follows the env.

func New

func New(t *testing.T) *TerminalCost

func (*TerminalCost) Cleanup

func (c *TerminalCost) Cleanup(t *testing.T)

func (*TerminalCost) Execute

func (c *TerminalCost) Execute(t *testing.T, ctx context.Context)

Execute runs every check, each as a subtest.

func (*TerminalCost) Run

func (c *TerminalCost) Run(t *testing.T, ctx context.Context)

Jump to

Keyboard shortcuts

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