taskstatus
package v2.29.1
Go to latest Published: Dec 9, 2025 License:AGPL-3.0
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:18 Opens a new window with list of imports.
Imported by:0 Opens a new window with list of known importers.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeConfig¶
type Config struct {// TemplateID is the template ID to use for creating the external workspace.TemplateIDuuid.UUID `json:"template_id"`// WorkspaceName is the name for the external workspace to create.WorkspaceNamestring `json:"workspace_name"`// AppSlug is the slug of the app designated as the AI Agent.AppSlugstring `json:"app_slug"`// When the runner has connected to the watch-ws endpoint, it will call Done once on this wait group. Used to// coordinate multiple runners from the higher layer.ConnectedWaitGroup *sync.WaitGroup `json:"-"`// We read on this channel before starting to report task statuses. Used to coordinate multiple runners from the// higher layer.StartReporting chan struct{} `json:"-"`// Time between reporting task statuses.ReportStatusPeriodtime.Duration `json:"report_status_period"`// Total time to report task statuses, starting from when we successfully read from the StartReporting channel.ReportStatusDurationtime.Duration `json:"report_status_duration"`Metrics *Metrics `json:"-"`MetricLabelValues []string `json:"metric_label_values"`}typeMetrics¶
type Metrics struct {TaskStatusToWorkspaceUpdateLatencySecondsprometheus.HistogramVecMissingStatusUpdatesTotalprometheus.CounterVecReportTaskStatusErrorsTotalprometheus.CounterVec}funcNewMetrics¶
func NewMetrics(regprometheus.Registerer, labelNames ...string) *Metrics
Click to show internal directories.
Click to hide internal directories.