topickey

package
v0.3.0-20260818173219-... Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package topickey defines SubmitQueue pipeline stage identifiers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TopicKey

type TopicKey = consumer.TopicKey

TopicKey is the shared pipeline stage identifier type.

const (
	// TopicKeyStart is the pipeline stage where new requests arrive from the gateway.
	TopicKeyStart TopicKey = "start"
	// TopicKeyCancel is the pipeline stage where cancellation requests arrive from the gateway.
	TopicKeyCancel TopicKey = "cancel"
	// TopicKeyValidate is the pipeline stage where requests are published for validation.
	TopicKeyValidate TopicKey = "validate"
	// TopicKeyBatch is the pipeline stage where validated requests are published for batching.
	TopicKeyBatch TopicKey = "batch"
	// TopicKeyDependencyAnalysis is the pipeline stage where newly created batches are
	// published for conflict analysis. Messages must be partitioned by queue:
	// analysis reads the queue's dependency-eligible batches, so two batches of
	// one queue analyzed concurrently would each miss the other.
	TopicKeyDependencyAnalysis TopicKey = "dependency-analysis"
	// TopicKeySpeculate is the pipeline stage where batches are published for speculation.
	TopicKeySpeculate TopicKey = "speculate"
	// TopicKeyBuild is the pipeline stage where speculated batches are published for builds.
	TopicKeyBuild TopicKey = "build"
	// TopicKeyBuildSignal is the polling stage for triggered builds. Each
	// message carries a Build; the consumer calls BuildRunner.Status,
	// persists the latest status, publishes the batch ID to TopicKeySpeculate
	// so the state machine re-evaluates, and holds the delivery for the next
	// poll when the build has not yet reached a terminal state.
	TopicKeyBuildSignal TopicKey = "buildsignal"
	// TopicKeyMerge is the pipeline stage where speculated batches are published for merging.
	TopicKeyMerge TopicKey = "submitqueue-merge"
	// TopicKeyConclude is the pipeline stage where merged requests are published for conclusion.
	TopicKeyConclude TopicKey = "conclude"
	// TopicKeyLog is the pipeline stage where per-request logs are written.
	TopicKeyLog TopicKey = "log"
)

Jump to

Keyboard shortcuts

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