From fa8f16a1b6d1899c41c172d716b1901e559c2c1c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 14 Aug 2025 08:57:40 +0000 Subject: [PATCH 1/7] Initial plan From fa0f839bc3c61c6a7000173bb08518bf07eed951 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 14 Aug 2025 09:08:33 +0000 Subject: [PATCH 2/7] Add package documentation for core packages Co-authored-by: knopers8 <14327588+knopers8@users.noreply.github.com> --- apricot/apricot.go | 2 ++ apricot/cacheproxy/service.go | 2 ++ apricot/local/service.go | 2 ++ apricot/remote/service.go | 2 ++ coconut/app/constants.go | 2 ++ coconut/cmd/environment.go | 2 ++ common/event/topic/topic.go | 2 ++ common/event/writer.go | 2 ++ common/utils/utils.go | 2 ++ configuration/service.go | 2 ++ core/config.go | 2 ++ core/integration/plugin.go | 2 ++ 12 files changed, 24 insertions(+) diff --git a/apricot/apricot.go b/apricot/apricot.go index f4c33898d..e9a517984 100644 --- a/apricot/apricot.go +++ b/apricot/apricot.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package apricot implements the ALICE configuration service with templating, +// load balancing and caching capabilities on top of the configuration store. package apricot import ( diff --git a/apricot/cacheproxy/service.go b/apricot/cacheproxy/service.go index 05ea7aa94..78c2c1d92 100644 --- a/apricot/cacheproxy/service.go +++ b/apricot/cacheproxy/service.go @@ -1,3 +1,5 @@ +// Package cacheproxy provides a caching proxy implementation for the +// configuration service, optimizing detector inventory lookups. package cacheproxy import ( diff --git a/apricot/local/service.go b/apricot/local/service.go index 53e111529..f1d9c79eb 100644 --- a/apricot/local/service.go +++ b/apricot/local/service.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package local implements a local filesystem backend for the configuration +// service, providing file-based configuration storage and retrieval. package local import ( diff --git a/apricot/remote/service.go b/apricot/remote/service.go index 974e604e3..a470875dc 100644 --- a/apricot/remote/service.go +++ b/apricot/remote/service.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package remote implements a remote gRPC client backend for the configuration +// service, providing access to remote configuration stores. package remote import ( diff --git a/coconut/app/constants.go b/coconut/app/constants.go index e66f78d47..2f8338da9 100644 --- a/coconut/app/constants.go +++ b/coconut/app/constants.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package app provides application constants and metadata for the coconut +// command line interface and its components. package app const ( diff --git a/coconut/cmd/environment.go b/coconut/cmd/environment.go index f6dcc1f58..125e947b8 100644 --- a/coconut/cmd/environment.go +++ b/coconut/cmd/environment.go @@ -24,6 +24,8 @@ //go:generate protoc -I=../../core -I=../../common --go_out=.. --go_opt=paths=source_relative --go-grpc_opt=paths=source_relative --go-grpc_out=require_unimplemented_servers=false:.. protos/o2control.proto +// Package cmd implements the command line interface for coconut, providing +// various subcommands for managing O² Control environments and configurations. package cmd import ( diff --git a/common/event/topic/topic.go b/common/event/topic/topic.go index ae2e2d262..027292ac2 100644 --- a/common/event/topic/topic.go +++ b/common/event/topic/topic.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package topic defines topic constants and types for the event system, +// providing structured topic names for different event types. package topic type Topic string diff --git a/common/event/writer.go b/common/event/writer.go index 347c0a781..5883bf3ca 100644 --- a/common/event/writer.go +++ b/common/event/writer.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package event provides event publishing and streaming functionality for +// O² Control components, supporting both Kafka and in-memory event systems. package event import ( diff --git a/common/utils/utils.go b/common/utils/utils.go index c4702ea72..d04008ce9 100644 --- a/common/utils/utils.go +++ b/common/utils/utils.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package utils provides common utility functions for string manipulation, +// data conversion, and various helper operations used across O² Control components. package utils import ( diff --git a/configuration/service.go b/configuration/service.go index ac9be5b70..534cba725 100644 --- a/configuration/service.go +++ b/configuration/service.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package configuration provides interfaces and implementations for managing +// runtime configuration of O² Control components and detectors. package configuration import ( diff --git a/core/config.go b/core/config.go index 0f64cbac9..19e2b0b22 100644 --- a/core/config.go +++ b/core/config.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package core implements the main AliECS core functionality including +// the gRPC API server, environment management, and integration with various services. package core import ( diff --git a/core/integration/plugin.go b/core/integration/plugin.go index 2b4f73444..12bd01fbc 100644 --- a/core/integration/plugin.go +++ b/core/integration/plugin.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package integration provides the plugin system for integrating O² Control +// with external services like DCS, Bookkeeping, ODC, and other ALICE systems. package integration import ( From e09e45dfdb37a734b764c5b4bf00df5ef0861103 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 14 Aug 2025 09:18:40 +0000 Subject: [PATCH 3/7] Add package documentation for configuration, core, executor, and integration packages Co-authored-by: knopers8 <14327588+knopers8@users.noreply.github.com> --- common/golangmetrics/metrics.go | 2 ++ common/logger/infologger/protocols.go | 2 ++ common/monitoring/monitoring.go | 2 ++ common/product/constants.go | 2 ++ common/utils/safeacks/safeacks.go | 2 ++ common/utils/uid/uid.go | 2 ++ configuration/componentcfg/componentcfg.go | 2 ++ configuration/template/fields.go | 2 ++ core/integration/bookkeeping/utils.go | 2 ++ core/integration/ccdb/plugin.go | 2 ++ core/integration/dcs/client.go | 2 ++ core/integration/ddsched/client.go | 2 ++ core/integration/odc/client.go | 2 ++ core/integration/testplugin/plugin.go | 2 ++ core/integration/trg/trgutil.go | 2 ++ core/repos/sshrepo.go | 2 ++ core/repos/varsource/varsource.go | 2 ++ executor/executable/task_pdeathsig_darwin.go | 2 ++ executor/executorutil/executorutil.go | 2 ++ occ/peanut/peanut.go | 2 ++ 20 files changed, 40 insertions(+) diff --git a/common/golangmetrics/metrics.go b/common/golangmetrics/metrics.go index f1bcfabed..855faeed7 100644 --- a/common/golangmetrics/metrics.go +++ b/common/golangmetrics/metrics.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package golangmetrics provides Go runtime metrics collection and reporting +// functionality for monitoring system resource usage and performance. package golangmetrics import ( diff --git a/common/logger/infologger/protocols.go b/common/logger/infologger/protocols.go index cf640f4a6..0b0782052 100644 --- a/common/logger/infologger/protocols.go +++ b/common/logger/infologger/protocols.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package infologger provides InfoLogger protocol implementation for +// integration with the ALICE InfoLogger logging system. package infologger type protoVersion string diff --git a/common/monitoring/monitoring.go b/common/monitoring/monitoring.go index 47cf9dc2c..a5c7e909e 100644 --- a/common/monitoring/monitoring.go +++ b/common/monitoring/monitoring.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package monitoring provides monitoring and metrics collection functionality, +// including HTTP endpoints for health checks and metrics publishing. package monitoring import ( diff --git a/common/product/constants.go b/common/product/constants.go index 6f3c1f345..c6c981d3a 100644 --- a/common/product/constants.go +++ b/common/product/constants.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package product provides version information and build metadata for +// O² Control products and components. package product import ( diff --git a/common/utils/safeacks/safeacks.go b/common/utils/safeacks/safeacks.go index bace3f235..b3ff7f116 100644 --- a/common/utils/safeacks/safeacks.go +++ b/common/utils/safeacks/safeacks.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package safeacks provides thread-safe acknowledgment handling for managing +// communication between multiple senders and a single receiver. package safeacks import ( diff --git a/common/utils/uid/uid.go b/common/utils/uid/uid.go index 95aa79ee9..54ae17ed9 100644 --- a/common/utils/uid/uid.go +++ b/common/utils/uid/uid.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package uid provides unique identifier generation functionality, +// including machine-specific and time-based ID generation utilities. package uid import ( diff --git a/configuration/componentcfg/componentcfg.go b/configuration/componentcfg/componentcfg.go index ca7065e7c..082464d21 100644 --- a/configuration/componentcfg/componentcfg.go +++ b/configuration/componentcfg/componentcfg.go @@ -23,6 +23,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package componentcfg provides component configuration management functionality, +// including query handling and template processing for O² components. package componentcfg import ( diff --git a/configuration/template/fields.go b/configuration/template/fields.go index 3a0114fe8..43a0f8441 100644 --- a/configuration/template/fields.go +++ b/configuration/template/fields.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package template provides template processing functionality for configuration +// files, including custom field handling and template execution. package template import ( diff --git a/core/integration/bookkeeping/utils.go b/core/integration/bookkeeping/utils.go index 7813ed844..016c0513a 100644 --- a/core/integration/bookkeeping/utils.go +++ b/core/integration/bookkeeping/utils.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package bookkeeping provides integration with the ALICE Bookkeeping system +// for tracking runs and retrieving LHC fill information. package bookkeeping import ( diff --git a/core/integration/ccdb/plugin.go b/core/integration/ccdb/plugin.go index 5ab1d9aa2..b420e3be9 100644 --- a/core/integration/ccdb/plugin.go +++ b/core/integration/ccdb/plugin.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package ccdb provides integration with the Condition and Calibration Database (CCDB) +// for creating and managing General Run Parameters (GRP) objects. package ccdb import ( diff --git a/core/integration/dcs/client.go b/core/integration/dcs/client.go index 6a529bd59..7b07eb4d9 100644 --- a/core/integration/dcs/client.go +++ b/core/integration/dcs/client.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package dcs provides integration with the ALICE Detector Control System (DCS) +// for managing detector operations and state compatibility checks. package dcs import ( diff --git a/core/integration/ddsched/client.go b/core/integration/ddsched/client.go index a24b37365..66568162c 100644 --- a/core/integration/ddsched/client.go +++ b/core/integration/ddsched/client.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package ddsched provides integration with the Data Distribution (DD) scheduler +// for managing the pool of FLPs participating in data taking operations. package ddsched import ( diff --git a/core/integration/odc/client.go b/core/integration/odc/client.go index d8d15cabd..d6b75e7d1 100644 --- a/core/integration/odc/client.go +++ b/core/integration/odc/client.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package odc provides integration with the Online Device Control (ODC) system +// for managing the ALICE event processing farm during data taking and offline processing. package odc import ( diff --git a/core/integration/testplugin/plugin.go b/core/integration/testplugin/plugin.go index 19d96e810..fe545a247 100644 --- a/core/integration/testplugin/plugin.go +++ b/core/integration/testplugin/plugin.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package testplugin provides a test integration plugin that serves as an example +// and is used for testing the plugin system functionality. package testplugin import ( diff --git a/core/integration/trg/trgutil.go b/core/integration/trg/trgutil.go index dca8b9a3f..03bad8072 100644 --- a/core/integration/trg/trgutil.go +++ b/core/integration/trg/trgutil.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package trg provides integration with the ALICE trigger system +// for managing trigger configurations and run coordination. package trg import ( diff --git a/core/repos/sshrepo.go b/core/repos/sshrepo.go index 1ad7e0702..a47f3aaa5 100644 --- a/core/repos/sshrepo.go +++ b/core/repos/sshrepo.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package repos provides repository management functionality for accessing +// and synchronizing Git repositories containing workflow templates and configurations. package repos import ( diff --git a/core/repos/varsource/varsource.go b/core/repos/varsource/varsource.go index a7e3b85c1..8551ed739 100644 --- a/core/repos/varsource/varsource.go +++ b/core/repos/varsource/varsource.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package varsource provides variable source management functionality for +// tracking the origin and precedence of configuration variables in workflows. package varsource type Source int diff --git a/executor/executable/task_pdeathsig_darwin.go b/executor/executable/task_pdeathsig_darwin.go index 14bb68458..cc0390aac 100644 --- a/executor/executable/task_pdeathsig_darwin.go +++ b/executor/executable/task_pdeathsig_darwin.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package executable provides platform-specific executable management functionality +// for running and controlling tasks in the executor environment. package executable import "syscall" diff --git a/executor/executorutil/executorutil.go b/executor/executorutil/executorutil.go index 7b28cef29..5dbbb0961 100644 --- a/executor/executorutil/executorutil.go +++ b/executor/executorutil/executorutil.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package executorutil provides utility functions for the executor, +// including resource management and task execution helpers. package executorutil import ( diff --git a/occ/peanut/peanut.go b/occ/peanut/peanut.go index 8493ea11f..4e6f4d5f5 100644 --- a/occ/peanut/peanut.go +++ b/occ/peanut/peanut.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package peanut implements a process execution and control utility for +// OCClib-based O² processes, providing debugging and development support. package peanut import ( From 057c96aad91852af04e4682f8d94938e325b4722 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 14 Aug 2025 09:25:26 +0000 Subject: [PATCH 4/7] Complete package documentation for all remaining packages Co-authored-by: knopers8 <14327588+knopers8@users.noreply.github.com> --- core/task/channel/inbound.go | 2 ++ core/task/schedutil/mesosutil.go | 2 ++ core/task/sm/machine.go | 2 ++ core/task/taskclass/port/range.go | 2 ++ core/task/taskclass/resourcelimits.go | 2 ++ core/task/taskop/messagetype.go | 2 ++ core/the/eventwriter.go | 2 ++ core/workflow/callable/utils.go | 2 ++ executor/executorcmd/nopb/jsoncodec.go | 2 ++ executor/executorcmd/transitioner/direct.go | 2 ++ 10 files changed, 20 insertions(+) diff --git a/core/task/channel/inbound.go b/core/task/channel/inbound.go index 964678289..be02b58c1 100644 --- a/core/task/channel/inbound.go +++ b/core/task/channel/inbound.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package channel provides functionality for managing task communication channels, +// including inbound and outbound channel configuration and message routing. package channel import ( diff --git a/core/task/schedutil/mesosutil.go b/core/task/schedutil/mesosutil.go index a6bff6201..6db3d511b 100644 --- a/core/task/schedutil/mesosutil.go +++ b/core/task/schedutil/mesosutil.go @@ -25,6 +25,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package schedutil provides scheduler utility functions for Apache Mesos +// integration, including resource management and task scheduling helpers. package schedutil import ( diff --git a/core/task/sm/machine.go b/core/task/sm/machine.go index 7287714ef..81546c9c2 100644 --- a/core/task/sm/machine.go +++ b/core/task/sm/machine.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package sm provides state machine functionality for task lifecycle management, +// including state transitions and event handling. package sm type Transition struct { diff --git a/core/task/taskclass/port/range.go b/core/task/taskclass/port/range.go index 895ba97ae..caf335b23 100644 --- a/core/task/taskclass/port/range.go +++ b/core/task/taskclass/port/range.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package port provides port range management functionality for task +// communication, including port range parsing and validation. package port import ( diff --git a/core/task/taskclass/resourcelimits.go b/core/task/taskclass/resourcelimits.go index 5b62f84f2..dbfee9c36 100644 --- a/core/task/taskclass/resourcelimits.go +++ b/core/task/taskclass/resourcelimits.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package taskclass provides task class definitions and resource management +// for different types of tasks in the O² Control system. package taskclass import "strconv" diff --git a/core/task/taskop/messagetype.go b/core/task/taskop/messagetype.go index 92e97da06..fa2d18a46 100644 --- a/core/task/taskop/messagetype.go +++ b/core/task/taskop/messagetype.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package taskop provides task operation types and message handling functionality +// for controlling task lifecycle and communication. package taskop import ( diff --git a/core/the/eventwriter.go b/core/the/eventwriter.go index 064f025fc..bf7d76175 100644 --- a/core/the/eventwriter.go +++ b/core/the/eventwriter.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package the provides global event handling and state management for +// the core system, including event writers and system-wide notifications. package the import ( diff --git a/core/workflow/callable/utils.go b/core/workflow/callable/utils.go index df2eae902..02e579e2c 100644 --- a/core/workflow/callable/utils.go +++ b/core/workflow/callable/utils.go @@ -1,3 +1,5 @@ +// Package callable provides utility functions for workflow callable operations, +// including timeout handling and trigger expression parsing. package callable import ( diff --git a/executor/executorcmd/nopb/jsoncodec.go b/executor/executorcmd/nopb/jsoncodec.go index a6abbff16..b4c69c024 100644 --- a/executor/executorcmd/nopb/jsoncodec.go +++ b/executor/executorcmd/nopb/jsoncodec.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package nopb provides non-protobuf encoding functionality including +// JSON codec implementations for gRPC communication. package nopb import ( diff --git a/executor/executorcmd/transitioner/direct.go b/executor/executorcmd/transitioner/direct.go index 5d1d7c9a1..2359caa70 100644 --- a/executor/executorcmd/transitioner/direct.go +++ b/executor/executorcmd/transitioner/direct.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package transitioner provides transition management functionality for +// handling task state transitions with different transition strategies. package transitioner type Direct struct { From 9a2a33f6f9a3a9530221dd1103dc09be5e947af9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 14 Aug 2025 13:50:12 +0000 Subject: [PATCH 5/7] Initial plan for addressing PR review comments Co-authored-by: knopers8 <14327588+knopers8@users.noreply.github.com> --- go.mod | 7 +------ go.sum | 28 +--------------------------- 2 files changed, 2 insertions(+), 33 deletions(-) diff --git a/go.mod b/go.mod index 5cf831e29..a407656f9 100644 --- a/go.mod +++ b/go.mod @@ -21,7 +21,6 @@ replace github.com/imdario/mergo => github.com/imdario/mergo v0.3.16 replace github.com/armon/go-metrics => github.com/hashicorp/go-metrics v0.5.3 require ( - github.com/AlecAivazis/survey/v2 v2.3.7 github.com/Masterminds/goutils v1.1.1 // indirect github.com/Masterminds/semver v1.5.0 // indirect github.com/Masterminds/sprig v2.22.0+incompatible // indirect @@ -58,7 +57,6 @@ require ( github.com/spf13/viper v1.18.2 github.com/teo/logrus-prefixed-formatter v0.5.3-0.20230717095749-669d57324f0a github.com/valyala/fasttemplate v1.2.2 - github.com/xeipuuv/gojsonschema v1.2.0 github.com/xlab/treeprint v1.2.0 golang.org/x/crypto v0.36.0 golang.org/x/net v0.38.0 @@ -76,6 +74,7 @@ require ( github.com/gogo/protobuf v1.3.2 github.com/hashicorp/go-multierror v1.1.1 github.com/iancoleman/strcase v0.3.0 + github.com/influxdata/line-protocol/v2 v2.2.1 github.com/onsi/ginkgo/v2 v2.19.0 github.com/onsi/gomega v1.34.1 github.com/swaggo/http-swagger/v2 v2.0.2 @@ -118,11 +117,9 @@ require ( github.com/huandu/xstrings v1.4.0 // indirect github.com/imdario/mergo v0.3.4 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect - github.com/influxdata/line-protocol/v2 v2.2.1 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/josharian/intern v1.0.0 // indirect github.com/k0kubun/colorstring v0.0.0-20150214042306-9440f1994b88 // indirect - github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect github.com/kevinburke/ssh_config v1.2.0 // indirect github.com/klauspost/compress v1.17.7 // indirect github.com/kylelemons/godebug v1.1.0 // indirect @@ -162,8 +159,6 @@ require ( github.com/urfave/cli/v2 v2.3.0 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect - github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect - github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect go.uber.org/multierr v1.11.0 // indirect golang.org/x/mod v0.23.0 // indirect golang.org/x/sync v0.12.0 // indirect diff --git a/go.sum b/go.sum index e63fcbbfc..c1e6d6b91 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,5 @@ dario.cat/mergo v1.0.1 h1:Ra4+bf83h2ztPIQYNP99R6m+Y7KfnARDfID+a+vLl4s= dario.cat/mergo v1.0.1/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= -github.com/AlecAivazis/survey/v2 v2.3.7 h1:6I/u8FvytdGsgonrYsVn2t8t4QiRnh6QSTqkkhIiSjQ= -github.com/AlecAivazis/survey/v2 v2.3.7/go.mod h1:xUTIdE4KCOIjsBAE1JYsUPoCqYdZ1reCfTwbto0Fduo= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/KyleBanks/depth v1.2.1 h1:5h8fQADFrWtarTdtDudMmGsC7GPbOAu6RVB3ffsVFHc= @@ -15,8 +13,6 @@ github.com/Masterminds/sprig v2.22.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuN github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= -github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63nhn5WAunQHLTznkw5W8b1Xc0dNjp83s= -github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w= github.com/ProtonMail/go-crypto v1.1.3 h1:nRBOetoydLeUb4nHajyO2bKqMLfWQ/ZPwkXqXxPxCFk= github.com/ProtonMail/go-crypto v1.1.3/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= @@ -49,8 +45,6 @@ github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46t github.com/cpuguy83/go-md2man/v2 v2.0.4 h1:wfIWP927BUkWJb2NmU/kNDYIBTh/ziUX91+lVfRxZq4= github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/creack/pty v1.1.17 h1:QeVUsEDNrLBW4tMgZHvxy18sKtr6VI492kBhUfhDJNI= -github.com/creack/pty v1.1.17/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/cyphar/filepath-securejoin v0.2.5 h1:6iR5tXJ/e6tJZzzdMc1km3Sa7RRIVBKAK32O2s7AYfo= github.com/cyphar/filepath-securejoin v0.2.5/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -59,8 +53,6 @@ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1 github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/denisbrodbeck/machineid v1.0.1 h1:geKr9qtkB876mXguW2X6TU4ZynleN6ezuMSRhl4D7AQ= github.com/denisbrodbeck/machineid v1.0.1/go.mod h1:dJUwb7PTidGDeYyUBmXZ2GphQBbjJCrnectwCyxcUSI= -github.com/dmarkham/enumer v1.5.8 h1:fIF11F9l5jyD++YYvxcSH5WgHfeaSGPaN/T4kOQ4qEM= -github.com/dmarkham/enumer v1.5.8/go.mod h1:d10o8R3t/gROm2p3BXqTkMt2+HMuxEmWCXzorAruYak= github.com/dmarkham/enumer v1.5.11 h1:quorLCaEfzjJ23Pf7PB9lyyaHseh91YfTM/sAD/4Mbo= github.com/dmarkham/enumer v1.5.11/go.mod h1:yixql+kDDQRYqcuBM2n9Vlt7NoT9ixgXhaXry8vmRg8= github.com/elazarl/goproxy v1.2.1 h1:njjgvO6cRG9rIqN2ebkqy6cQz2Njkx7Fsfv/zIZqgug= @@ -195,8 +187,6 @@ github.com/hashicorp/memberlist v0.5.0 h1:EtYPN8DpAURiapus508I4n9CzHs2W+8NZGbmmR github.com/hashicorp/memberlist v0.5.0/go.mod h1:yvyXLpo0QaGE59Y7hDTsTzDD25JYBZ4mHgHUZ8lrOI0= github.com/hashicorp/serf v0.10.1 h1:Z1H2J60yRKvfDYAOZLd2MU0ND4AH/WDz7xYHDWQsIPY= github.com/hashicorp/serf v0.10.1/go.mod h1:yL2t6BqATOLGc5HF7qbFkTfXoPIY0WZdWHfEvMqbG+4= -github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec h1:qv2VnGeEQHchGaZ/u7lxST/RaJw+cv273q79D81Xbog= -github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= github.com/huandu/xstrings v1.4.0 h1:D17IlohoQq4UcpqD7fDk80P7l+lwAmlFaBHgOipl2FU= github.com/huandu/xstrings v1.4.0/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/iancoleman/strcase v0.3.0 h1:nTXanmYxhfFAMjZL34Ov6gkzEsSJZ5DbhxWjvSASxEI= @@ -206,6 +196,7 @@ github.com/imdario/mergo v0.3.16/go.mod h1:WBLT9ZmE3lPoWsEzCh9LPo3TiwVN+ZKEjmz+h github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/influxdata/line-protocol-corpus v0.0.0-20210519164801-ca6fa5da0184/go.mod h1:03nmhxzZ7Xk2pdG+lmMd7mHDfeVOYFyhOgwO61qWU98= +github.com/influxdata/line-protocol-corpus v0.0.0-20210922080147-aa28ccfb8937 h1:MHJNQ+p99hFATQm6ORoLmpUCF7ovjwEFshs/NHzAbig= github.com/influxdata/line-protocol-corpus v0.0.0-20210922080147-aa28ccfb8937/go.mod h1:BKR9c0uHSmRgM/se9JhFHtTT7JTO67X23MtKMHtZcpo= github.com/influxdata/line-protocol/v2 v2.0.0-20210312151457-c52fdecb625a/go.mod h1:6+9Xt5Sq1rWx+glMgxhcg2c0DUaehK+5TDcPZ76GypY= github.com/influxdata/line-protocol/v2 v2.1.0/go.mod h1:QKw43hdUBg3GTk2iC3iyCxksNj7PX9aUSeYOYE/ceHY= @@ -224,8 +215,6 @@ github.com/k0kubun/colorstring v0.0.0-20150214042306-9440f1994b88 h1:uC1QfSlInpQ github.com/k0kubun/colorstring v0.0.0-20150214042306-9440f1994b88/go.mod h1:3w7q1U84EfirKl04SVQ/s7nPm1ZPhiXd34z40TNz36k= github.com/k0kubun/pp v3.0.1+incompatible h1:3tqvf7QgUnZ5tXO6pNAZlrvHgl6DvifjDrd9g2S9Z40= github.com/k0kubun/pp v3.0.1+incompatible/go.mod h1:GWse8YhT0p8pT4ir3ZgBbfZild3tgzSScAn6HmfYukg= -github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= -github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= @@ -255,7 +244,6 @@ github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3v github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= -github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= @@ -276,7 +264,6 @@ github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/mesos/mesos-go v0.0.11 h1:jMp9+W3zLu46g8EuP2su2Sjj7ipBh4N/g65c0kzGl/8= github.com/mesos/mesos-go v0.0.11/go.mod h1:kPYCMQ9gsOXVAle1OsoY4I1+9kPu8GHkf88aV59fDr4= -github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d h1:5PJl274Y63IEHC+7izoQE9x6ikvDFZS2mDVS3drnohI= github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= @@ -416,7 +403,6 @@ github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpE github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= @@ -449,13 +435,6 @@ github.com/xdg-go/scram v1.1.2 h1:FHX5I5B4i4hKRVRBCFRxq1iQRej7WO3hhBuJf+UUySY= github.com/xdg-go/scram v1.1.2/go.mod h1:RT/sEzTbU5y00aCK8UOx6R7YryM0iF1N2MOmC3kKLN4= github.com/xdg-go/stringprep v1.0.4 h1:XLI/Ng3O1Atzq0oBs3TWm+5ZVgkq2aqdlvP9JtoZ6c8= github.com/xdg-go/stringprep v1.0.4/go.mod h1:mPGuuIYwz7CmR2bT9j4GbQqutWS1zV24gijq1dTyGkM= -github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= -github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb h1:zGWFAtiMcyryUHoUjUJX0/lt1H2+i2Ka2n+D3DImSNo= -github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= -github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 h1:EzJWgHovont7NscjpAxXsDA8S8BMYve8Y5+7cuRE7R0= -github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ= -github.com/xeipuuv/gojsonschema v1.2.0 h1:LhYJRs+L4fBtjZUfuSZIKGeVu0QRy8e5Xi7D17UxZ74= -github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= github.com/xlab/treeprint v1.2.0 h1:HzHnuAF1plUN2zGlAFHbSQP2qJ0ZAD3XF5XD7OesXRQ= github.com/xlab/treeprint v1.2.0/go.mod h1:gj5Gd3gPdKtR1ikdDK6fnFLdmIS0X30kTTuNd/WEJu0= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= @@ -479,8 +458,6 @@ golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.19.0 h1:fEdghXQSo20giMthA7cd28ZC+jts4amQ3YMXiP5oMQ8= -golang.org/x/mod v0.19.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/mod v0.23.0 h1:Zb7khfcRGKk+kqfxFaP5tZqCnDZMjC5VtUBs87Hr6QM= golang.org/x/mod v0.23.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -558,7 +535,6 @@ golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= -golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= @@ -573,8 +549,6 @@ golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roY golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= -golang.org/x/tools v0.23.0 h1:SGsXPZ+2l4JsgaCKkx+FQ9YZ5XEtA1GZYuoDjenLjvg= -golang.org/x/tools v0.23.0/go.mod h1:pnu6ufv6vQkll6szChhK3C3L/ruaIv5eBeztNG8wtsI= golang.org/x/tools v0.30.0 h1:BgcpHewrV5AUp2G9MebG4XPFI1E2W41zU1SaqVA9vJY= golang.org/x/tools v0.30.0/go.mod h1:c347cR/OJfw5TI+GfX7RUPNMdDRRbjvYTS0jPyvsVtY= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= From 7bfb4cca0989e84a6b751e56896529af7d49f389 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 14 Aug 2025 13:54:35 +0000 Subject: [PATCH 6/7] Address PR review comments on package documentation Co-authored-by: knopers8 <14327588+knopers8@users.noreply.github.com> --- apricot/local/service.go | 4 ++-- apricot/remote/service.go | 4 ++-- common/event/topic/topic.go | 3 +-- common/event/writer.go | 2 +- common/monitoring/monitoring.go | 4 ++-- common/utils/uid/uid.go | 3 +-- core/config.go | 2 -- core/core.go | 2 ++ core/integration/bookkeeping/plugin.go | 2 ++ core/integration/bookkeeping/utils.go | 2 -- core/integration/dcs/client.go | 2 -- core/integration/dcs/plugin.go | 2 ++ core/integration/ddsched/client.go | 2 -- core/integration/ddsched/plugin.go | 2 ++ core/integration/odc/client.go | 2 -- core/integration/odc/plugin.go | 2 ++ core/integration/trg/plugin.go | 1 + core/integration/trg/trgutil.go | 3 +-- core/task/taskclass/resourcelimits.go | 2 +- 19 files changed, 22 insertions(+), 24 deletions(-) diff --git a/apricot/local/service.go b/apricot/local/service.go index f1d9c79eb..827cb931b 100644 --- a/apricot/local/service.go +++ b/apricot/local/service.go @@ -22,8 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ -// Package local implements a local filesystem backend for the configuration -// service, providing file-based configuration storage and retrieval. +// Package local implements a local configuration backend for the configuration +// service, providing direct access to the backend storage without gRPC. package local import ( diff --git a/apricot/remote/service.go b/apricot/remote/service.go index a470875dc..a80efa1c6 100644 --- a/apricot/remote/service.go +++ b/apricot/remote/service.go @@ -22,8 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ -// Package remote implements a remote gRPC client backend for the configuration -// service, providing access to remote configuration stores. +// Package remote implements a remote configuration backend for the configuration +// service, accessing configuration handled by a different application via gRPC. package remote import ( diff --git a/common/event/topic/topic.go b/common/event/topic/topic.go index 027292ac2..b71936ad8 100644 --- a/common/event/topic/topic.go +++ b/common/event/topic/topic.go @@ -22,8 +22,7 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ -// Package topic defines topic constants and types for the event system, -// providing structured topic names for different event types. +// Package topic defines constants and types for event system topics. package topic type Topic string diff --git a/common/event/writer.go b/common/event/writer.go index 5883bf3ca..b0cb571a6 100644 --- a/common/event/writer.go +++ b/common/event/writer.go @@ -23,7 +23,7 @@ */ // Package event provides event publishing and streaming functionality for -// O² Control components, supporting both Kafka and in-memory event systems. +// O² Control components, supporting Kafka and dummy event writers. package event import ( diff --git a/common/monitoring/monitoring.go b/common/monitoring/monitoring.go index a5c7e909e..ca21056b9 100644 --- a/common/monitoring/monitoring.go +++ b/common/monitoring/monitoring.go @@ -22,8 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ -// Package monitoring provides monitoring and metrics collection functionality, -// including HTTP endpoints for health checks and metrics publishing. +// Package monitoring provides monitoring and metrics collection functionality +// for O² Control components. package monitoring import ( diff --git a/common/utils/uid/uid.go b/common/utils/uid/uid.go index 54ae17ed9..1b417a638 100644 --- a/common/utils/uid/uid.go +++ b/common/utils/uid/uid.go @@ -22,8 +22,7 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ -// Package uid provides unique identifier generation functionality, -// including machine-specific and time-based ID generation utilities. +// Package uid provides unique identifier generation functionality. package uid import ( diff --git a/core/config.go b/core/config.go index 19e2b0b22..0f64cbac9 100644 --- a/core/config.go +++ b/core/config.go @@ -22,8 +22,6 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ -// Package core implements the main AliECS core functionality including -// the gRPC API server, environment management, and integration with various services. package core import ( diff --git a/core/core.go b/core/core.go index d6a2cebf2..6919cb45c 100644 --- a/core/core.go +++ b/core/core.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package core implements the main AliECS core functionality including +// the gRPC API server, environment management, and integration with various services. package core import ( diff --git a/core/integration/bookkeeping/plugin.go b/core/integration/bookkeeping/plugin.go index 3cd605f4a..476fdb1be 100644 --- a/core/integration/bookkeeping/plugin.go +++ b/core/integration/bookkeeping/plugin.go @@ -31,6 +31,8 @@ //go:generate protoc --go_out=. --go_opt=paths=source_relative --go-grpc_opt=paths=source_relative --go-grpc_out=require_unimplemented_servers=false:. protos/run.proto //go:generate protoc --go_out=. --go_opt=paths=source_relative --go-grpc_opt=paths=source_relative --go-grpc_out=require_unimplemented_servers=false:. protos/lhcFill.proto +// Package bookkeeping provides integration with the ALICE Bookkeeping system +// for tracking runs and retrieving LHC fill information. package bookkeeping import ( diff --git a/core/integration/bookkeeping/utils.go b/core/integration/bookkeeping/utils.go index 016c0513a..7813ed844 100644 --- a/core/integration/bookkeeping/utils.go +++ b/core/integration/bookkeeping/utils.go @@ -22,8 +22,6 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ -// Package bookkeeping provides integration with the ALICE Bookkeeping system -// for tracking runs and retrieving LHC fill information. package bookkeeping import ( diff --git a/core/integration/dcs/client.go b/core/integration/dcs/client.go index 7b07eb4d9..6a529bd59 100644 --- a/core/integration/dcs/client.go +++ b/core/integration/dcs/client.go @@ -22,8 +22,6 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ -// Package dcs provides integration with the ALICE Detector Control System (DCS) -// for managing detector operations and state compatibility checks. package dcs import ( diff --git a/core/integration/dcs/plugin.go b/core/integration/dcs/plugin.go index 9a5b253ef..e6d8485f9 100644 --- a/core/integration/dcs/plugin.go +++ b/core/integration/dcs/plugin.go @@ -24,6 +24,8 @@ //go:generate protoc --go_out=. --go_opt=paths=source_relative --go-grpc_opt=paths=source_relative --go-grpc_out=require_unimplemented_servers=false:. protos/dcs.proto +// Package dcs provides integration with the ALICE Detector Control System (DCS) +// for managing detector operations and state compatibility checks. package dcs import ( diff --git a/core/integration/ddsched/client.go b/core/integration/ddsched/client.go index 66568162c..a24b37365 100644 --- a/core/integration/ddsched/client.go +++ b/core/integration/ddsched/client.go @@ -22,8 +22,6 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ -// Package ddsched provides integration with the Data Distribution (DD) scheduler -// for managing the pool of FLPs participating in data taking operations. package ddsched import ( diff --git a/core/integration/ddsched/plugin.go b/core/integration/ddsched/plugin.go index ce3f88f3c..917b1a6e5 100644 --- a/core/integration/ddsched/plugin.go +++ b/core/integration/ddsched/plugin.go @@ -24,6 +24,8 @@ //go:generate protoc --go_out=. --go_opt=paths=source_relative --go-grpc_opt=paths=source_relative --go-grpc_out=require_unimplemented_servers=false:. protos/ddsched.proto +// Package ddsched provides integration with the Data Distribution (DD) scheduler +// for managing the pool of FLPs participating in data taking operations. package ddsched import ( diff --git a/core/integration/odc/client.go b/core/integration/odc/client.go index d6b75e7d1..d8d15cabd 100644 --- a/core/integration/odc/client.go +++ b/core/integration/odc/client.go @@ -22,8 +22,6 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ -// Package odc provides integration with the Online Device Control (ODC) system -// for managing the ALICE event processing farm during data taking and offline processing. package odc import ( diff --git a/core/integration/odc/plugin.go b/core/integration/odc/plugin.go index b1550e952..ba50a8919 100644 --- a/core/integration/odc/plugin.go +++ b/core/integration/odc/plugin.go @@ -24,6 +24,8 @@ //go:generate protoc --go_out=. --go_opt=paths=source_relative --go-grpc_opt=paths=source_relative --go-grpc_out=require_unimplemented_servers=false:. protos/odc.proto +// Package odc provides integration with the Online Device Control (ODC) system +// for managing the ALICE event processing farm during data taking and offline processing. package odc import ( diff --git a/core/integration/trg/plugin.go b/core/integration/trg/plugin.go index c070eadcb..2ebdc84d7 100644 --- a/core/integration/trg/plugin.go +++ b/core/integration/trg/plugin.go @@ -25,6 +25,7 @@ //go:generate protoc --go_out=. --go_opt=paths=source_relative --go-grpc_opt=paths=source_relative --go-grpc_out=require_unimplemented_servers=false:. protos/ctpecs.proto +// Package trg provides integration with the ALICE trigger system. package trg import ( diff --git a/core/integration/trg/trgutil.go b/core/integration/trg/trgutil.go index 03bad8072..c1a705d0b 100644 --- a/core/integration/trg/trgutil.go +++ b/core/integration/trg/trgutil.go @@ -22,8 +22,7 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ -// Package trg provides integration with the ALICE trigger system -// for managing trigger configurations and run coordination. +// Package trg provides integration with the ALICE trigger system. package trg import ( diff --git a/core/task/taskclass/resourcelimits.go b/core/task/taskclass/resourcelimits.go index dbfee9c36..37916e843 100644 --- a/core/task/taskclass/resourcelimits.go +++ b/core/task/taskclass/resourcelimits.go @@ -23,7 +23,7 @@ */ // Package taskclass provides task class definitions and resource management -// for different types of tasks in the O² Control system. +// for different types of tasks. package taskclass import "strconv" From bab019d717272ea56a33c55bb58d844d2d4b14da Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 14 Aug 2025 14:22:37 +0000 Subject: [PATCH 7/7] Fix package documentation placement and remove go.mod changes Co-authored-by: knopers8 <14327588+knopers8@users.noreply.github.com> --- core/task/channel/channel.go | 2 ++ core/task/channel/inbound.go | 2 -- executor/executable/task.go | 2 ++ executor/executable/task_pdeathsig_darwin.go | 2 -- executor/executorcmd/transitioner/direct.go | 2 -- go.mod | 7 ++++- go.sum | 28 +++++++++++++++++++- 7 files changed, 37 insertions(+), 8 deletions(-) diff --git a/core/task/channel/channel.go b/core/task/channel/channel.go index 1e05e5123..d79496f6b 100644 --- a/core/task/channel/channel.go +++ b/core/task/channel/channel.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package channel provides functionality for managing task communication channels, +// including inbound and outbound channel configuration and message routing. package channel import ( diff --git a/core/task/channel/inbound.go b/core/task/channel/inbound.go index be02b58c1..964678289 100644 --- a/core/task/channel/inbound.go +++ b/core/task/channel/inbound.go @@ -22,8 +22,6 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ -// Package channel provides functionality for managing task communication channels, -// including inbound and outbound channel configuration and message routing. package channel import ( diff --git a/executor/executable/task.go b/executor/executable/task.go index 0376fe8f3..e23b56394 100644 --- a/executor/executable/task.go +++ b/executor/executable/task.go @@ -22,6 +22,8 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +// Package executable provides platform-specific executable management functionality +// for running and controlling tasks in the executor environment. package executable import ( diff --git a/executor/executable/task_pdeathsig_darwin.go b/executor/executable/task_pdeathsig_darwin.go index cc0390aac..14bb68458 100644 --- a/executor/executable/task_pdeathsig_darwin.go +++ b/executor/executable/task_pdeathsig_darwin.go @@ -22,8 +22,6 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ -// Package executable provides platform-specific executable management functionality -// for running and controlling tasks in the executor environment. package executable import "syscall" diff --git a/executor/executorcmd/transitioner/direct.go b/executor/executorcmd/transitioner/direct.go index 2359caa70..5d1d7c9a1 100644 --- a/executor/executorcmd/transitioner/direct.go +++ b/executor/executorcmd/transitioner/direct.go @@ -22,8 +22,6 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ -// Package transitioner provides transition management functionality for -// handling task state transitions with different transition strategies. package transitioner type Direct struct { diff --git a/go.mod b/go.mod index a407656f9..5cf831e29 100644 --- a/go.mod +++ b/go.mod @@ -21,6 +21,7 @@ replace github.com/imdario/mergo => github.com/imdario/mergo v0.3.16 replace github.com/armon/go-metrics => github.com/hashicorp/go-metrics v0.5.3 require ( + github.com/AlecAivazis/survey/v2 v2.3.7 github.com/Masterminds/goutils v1.1.1 // indirect github.com/Masterminds/semver v1.5.0 // indirect github.com/Masterminds/sprig v2.22.0+incompatible // indirect @@ -57,6 +58,7 @@ require ( github.com/spf13/viper v1.18.2 github.com/teo/logrus-prefixed-formatter v0.5.3-0.20230717095749-669d57324f0a github.com/valyala/fasttemplate v1.2.2 + github.com/xeipuuv/gojsonschema v1.2.0 github.com/xlab/treeprint v1.2.0 golang.org/x/crypto v0.36.0 golang.org/x/net v0.38.0 @@ -74,7 +76,6 @@ require ( github.com/gogo/protobuf v1.3.2 github.com/hashicorp/go-multierror v1.1.1 github.com/iancoleman/strcase v0.3.0 - github.com/influxdata/line-protocol/v2 v2.2.1 github.com/onsi/ginkgo/v2 v2.19.0 github.com/onsi/gomega v1.34.1 github.com/swaggo/http-swagger/v2 v2.0.2 @@ -117,9 +118,11 @@ require ( github.com/huandu/xstrings v1.4.0 // indirect github.com/imdario/mergo v0.3.4 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect + github.com/influxdata/line-protocol/v2 v2.2.1 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/josharian/intern v1.0.0 // indirect github.com/k0kubun/colorstring v0.0.0-20150214042306-9440f1994b88 // indirect + github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect github.com/kevinburke/ssh_config v1.2.0 // indirect github.com/klauspost/compress v1.17.7 // indirect github.com/kylelemons/godebug v1.1.0 // indirect @@ -159,6 +162,8 @@ require ( github.com/urfave/cli/v2 v2.3.0 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect + github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect + github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect go.uber.org/multierr v1.11.0 // indirect golang.org/x/mod v0.23.0 // indirect golang.org/x/sync v0.12.0 // indirect diff --git a/go.sum b/go.sum index c1e6d6b91..e63fcbbfc 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,7 @@ dario.cat/mergo v1.0.1 h1:Ra4+bf83h2ztPIQYNP99R6m+Y7KfnARDfID+a+vLl4s= dario.cat/mergo v1.0.1/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= +github.com/AlecAivazis/survey/v2 v2.3.7 h1:6I/u8FvytdGsgonrYsVn2t8t4QiRnh6QSTqkkhIiSjQ= +github.com/AlecAivazis/survey/v2 v2.3.7/go.mod h1:xUTIdE4KCOIjsBAE1JYsUPoCqYdZ1reCfTwbto0Fduo= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/KyleBanks/depth v1.2.1 h1:5h8fQADFrWtarTdtDudMmGsC7GPbOAu6RVB3ffsVFHc= @@ -13,6 +15,8 @@ github.com/Masterminds/sprig v2.22.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuN github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= +github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63nhn5WAunQHLTznkw5W8b1Xc0dNjp83s= +github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w= github.com/ProtonMail/go-crypto v1.1.3 h1:nRBOetoydLeUb4nHajyO2bKqMLfWQ/ZPwkXqXxPxCFk= github.com/ProtonMail/go-crypto v1.1.3/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= @@ -45,6 +49,8 @@ github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46t github.com/cpuguy83/go-md2man/v2 v2.0.4 h1:wfIWP927BUkWJb2NmU/kNDYIBTh/ziUX91+lVfRxZq4= github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/creack/pty v1.1.17 h1:QeVUsEDNrLBW4tMgZHvxy18sKtr6VI492kBhUfhDJNI= +github.com/creack/pty v1.1.17/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/cyphar/filepath-securejoin v0.2.5 h1:6iR5tXJ/e6tJZzzdMc1km3Sa7RRIVBKAK32O2s7AYfo= github.com/cyphar/filepath-securejoin v0.2.5/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -53,6 +59,8 @@ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1 github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/denisbrodbeck/machineid v1.0.1 h1:geKr9qtkB876mXguW2X6TU4ZynleN6ezuMSRhl4D7AQ= github.com/denisbrodbeck/machineid v1.0.1/go.mod h1:dJUwb7PTidGDeYyUBmXZ2GphQBbjJCrnectwCyxcUSI= +github.com/dmarkham/enumer v1.5.8 h1:fIF11F9l5jyD++YYvxcSH5WgHfeaSGPaN/T4kOQ4qEM= +github.com/dmarkham/enumer v1.5.8/go.mod h1:d10o8R3t/gROm2p3BXqTkMt2+HMuxEmWCXzorAruYak= github.com/dmarkham/enumer v1.5.11 h1:quorLCaEfzjJ23Pf7PB9lyyaHseh91YfTM/sAD/4Mbo= github.com/dmarkham/enumer v1.5.11/go.mod h1:yixql+kDDQRYqcuBM2n9Vlt7NoT9ixgXhaXry8vmRg8= github.com/elazarl/goproxy v1.2.1 h1:njjgvO6cRG9rIqN2ebkqy6cQz2Njkx7Fsfv/zIZqgug= @@ -187,6 +195,8 @@ github.com/hashicorp/memberlist v0.5.0 h1:EtYPN8DpAURiapus508I4n9CzHs2W+8NZGbmmR github.com/hashicorp/memberlist v0.5.0/go.mod h1:yvyXLpo0QaGE59Y7hDTsTzDD25JYBZ4mHgHUZ8lrOI0= github.com/hashicorp/serf v0.10.1 h1:Z1H2J60yRKvfDYAOZLd2MU0ND4AH/WDz7xYHDWQsIPY= github.com/hashicorp/serf v0.10.1/go.mod h1:yL2t6BqATOLGc5HF7qbFkTfXoPIY0WZdWHfEvMqbG+4= +github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec h1:qv2VnGeEQHchGaZ/u7lxST/RaJw+cv273q79D81Xbog= +github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= github.com/huandu/xstrings v1.4.0 h1:D17IlohoQq4UcpqD7fDk80P7l+lwAmlFaBHgOipl2FU= github.com/huandu/xstrings v1.4.0/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/iancoleman/strcase v0.3.0 h1:nTXanmYxhfFAMjZL34Ov6gkzEsSJZ5DbhxWjvSASxEI= @@ -196,7 +206,6 @@ github.com/imdario/mergo v0.3.16/go.mod h1:WBLT9ZmE3lPoWsEzCh9LPo3TiwVN+ZKEjmz+h github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/influxdata/line-protocol-corpus v0.0.0-20210519164801-ca6fa5da0184/go.mod h1:03nmhxzZ7Xk2pdG+lmMd7mHDfeVOYFyhOgwO61qWU98= -github.com/influxdata/line-protocol-corpus v0.0.0-20210922080147-aa28ccfb8937 h1:MHJNQ+p99hFATQm6ORoLmpUCF7ovjwEFshs/NHzAbig= github.com/influxdata/line-protocol-corpus v0.0.0-20210922080147-aa28ccfb8937/go.mod h1:BKR9c0uHSmRgM/se9JhFHtTT7JTO67X23MtKMHtZcpo= github.com/influxdata/line-protocol/v2 v2.0.0-20210312151457-c52fdecb625a/go.mod h1:6+9Xt5Sq1rWx+glMgxhcg2c0DUaehK+5TDcPZ76GypY= github.com/influxdata/line-protocol/v2 v2.1.0/go.mod h1:QKw43hdUBg3GTk2iC3iyCxksNj7PX9aUSeYOYE/ceHY= @@ -215,6 +224,8 @@ github.com/k0kubun/colorstring v0.0.0-20150214042306-9440f1994b88 h1:uC1QfSlInpQ github.com/k0kubun/colorstring v0.0.0-20150214042306-9440f1994b88/go.mod h1:3w7q1U84EfirKl04SVQ/s7nPm1ZPhiXd34z40TNz36k= github.com/k0kubun/pp v3.0.1+incompatible h1:3tqvf7QgUnZ5tXO6pNAZlrvHgl6DvifjDrd9g2S9Z40= github.com/k0kubun/pp v3.0.1+incompatible/go.mod h1:GWse8YhT0p8pT4ir3ZgBbfZild3tgzSScAn6HmfYukg= +github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= +github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= @@ -244,6 +255,7 @@ github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3v github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= +github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= @@ -264,6 +276,7 @@ github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/mesos/mesos-go v0.0.11 h1:jMp9+W3zLu46g8EuP2su2Sjj7ipBh4N/g65c0kzGl/8= github.com/mesos/mesos-go v0.0.11/go.mod h1:kPYCMQ9gsOXVAle1OsoY4I1+9kPu8GHkf88aV59fDr4= +github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d h1:5PJl274Y63IEHC+7izoQE9x6ikvDFZS2mDVS3drnohI= github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= @@ -403,6 +416,7 @@ github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpE github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= @@ -435,6 +449,13 @@ github.com/xdg-go/scram v1.1.2 h1:FHX5I5B4i4hKRVRBCFRxq1iQRej7WO3hhBuJf+UUySY= github.com/xdg-go/scram v1.1.2/go.mod h1:RT/sEzTbU5y00aCK8UOx6R7YryM0iF1N2MOmC3kKLN4= github.com/xdg-go/stringprep v1.0.4 h1:XLI/Ng3O1Atzq0oBs3TWm+5ZVgkq2aqdlvP9JtoZ6c8= github.com/xdg-go/stringprep v1.0.4/go.mod h1:mPGuuIYwz7CmR2bT9j4GbQqutWS1zV24gijq1dTyGkM= +github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= +github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb h1:zGWFAtiMcyryUHoUjUJX0/lt1H2+i2Ka2n+D3DImSNo= +github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= +github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 h1:EzJWgHovont7NscjpAxXsDA8S8BMYve8Y5+7cuRE7R0= +github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ= +github.com/xeipuuv/gojsonschema v1.2.0 h1:LhYJRs+L4fBtjZUfuSZIKGeVu0QRy8e5Xi7D17UxZ74= +github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= github.com/xlab/treeprint v1.2.0 h1:HzHnuAF1plUN2zGlAFHbSQP2qJ0ZAD3XF5XD7OesXRQ= github.com/xlab/treeprint v1.2.0/go.mod h1:gj5Gd3gPdKtR1ikdDK6fnFLdmIS0X30kTTuNd/WEJu0= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= @@ -458,6 +479,8 @@ golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.19.0 h1:fEdghXQSo20giMthA7cd28ZC+jts4amQ3YMXiP5oMQ8= +golang.org/x/mod v0.19.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/mod v0.23.0 h1:Zb7khfcRGKk+kqfxFaP5tZqCnDZMjC5VtUBs87Hr6QM= golang.org/x/mod v0.23.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -535,6 +558,7 @@ golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= +golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= @@ -549,6 +573,8 @@ golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roY golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= +golang.org/x/tools v0.23.0 h1:SGsXPZ+2l4JsgaCKkx+FQ9YZ5XEtA1GZYuoDjenLjvg= +golang.org/x/tools v0.23.0/go.mod h1:pnu6ufv6vQkll6szChhK3C3L/ruaIv5eBeztNG8wtsI= golang.org/x/tools v0.30.0 h1:BgcpHewrV5AUp2G9MebG4XPFI1E2W41zU1SaqVA9vJY= golang.org/x/tools v0.30.0/go.mod h1:c347cR/OJfw5TI+GfX7RUPNMdDRRbjvYTS0jPyvsVtY= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=