Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: added new testing strategy for golang

=3327f6a0ae60
diff --git a/backend-go/.gitignore b/backend-go/.gitignore
index 2fd271629c..1ca1215276 100644
--- a/backend-go/.gitignore
+++ b/backend-go/.gitignore
@@ -12,3 +12,7 @@ infisical
# OS
.DS_Store
+
+# Test infra shared state (delete these if tests misbehave)
+.test-infra-state.json
+.test-infra.lock
diff --git a/backend-go/Makefile b/backend-go/Makefile
new file mode 100644
index 0000000000..4054c2b5a3
--- /dev/null
+++ b/backend-go/Makefile
@@ -0,0 +1,25 @@
+# Run integration tests — testcontainers handles docker lifecycle automatically
+test:
+ TESTCONTAINERS_DEBUG=true go test -v ./internal/... -count=1 -race -timeout 300s
+
+# Run unit tests (no Docker needed)
+test-unit:
+ go test ./internal/... -count=1 -race
+
+# Tear down shared test containers and remove state file.
+# Use this if tests misbehave or to free up ports.
+test-cleanup:
+ rm -f .test-infra-state.json .test-infra.lock
+ docker compose -f docker-compose.test.yml down -v --remove-orphans 2>/dev/null || true
+
+# Generate Goa code from design DSL
+gen-goa:
+ goa gen github.com/infisical/api/internal/server/design -o ./internal/server/
+
+# Generate go-jet database types
+gen-db:
+ go run ./cmd/dev/pg_gen/main.go
+
+# Build the server binary
+build:
+ go build -o infisical ./cmd/infisical/...
diff --git a/backend-go/docker-compose.test.yml b/backend-go/docker-compose.test.yml
new file mode 100644
index 0000000000..3d0a73f471
--- /dev/null
+++ b/backend-go/docker-compose.test.yml
@@ -0,0 +1,42 @@
+services:
+ db:
+ image: postgres:14-alpine
+ ports:
+ - "5432:5432"
+ environment:
+ POSTGRES_PASSWORD: infisical
+ POSTGRES_USER: infisical
+ POSTGRES_DB: infisical
+ healthcheck:
+ test: ["CMD-SHELL", "pg_isready -U infisical"]
+ interval: 5s
+ timeout: 5s
+ retries: 5
+
+ redis:
+ image: redis:7-alpine
+ ports:
+ - "6379:6379"
+ healthcheck:
+ test: ["CMD", "redis-cli", "ping"]
+ interval: 5s
+ timeout: 5s
+ retries: 5
+
+ backend-nodejs:
+ image: infisical/infisical:latest
+ depends_on:
+ db:
+ condition: service_healthy
+ redis:
+ condition: service_healthy
+ ports:
+ - "8080:8080"
+ environment:
+ - NODE_ENV=development
+ - DB_CONNECTION_URI=postgres://infisical:infisical@db/infisical?sslmode=disable
+ - REDIS_URL=redis://redis:6379
+ - ENCRYPTION_KEY=a984ecdf82ec779e55dbcc21303a900f
+ - AUTH_SECRET=test-auth-secret-long-enough-for-jwt
+ - SITE_URL=http://localhost:8080
+ - TELEMETRY_ENABLED=false
diff --git a/backend-go/go.mod b/backend-go/go.mod
index da4305e672..498252929a 100644
--- a/backend-go/go.mod
+++ b/backend-go/go.mod
@@ -3,7 +3,9 @@ module github.com/infisical/api
go 1.26.1
require (
+ github.com/docker/go-connections v0.6.0
github.com/go-jet/jet/v2 v2.14.1
+ github.com/go-resty/resty/v2 v2.17.2
github.com/google/uuid v1.6.0
github.com/jackc/pgx/v5 v5.8.0
github.com/knadh/koanf/parsers/dotenv v1.1.1
@@ -11,20 +13,72 @@ require (
github.com/knadh/koanf/providers/file v1.2.1
github.com/knadh/koanf/v2 v2.3.3
github.com/lib/pq v1.10.9
+ github.com/stretchr/testify v1.11.1
+ github.com/testcontainers/testcontainers-go v0.41.0
+ github.com/testcontainers/testcontainers-go/modules/compose v0.41.0
goa.design/goa/v3 v3.25.3
)
require (
+ dario.cat/mergo v1.0.2 // indirect
filippo.io/edwards25519 v1.1.0 // indirect
+ github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c // indirect
+ github.com/DefangLabs/secret-detector v0.0.0-20250403165618-22662109213e // indirect
+ github.com/Microsoft/go-winio v0.6.2 // indirect
+ github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d // indirect
github.com/akhilmhdh/piccolo v0.0.1 // indirect
- github.com/davecgh/go-spew v1.1.1 // indirect
+ github.com/buger/goterm v1.0.4 // indirect
+ github.com/cenkalti/backoff/v4 v4.3.0 // indirect
+ github.com/cenkalti/backoff/v5 v5.0.3 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
+ github.com/compose-spec/compose-go/v2 v2.10.1 // indirect
+ github.com/containerd/console v1.0.5 // indirect
+ github.com/containerd/containerd/api v1.10.0 // indirect
+ github.com/containerd/containerd/v2 v2.2.1 // indirect
+ github.com/containerd/continuity v0.4.5 // indirect
+ github.com/containerd/errdefs v1.0.0 // indirect
+ github.com/containerd/errdefs/pkg v0.3.0 // indirect
+ github.com/containerd/log v0.1.0 // indirect
+ github.com/containerd/platforms v1.0.0-rc.2 // indirect
+ github.com/containerd/ttrpc v1.2.7 // indirect
+ github.com/containerd/typeurl/v2 v2.2.3 // indirect
+ github.com/cpuguy83/dockercfg v0.3.2 // indirect
+ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 // indirect
+ github.com/distribution/reference v0.6.0 // indirect
+ github.com/docker/buildx v0.31.1 // indirect
+ github.com/docker/cli v29.2.1+incompatible // indirect
+ github.com/docker/compose/v5 v5.1.0 // indirect
+ github.com/docker/docker v28.5.2+incompatible // indirect
+ github.com/docker/docker-credential-helpers v0.9.5 // indirect
+ github.com/docker/go-units v0.5.0 // indirect
+ github.com/ebitengine/purego v0.10.0 // indirect
+ github.com/eiannone/keyboard v0.0.0-20220611211555-0d226195f203 // indirect
+ github.com/felixge/httpsnoop v1.0.4 // indirect
+ github.com/fsnotify/fsevents v0.2.0 // indirect
github.com/fsnotify/fsnotify v1.9.0 // indirect
+ github.com/fvbommel/sortorder v1.1.0 // indirect
github.com/go-chi/chi/v5 v5.2.4 // indirect
+ github.com/go-logr/logr v1.4.3 // indirect
+ github.com/go-logr/stdr v1.2.2 // indirect
+ github.com/go-ole/go-ole v1.2.6 // indirect
github.com/go-sql-driver/mysql v1.9.3 // indirect
- github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
+ github.com/go-viper/mapstructure/v2 v2.5.0 // indirect
+ github.com/gofrs/flock v0.13.0 // indirect
+ github.com/gogo/protobuf v1.3.2 // indirect
github.com/gohugoio/hashstructure v0.6.0 // indirect
- github.com/gorilla/websocket v1.5.3 // indirect
+ github.com/golang-jwt/jwt/v5 v5.3.0 // indirect
+ github.com/golang/protobuf v1.5.4 // indirect
+ github.com/google/go-cmp v0.7.0 // indirect
+ github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
+ github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 // indirect
+ github.com/grpc-ecosystem/grpc-gateway/v2 v2.28.0 // indirect
+ github.com/hashicorp/errwrap v1.1.0 // indirect
+ github.com/hashicorp/go-multierror v1.1.1 // indirect
+ github.com/hashicorp/go-version v1.8.0 // indirect
+ github.com/in-toto/in-toto-golang v0.9.0 // indirect
+ github.com/inconshreveable/mousetrap v1.1.0 // indirect
+ github.com/inhies/go-bytesize v0.0.0-20220417184213-4913239db9cf // indirect
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
github.com/jackc/pgconn v1.14.3 // indirect
github.com/jackc/pgio v1.0.0 // indirect
@@ -34,21 +88,95 @@ require (
github.com/jackc/pgtype v1.14.4 // indirect
github.com/jackc/puddle/v2 v2.2.2 // indirect
github.com/joho/godotenv v1.5.1 // indirect
+ github.com/jonboulle/clockwork v0.5.0 // indirect
+ github.com/klauspost/compress v1.18.3 // indirect
github.com/knadh/koanf/maps v0.1.2 // indirect
+ github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
+ github.com/magiconair/properties v1.8.10 // indirect
github.com/manveru/faker v0.0.0-20171103152722-9fbc68a78c4d // indirect
+ github.com/mattn/go-runewidth v0.0.16 // indirect
+ github.com/mattn/go-shellwords v1.0.12 // indirect
github.com/mattn/go-sqlite3 v1.14.28 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
+ github.com/mitchellh/hashstructure/v2 v2.0.2 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
- github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/rogpeppe/go-internal v1.14.1 // indirect
- github.com/stretchr/testify v1.11.1 // indirect
- golang.org/x/crypto v0.35.0 // indirect
+ github.com/moby/buildkit v0.27.1 // indirect
+ github.com/moby/docker-image-spec v1.3.1 // indirect
+ github.com/moby/go-archive v0.2.0 // indirect
+ github.com/moby/locker v1.0.1 // indirect
+ github.com/moby/moby/api v1.53.0 // indirect
+ github.com/moby/moby/client v0.2.2 // indirect
+ github.com/moby/patternmatcher v0.6.0 // indirect
+ github.com/moby/sys/atomicwriter v0.1.0 // indirect
+ github.com/moby/sys/capability v0.4.0 // indirect
+ github.com/moby/sys/sequential v0.6.0 // indirect
+ github.com/moby/sys/signal v0.7.1 // indirect
+ github.com/moby/sys/symlink v0.3.0 // indirect
+ github.com/moby/sys/user v0.4.0 // indirect
+ github.com/moby/sys/userns v0.1.0 // indirect
+ github.com/moby/term v0.5.2 // indirect
+ github.com/morikuni/aec v1.1.0 // indirect
+ github.com/opencontainers/go-digest v1.0.0 // indirect
+ github.com/opencontainers/image-spec v1.1.1 // indirect
+ github.com/pelletier/go-toml v1.9.5 // indirect
+ github.com/pkg/errors v0.9.1 // indirect
+ github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
+ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
+ github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
+ github.com/rivo/uniseg v0.4.7 // indirect
+ github.com/santhosh-tekuri/jsonschema/v6 v6.0.1 // indirect
+ github.com/secure-systems-lab/go-securesystemslib v0.9.1 // indirect
+ github.com/shibumi/go-pathspec v1.3.0 // indirect
+ github.com/shirou/gopsutil/v4 v4.26.2 // indirect
+ github.com/sigstore/sigstore v1.10.4 // indirect
+ github.com/sigstore/sigstore-go v1.1.4-0.20251124094504-b5fe07a5a7d7 // indirect
+ github.com/sirupsen/logrus v1.9.4 // indirect
+ github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 // indirect
+ github.com/spf13/cobra v1.10.2 // indirect
+ github.com/spf13/pflag v1.0.10 // indirect
+ github.com/tilt-dev/fsnotify v1.4.8-0.20220602155310-fff9c274a375 // indirect
+ github.com/tklauser/go-sysconf v0.3.16 // indirect
+ github.com/tklauser/numcpus v0.11.0 // indirect
+ github.com/tonistiigi/dchapes-mode v0.0.0-20250318174251-73d941a28323 // indirect
+ github.com/tonistiigi/fsutil v0.0.0-20251211185533-a2aa163d723f // indirect
+ github.com/tonistiigi/go-csvvalue v0.0.0-20240814133006-030d3b2625d0 // indirect
+ github.com/tonistiigi/units v0.0.0-20180711220420-6950e57a87ea // indirect
+ github.com/tonistiigi/vt100 v0.0.0-20240514184818-90bafcd6abab // indirect
+ github.com/xhit/go-str2duration/v2 v2.1.0 // indirect
+ github.com/yusufpapurcu/wmi v1.2.4 // indirect
+ go.opentelemetry.io/auto/sdk v1.2.1 // indirect
+ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.63.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.63.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0 // indirect
+ go.opentelemetry.io/otel v1.41.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.38.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.38.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.41.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.38.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.41.0 // indirect
+ go.opentelemetry.io/otel/metric v1.41.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.41.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.41.0 // indirect
+ go.opentelemetry.io/otel/trace v1.41.0 // indirect
+ go.opentelemetry.io/proto/otlp v1.9.0 // indirect
+ go.yaml.in/yaml/v3 v3.0.4 // indirect
+ go.yaml.in/yaml/v4 v4.0.0-rc.4 // indirect
+ golang.org/x/crypto v0.49.0 // indirect
golang.org/x/mod v0.34.0 // indirect
+ golang.org/x/net v0.52.0 // indirect
golang.org/x/sync v0.20.0 // indirect
golang.org/x/sys v0.42.0 // indirect
+ golang.org/x/term v0.41.0 // indirect
golang.org/x/text v0.35.0 // indirect
+ golang.org/x/time v0.14.0 // indirect
golang.org/x/tools v0.43.0 // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20260209200024-4cfbd4190f57 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20260209200024-4cfbd4190f57 // indirect
+ google.golang.org/grpc v1.79.1 // indirect
+ google.golang.org/protobuf v1.36.11 // indirect
+ gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
+ tags.cncf.io/container-device-interface v1.1.0 // indirect
)
tool (
diff --git a/backend-go/go.sum b/backend-go/go.sum
index d485b647ac..6659b2797d 100644
--- a/backend-go/go.sum
+++ b/backend-go/go.sum
@@ -1,43 +1,241 @@
+cyphar.com/go-pathrs v0.2.1 h1:9nx1vOgwVvX1mNBWDu93+vaceedpbsDqo+XuBGL40b8=
+cyphar.com/go-pathrs v0.2.1/go.mod h1:y8f1EMG7r+hCuFf/rXsKqMJrJAUoADZGNh5/vZPKcGc=
+dario.cat/mergo v1.0.2 h1:85+piFYR1tMbRrLcDwR18y4UKJ3aH1Tbzi24VRW1TK8=
+dario.cat/mergo v1.0.2/go.mod h1:E/hbnu0NxMFBjpMIE34DRGLWqDy0g5FuKDhCb31ngxA=
filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA=
filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4=
+github.com/AdaLogics/go-fuzz-headers v0.0.0-20240806141605-e8a1dd7889d6 h1:He8afgbRMd7mFxO99hRNu+6tazq8nFF9lIwo9JFroBk=
+github.com/AdaLogics/go-fuzz-headers v0.0.0-20240806141605-e8a1dd7889d6/go.mod h1:8o94RPi1/7XTJvwPpRSzSUedZrtlirdB3r9Z20bi2f8=
+github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c h1:udKWzYgxTojEKWjV8V+WSxDXJ4NFATAsZjh8iIbsQIg=
+github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
+github.com/DefangLabs/secret-detector v0.0.0-20250403165618-22662109213e h1:rd4bOvKmDIx0WeTv9Qz+hghsgyjikFiPrseXHlKepO0=
+github.com/DefangLabs/secret-detector v0.0.0-20250403165618-22662109213e/go.mod h1:blbwPQh4DTlCZEfk1BLU4oMIhLda2U+A840Uag9DsZw=
github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
+github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY=
+github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU=
+github.com/Microsoft/hcsshim v0.14.0-rc.1 h1:qAPXKwGOkVn8LlqgBN8GS0bxZ83hOJpcjxzmlQKxKsQ=
+github.com/Microsoft/hcsshim v0.14.0-rc.1/go.mod h1:hTKFGbnDtQb1wHiOWv4v0eN+7boSWAHyK/tNAaYZL0c=
+github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d h1:licZJFw2RwpHMqeKTCYkitsPqHNxTmd4SNR5r94FGM8=
+github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d/go.mod h1:asat636LX7Bqt5lYEZ27JNDcqxfjdBQuJ/MM4CN/Lzo=
github.com/akhilmhdh/piccolo v0.0.1 h1:J8RcyL4Ab/ZTeRNbJTBiDt8AQ34cXoJDaaSFloz2+z0=
github.com/akhilmhdh/piccolo v0.0.1/go.mod h1:Gg6SdMpMYptnXjOzM77mkk3l1TiM/f9Tit4MWnK8Gew=
+github.com/anchore/go-struct-converter v0.1.0 h1:2rDRssAl6mgKBSLNiVCMADgZRhoqtw9dedlWa0OhD30=
+github.com/anchore/go-struct-converter v0.1.0/go.mod h1:rYqSE9HbjzpHTI74vwPvae4ZVYZd1lue2ta6xHPdblA=
+github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 h1:DklsrG3dyBCFEj5IhUbnKptjxatkF07cF2ak3yi77so=
+github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw=
+github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
+github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
+github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ=
+github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=
+github.com/buger/goterm v1.0.4 h1:Z9YvGmOih81P0FbVtEYTFF6YsSgxSUKEhf/f9bTMXbY=
+github.com/buger/goterm v1.0.4/go.mod h1:HiFWV3xnkolgrBV3mY8m0X0Pumt4zg4QhbdOzQtB8tE=
+github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8=
+github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
+github.com/cenkalti/backoff/v5 v5.0.3 h1:ZN+IMa753KfX5hd8vVaMixjnqRZ3y8CuJKRKj1xcsSM=
+github.com/cenkalti/backoff/v5 v5.0.3/go.mod h1:rkhZdG3JZukswDf7f0cwqPNk4K0sa+F97BxZthm/crw=
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ=
+github.com/codahale/rfc6979 v0.0.0-20141003034818-6a90f24967eb h1:EDmT6Q9Zs+SbUoc7Ik9EfrFqcylYqgPZ9ANSbTAntnE=
+github.com/codahale/rfc6979 v0.0.0-20141003034818-6a90f24967eb/go.mod h1:ZjrT6AXHbDs86ZSdt/osfBi5qfexBrKUdONk989Wnk4=
+github.com/compose-spec/compose-go/v2 v2.10.1 h1:mFbXobojGRFIVi1UknrvaDAZ+PkJfyjqkA1yseh+vAU=
+github.com/compose-spec/compose-go/v2 v2.10.1/go.mod h1:Ohac1SzhO/4fXXrzWIztIVB6ckmKBv1Nt5Z5mGVESUg=
+github.com/containerd/cgroups/v3 v3.1.2 h1:OSosXMtkhI6Qove637tg1XgK4q+DhR0mX8Wi8EhrHa4=
+github.com/containerd/cgroups/v3 v3.1.2/go.mod h1:PKZ2AcWmSBsY/tJUVhtS/rluX0b1uq1GmPO1ElCmbOw=
+github.com/containerd/console v1.0.5 h1:R0ymNeydRqH2DmakFNdmjR2k0t7UPuiOV/N/27/qqsc=
+github.com/containerd/console v1.0.5/go.mod h1:YynlIjWYF8myEu6sdkwKIvGQq+cOckRm6So2avqoYAk=
+github.com/containerd/containerd/api v1.10.0 h1:5n0oHYVBwN4VhoX9fFykCV9dF1/BvAXeg2F8W6UYq1o=
+github.com/containerd/containerd/api v1.10.0/go.mod h1:NBm1OAk8ZL+LG8R0ceObGxT5hbUYj7CzTmR3xh0DlMM=
+github.com/containerd/containerd/v2 v2.2.1 h1:TpyxcY4AL5A+07dxETevunVS5zxqzuq7ZqJXknM11yk=
+github.com/containerd/containerd/v2 v2.2.1/go.mod h1:NR70yW1iDxe84F2iFWbR9xfAN0N2F0NcjTi1OVth4nU=
+github.com/containerd/continuity v0.4.5 h1:ZRoN1sXq9u7V6QoHMcVWGhOwDFqZ4B9i5H6un1Wh0x4=
+github.com/containerd/continuity v0.4.5/go.mod h1:/lNJvtJKUQStBzpVQ1+rasXO1LAWtUQssk28EZvJ3nE=
+github.com/containerd/errdefs v1.0.0 h1:tg5yIfIlQIrxYtu9ajqY42W3lpS19XqdxRQeEwYG8PI=
+github.com/containerd/errdefs v1.0.0/go.mod h1:+YBYIdtsnF4Iw6nWZhJcqGSg/dwvV7tyJ/kCkyJ2k+M=
+github.com/containerd/errdefs/pkg v0.3.0 h1:9IKJ06FvyNlexW690DXuQNx2KA2cUJXx151Xdx3ZPPE=
+github.com/containerd/errdefs/pkg v0.3.0/go.mod h1:NJw6s9HwNuRhnjJhM7pylWwMyAkmCQvQ4GpJHEqRLVk=
+github.com/containerd/fifo v1.1.0 h1:4I2mbh5stb1u6ycIABlBw9zgtlK8viPI9QkQNRQEEmY=
+github.com/containerd/fifo v1.1.0/go.mod h1:bmC4NWMbXlt2EZ0Hc7Fx7QzTFxgPID13eH0Qu+MAb2o=
+github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I=
+github.com/containerd/log v0.1.0/go.mod h1:VRRf09a7mHDIRezVKTRCrOq78v577GXq3bSa3EhrzVo=
+github.com/containerd/nydus-snapshotter v0.15.10 h1:hphjuKOqSHLGznNJiAvmsOWkdu4qFXjf4DzGrWSuIsM=
+github.com/containerd/nydus-snapshotter v0.15.10/go.mod h1:EWRd/QJ0b6UKHAqYgiV5gHlqLC2qq5cQiSlXEdVovrA=
+github.com/containerd/platforms v1.0.0-rc.2 h1:0SPgaNZPVWGEi4grZdV8VRYQn78y+nm6acgLGv/QzE4=
+github.com/containerd/platforms v1.0.0-rc.2/go.mod h1:J71L7B+aiM5SdIEqmd9wp6THLVRzJGXfNuWCZCllLA4=
+github.com/containerd/plugin v1.0.0 h1:c8Kf1TNl6+e2TtMHZt+39yAPDbouRH9WAToRjex483Y=
+github.com/containerd/plugin v1.0.0/go.mod h1:hQfJe5nmWfImiqT1q8Si3jLv3ynMUIBB47bQ+KexvO8=
+github.com/containerd/stargz-snapshotter v0.17.0 h1:djNS4KU8ztFhLdEDZ1bsfzOiYuVHT6TgSU5qwRk+cNc=
+github.com/containerd/stargz-snapshotter/estargz v0.17.0 h1:+TyQIsR/zSFI1Rm31EQBwpAA1ovYgIKHy7kctL3sLcE=
+github.com/containerd/stargz-snapshotter/estargz v0.17.0/go.mod h1:s06tWAiJcXQo9/8AReBCIo/QxcXFZ2n4qfsRnpl71SM=
+github.com/containerd/ttrpc v1.2.7 h1:qIrroQvuOL9HQ1X6KHe2ohc7p+HP/0VE6XPU7elJRqQ=
+github.com/containerd/ttrpc v1.2.7/go.mod h1:YCXHsb32f+Sq5/72xHubdiJRQY9inL4a4ZQrAbN1q9o=
+github.com/containerd/typeurl/v2 v2.2.3 h1:yNA/94zxWdvYACdYO8zofhrTVuQY73fFU1y++dYSw40=
+github.com/containerd/typeurl/v2 v2.2.3/go.mod h1:95ljDnPfD3bAbDJRugOiShd/DlAAsxGtUBhJxIn7SCk=
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
+github.com/cpuguy83/dockercfg v0.3.2 h1:DlJTyZGBDlXqUZ2Dk2Q3xHs/FtnooJJVaad2S9GKorA=
+github.com/cpuguy83/dockercfg v0.3.2/go.mod h1:sugsbF4//dDlL/i+S+rtpIWp+5h0BHJHfjj5/jFyUJc=
+github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY=
+github.com/creack/pty v1.1.24 h1:bJrF4RRfyJnbTJqzRLHzcGaZK1NeM5kTC9jGgovnR1s=
+github.com/creack/pty v1.1.24/go.mod h1:08sCNb52WyoAwi2QDyzUCTgcvVFhUzewun7wtTfvcwE=
+github.com/cyberphone/json-canonicalization v0.0.0-20241213102144-19d51d7fe467 h1:uX1JmpONuD549D73r6cgnxyUu18Zb7yHAy5AYU0Pm4Q=
+github.com/cyberphone/json-canonicalization v0.0.0-20241213102144-19d51d7fe467/go.mod h1:uzvlm1mxhHkdfqitSA92i7Se+S9ksOn3a3qmv/kyOCw=
+github.com/cyphar/filepath-securejoin v0.6.0 h1:BtGB77njd6SVO6VztOHfPxKitJvd/VPT+OFBFMOi1Is=
+github.com/cyphar/filepath-securejoin v0.6.0/go.mod h1:A8hd4EnAeyujCJRrICiOWqjS1AX0a9kM5XL+NwKoYSc=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
-github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
+github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/digitorus/pkcs7 v0.0.0-20230818184609-3a137a874352 h1:ge14PCmCvPjpMQMIAH7uKg0lrtNSOdpYsRXlwk3QbaE=
+github.com/digitorus/pkcs7 v0.0.0-20230818184609-3a137a874352/go.mod h1:SKVExuS+vpu2l9IoOc0RwqE7NYnb0JlcFHFnEJkVDzc=
+github.com/digitorus/timestamp v0.0.0-20231217203849-220c5c2851b7 h1:lxmTCgmHE1GUYL7P0MlNa00M67axePTq+9nBSGddR8I=
+github.com/digitorus/timestamp v0.0.0-20231217203849-220c5c2851b7/go.mod h1:GvWntX9qiTlOud0WkQ6ewFm0LPy5JUR1Xo0Ngbd1w6Y=
github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 h1:MGKhKyiYrvMDZsmLR/+RGffQSXwEkXgfLSA08qDn9AI=
github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598/go.mod h1:0FpDmbrt36utu8jEmeU05dPC9AB5tsLYVVi+ZHfyuwI=
+github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk=
+github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
+github.com/dlclark/regexp2 v1.11.0 h1:G/nrcoOa7ZXlpoa/91N3X7mM3r8eIlMBBJZvsz/mxKI=
+github.com/dlclark/regexp2 v1.11.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8=
+github.com/docker/buildx v0.31.1 h1:zbvbrb9nxBNVV8nnI33f2F+4aAZBA1gY+AmeBFflMqY=
+github.com/docker/buildx v0.31.1/go.mod h1:SD+jYLnt3S4SXqohVtV+8z+dihnOgwMJ8t+bLQvsaCk=
+github.com/docker/cli v29.2.1+incompatible h1:n3Jt0QVCN65eiVBoUTZQM9mcQICCJt3akW4pKAbKdJg=
+github.com/docker/cli v29.2.1+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
+github.com/docker/compose/v5 v5.1.0 h1:HofsoOEJZSAjXzzeGxOub3WK/uEAL0v7g7J1kgmYETY=
+github.com/docker/compose/v5 v5.1.0/go.mod h1:vpHFFnEFlKTz9HjSkRqQz8x77ZuoMoq6CN1VicxFeQM=
+github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk=
+github.com/docker/distribution v2.8.3+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
+github.com/docker/docker v28.5.2+incompatible h1:DBX0Y0zAjZbSrm1uzOkdr1onVghKaftjlSWt4AFexzM=
+github.com/docker/docker v28.5.2+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
+github.com/docker/docker-credential-helpers v0.9.5 h1:EFNN8DHvaiK8zVqFA2DT6BjXE0GzfLOZ38ggPTKePkY=
+github.com/docker/docker-credential-helpers v0.9.5/go.mod h1:v1S+hepowrQXITkEfw6o4+BMbGot02wiKpzWhGUZK6c=
+github.com/docker/go-connections v0.6.0 h1:LlMG9azAe1TqfR7sO+NJttz1gy6KO7VJBh+pMmjSD94=
+github.com/docker/go-connections v0.6.0/go.mod h1:AahvXYshr6JgfUJGdDCs2b5EZG/vmaMAntpSFH5BFKE=
+github.com/docker/go-metrics v0.0.1 h1:AgB/0SvBxihN0X8OR4SjsblXkbMvalQ8cjmtKQ2rQV8=
+github.com/docker/go-metrics v0.0.1/go.mod h1:cG1hvH2utMXtqgqqYE9plW6lDxS3/5ayHzueweSI3Vw=
+github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4=
+github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
+github.com/ebitengine/purego v0.10.0 h1:QIw4xfpWT6GWTzaW5XEKy3HXoqrJGx1ijYHzTF0/ISU=
+github.com/ebitengine/purego v0.10.0/go.mod h1:iIjxzd6CiRiOG0UyXP+V1+jWqUXVjPKLAI0mRfJZTmQ=
+github.com/eiannone/keyboard v0.0.0-20220611211555-0d226195f203 h1:XBBHcIb256gUJtLmY22n99HaZTz+r2Z51xUPi01m3wg=
+github.com/eiannone/keyboard v0.0.0-20220611211555-0d226195f203/go.mod h1:E1jcSv8FaEny+OP/5k9UxZVw9YFWGj7eI4KR/iOBqCg=
+github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg=
+github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
+github.com/fsnotify/fsevents v0.2.0 h1:BRlvlqjvNTfogHfeBOFvSC9N0Ddy+wzQCQukyoD7o/c=
+github.com/fsnotify/fsevents v0.2.0/go.mod h1:B3eEk39i4hz8y1zaWS/wPrAP4O6wkIl7HQwKBr1qH/w=
github.com/fsnotify/fsnotify v1.9.0 h1:2Ml+OJNzbYCTzsxtv8vKSFD9PbJjmhYF14k/jKC7S9k=
github.com/fsnotify/fsnotify v1.9.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0=
+github.com/fvbommel/sortorder v1.1.0 h1:fUmoe+HLsBTctBDoaBwpQo5N+nrCp8g/BjKb/6ZQmYw=
+github.com/fvbommel/sortorder v1.1.0/go.mod h1:uk88iVf1ovNn1iLfgUVU2F9o5eO30ui720w+kxuqRs0=
github.com/go-chi/chi/v5 v5.2.4 h1:WtFKPHwlywe8Srng8j2BhOD9312j9cGUxG1SP4V2cR4=
github.com/go-chi/chi/v5 v5.2.4/go.mod h1:X7Gx4mteadT3eDOMTsXzmI4/rwUpOwBHLpAfupzFJP0=
github.com/go-jet/jet/v2 v2.14.1 h1:wsfD9e7CGP9h46+IFNlftfncBcmVnKddikbTtapQM3M=
github.com/go-jet/jet/v2 v2.14.1/go.mod h1:dqTAECV2Mo3S2NFjbm4vJ1aDruZjhaJ1RAAR8rGUkkc=
github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY=
github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A=
+github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
+github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI=
+github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
+github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
+github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
+github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
+github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
+github.com/go-openapi/analysis v0.24.1 h1:Xp+7Yn/KOnVWYG8d+hPksOYnCYImE3TieBa7rBOesYM=
+github.com/go-openapi/analysis v0.24.1/go.mod h1:dU+qxX7QGU1rl7IYhBC8bIfmWQdX4Buoea4TGtxXY84=
+github.com/go-openapi/errors v0.22.4 h1:oi2K9mHTOb5DPW2Zjdzs/NIvwi2N3fARKaTJLdNabaM=
+github.com/go-openapi/errors v0.22.4/go.mod h1:z9S8ASTUqx7+CP1Q8dD8ewGH/1JWFFLX/2PmAYNQLgk=
+github.com/go-openapi/jsonpointer v0.22.1 h1:sHYI1He3b9NqJ4wXLoJDKmUmHkWy/L7rtEo92JUxBNk=
+github.com/go-openapi/jsonpointer v0.22.1/go.mod h1:pQT9OsLkfz1yWoMgYFy4x3U5GY5nUlsOn1qSBH5MkCM=
+github.com/go-openapi/jsonreference v0.21.3 h1:96Dn+MRPa0nYAR8DR1E03SblB5FJvh7W6krPI0Z7qMc=
+github.com/go-openapi/jsonreference v0.21.3/go.mod h1:RqkUP0MrLf37HqxZxrIAtTWW4ZJIK1VzduhXYBEeGc4=
+github.com/go-openapi/loads v0.23.2 h1:rJXAcP7g1+lWyBHC7iTY+WAF0rprtM+pm8Jxv1uQJp4=
+github.com/go-openapi/loads v0.23.2/go.mod h1:IEVw1GfRt/P2Pplkelxzj9BYFajiWOtY2nHZNj4UnWY=
+github.com/go-openapi/runtime v0.29.2 h1:UmwSGWNmWQqKm1c2MGgXVpC2FTGwPDQeUsBMufc5Yj0=
+github.com/go-openapi/runtime v0.29.2/go.mod h1:biq5kJXRJKBJxTDJXAa00DOTa/anflQPhT0/wmjuy+0=
+github.com/go-openapi/spec v0.22.1 h1:beZMa5AVQzRspNjvhe5aG1/XyBSMeX1eEOs7dMoXh/k=
+github.com/go-openapi/spec v0.22.1/go.mod h1:c7aeIQT175dVowfp7FeCvXXnjN/MrpaONStibD2WtDA=
+github.com/go-openapi/strfmt v0.25.0 h1:7R0RX7mbKLa9EYCTHRcCuIPcaqlyQiWNPTXwClK0saQ=
+github.com/go-openapi/strfmt v0.25.0/go.mod h1:nNXct7OzbwrMY9+5tLX4I21pzcmE6ccMGXl3jFdPfn8=
+github.com/go-openapi/swag v0.25.3 h1:FAa5wJXyDtI7yUztKDfZxDrSx+8WTg31MfCQ9s3PV+s=
+github.com/go-openapi/swag v0.25.3/go.mod h1:tX9vI8Mj8Ny+uCEk39I1QADvIPI7lkndX4qCsEqhkS8=
+github.com/go-openapi/swag/cmdutils v0.25.3 h1:EIwGxN143JCThNHnqfqs85R8lJcJG06qjJRZp3VvjLI=
+github.com/go-openapi/swag/cmdutils v0.25.3/go.mod h1:pdae/AFo6WxLl5L0rq87eRzVPm/XRHM3MoYgRMvG4A0=
+github.com/go-openapi/swag/conv v0.25.3 h1:PcB18wwfba7MN5BVlBIV+VxvUUeC2kEuCEyJ2/t2X7E=
+github.com/go-openapi/swag/conv v0.25.3/go.mod h1:n4Ibfwhn8NJnPXNRhBO5Cqb9ez7alBR40JS4rbASUPU=
+github.com/go-openapi/swag/fileutils v0.25.3 h1:P52Uhd7GShkeU/a1cBOuqIcHMHBrA54Z2t5fLlE85SQ=
+github.com/go-openapi/swag/fileutils v0.25.3/go.mod h1:cdOT/PKbwcysVQ9Tpr0q20lQKH7MGhOEb6EwmHOirUk=
+github.com/go-openapi/swag/jsonname v0.25.3 h1:U20VKDS74HiPaLV7UZkztpyVOw3JNVsit+w+gTXRj0A=
+github.com/go-openapi/swag/jsonname v0.25.3/go.mod h1:GPVEk9CWVhNvWhZgrnvRA6utbAltopbKwDu8mXNUMag=
+github.com/go-openapi/swag/jsonutils v0.25.3 h1:kV7wer79KXUM4Ea4tBdAVTU842Rg6tWstX3QbM4fGdw=
+github.com/go-openapi/swag/jsonutils v0.25.3/go.mod h1:ILcKqe4HC1VEZmJx51cVuZQ6MF8QvdfXsQfiaCs0z9o=
+github.com/go-openapi/swag/loading v0.25.3 h1:Nn65Zlzf4854MY6Ft0JdNrtnHh2bdcS/tXckpSnOb2Y=
+github.com/go-openapi/swag/loading v0.25.3/go.mod h1:xajJ5P4Ang+cwM5gKFrHBgkEDWfLcsAKepIuzTmOb/c=
+github.com/go-openapi/swag/mangling v0.25.3 h1:rGIrEzXaYWuUW1MkFmG3pcH+EIA0/CoUkQnIyB6TUyo=
+github.com/go-openapi/swag/mangling v0.25.3/go.mod h1:6dxwu6QyORHpIIApsdZgb6wBk/DPU15MdyYj/ikn0Hg=
+github.com/go-openapi/swag/netutils v0.25.3 h1:XWXHZfL/65ABiv8rvGp9dtE0C6QHTYkCrNV77jTl358=
+github.com/go-openapi/swag/netutils v0.25.3/go.mod h1:m2W8dtdaoX7oj9rEttLyTeEFFEBvnAx9qHd5nJEBzYg=
+github.com/go-openapi/swag/stringutils v0.25.3 h1:nAmWq1fUTWl/XiaEPwALjp/8BPZJun70iDHRNq/sH6w=
+github.com/go-openapi/swag/stringutils v0.25.3/go.mod h1:GTsRvhJW5xM5gkgiFe0fV3PUlFm0dr8vki6/VSRaZK0=
+github.com/go-openapi/swag/typeutils v0.25.3 h1:2w4mEEo7DQt3V4veWMZw0yTPQibiL3ri2fdDV4t2TQc=
+github.com/go-openapi/swag/typeutils v0.25.3/go.mod h1:Ou7g//Wx8tTLS9vG0UmzfCsjZjKhpjxayRKTHXf2pTE=
+github.com/go-openapi/swag/yamlutils v0.25.3 h1:LKTJjCn/W1ZfMec0XDL4Vxh8kyAnv1orH5F2OREDUrg=
+github.com/go-openapi/swag/yamlutils v0.25.3/go.mod h1:Y7QN6Wc5DOBXK14/xeo1cQlq0EA0wvLoSv13gDQoCao=
+github.com/go-openapi/validate v0.25.1 h1:sSACUI6Jcnbo5IWqbYHgjibrhhmt3vR6lCzKZnmAgBw=
+github.com/go-openapi/validate v0.25.1/go.mod h1:RMVyVFYte0gbSTaZ0N4KmTn6u/kClvAFp+mAVfS/DQc=
+github.com/go-resty/resty/v2 v2.17.2 h1:FQW5oHYcIlkCNrMD2lloGScxcHJ0gkjshV3qcQAyHQk=
+github.com/go-resty/resty/v2 v2.17.2/go.mod h1:kCKZ3wWmwJaNc7S29BRtUhJwy7iqmn+2mLtQrOyQlVA=
github.com/go-sql-driver/mysql v1.9.3 h1:U/N249h2WzJ3Ukj8SowVFjdtZKfu9vlLZxjPXV1aweo=
github.com/go-sql-driver/mysql v1.9.3/go.mod h1:qn46aNg1333BRMNU69Lq93t8du/dwxI64Gl8i5p1WMU=
github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
-github.com/go-viper/mapstructure/v2 v2.4.0 h1:EBsztssimR/CONLSZZ04E8qAkxNYq4Qp9LvH92wZUgs=
-github.com/go-viper/mapstructure/v2 v2.4.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
+github.com/go-viper/mapstructure/v2 v2.5.0 h1:vM5IJoUAy3d7zRSVtIwQgBj7BiWtMPfmPEgAXnvj1Ro=
+github.com/go-viper/mapstructure/v2 v2.5.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
+github.com/gofrs/flock v0.13.0 h1:95JolYOvGMqeH31+FC7D2+uULf6mG61mEZ/A8dRYMzw=
+github.com/gofrs/flock v0.13.0/go.mod h1:jxeyy9R1auM5S6JYDBhDt+E2TCo7DkratH4Pgi8P+Z0=
github.com/gofrs/uuid v4.0.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
+github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
+github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
github.com/gohugoio/hashstructure v0.6.0 h1:7wMB/2CfXoThFYhdWRGv3u3rUM761Cq29CxUW+NltUg=
github.com/gohugoio/hashstructure v0.6.0/go.mod h1:lapVLk9XidheHG1IQ4ZSbyYrXcaILU1ZEP/+vno5rBQ=
+github.com/golang-jwt/jwt/v5 v5.3.0 h1:pv4AsKCKKZuqlgs5sUmn4x8UlGa0kEVt/puTpKx9vvo=
+github.com/golang-jwt/jwt/v5 v5.3.0/go.mod h1:fxCRLWMO43lRc8nhHWY6LGqRcf+1gQWArsqaEUEa5bE=
+github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 h1:f+oWsMOmNPc8JmEHVZIycC7hBoQxHH9pNKQORJNozsQ=
+github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8/go.mod h1:wcDNUvekVysuuOpQKo3191zZyTpiI6se1N1ULghS0sw=
+github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
+github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
+github.com/google/certificate-transparency-go v1.3.2 h1:9ahSNZF2o7SYMaKaXhAumVEzXB2QaayzII9C8rv7v+A=
+github.com/google/certificate-transparency-go v1.3.2/go.mod h1:H5FpMUaGa5Ab2+KCYsxg6sELw3Flkl7pGZzWdBoYLXs=
+github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
+github.com/google/go-containerregistry v0.20.7 h1:24VGNpS0IwrOZ2ms2P1QE3Xa5X9p4phx0aUgzYzHW6I=
+github.com/google/go-containerregistry v0.20.7/go.mod h1:Lx5LCZQjLH1QBaMPeGwsME9biPeo1lPx6lbGj/UmzgM=
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
+github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4=
+github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
-github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg=
-github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
+github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY=
+github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ=
+github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 h1:JeSE6pjso5THxAzdVpqr6/geYxZytqFMBCOtn/ujyeo=
+github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674/go.mod h1:r4w70xmWCQKmi1ONH4KIaBptdivuRPyosB9RmPlGEwA=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.28.0 h1:HWRh5R2+9EifMyIHV7ZV+MIZqgz+PMpZ14Jynv3O2Zs=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.28.0/go.mod h1:JfhWUomR1baixubs02l85lZYYOm7LV6om4ceouMv45c=
+github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
+github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I=
+github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
+github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo=
+github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM=
+github.com/hashicorp/go-version v1.8.0 h1:KAkNb1HAiZd1ukkxDFGmokVZe1Xy9HG6NUp+bPle2i4=
+github.com/hashicorp/go-version v1.8.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
+github.com/in-toto/attestation v1.1.2 h1:MBFn6lsMq6dptQZJBhalXTcWMb/aJy3V+GX3VYj/V1E=
+github.com/in-toto/attestation v1.1.2/go.mod h1:gYFddHMZj3DiQ0b62ltNi1Vj5rC879bTmBbrv9CRHpM=
+github.com/in-toto/in-toto-golang v0.9.0 h1:tHny7ac4KgtsfrG6ybU8gVOZux2H8jN05AXJ9EBM1XU=
+github.com/in-toto/in-toto-golang v0.9.0/go.mod h1:xsBVrVsHNsB61++S6Dy2vWosKhuA3lUTQd+eF9HdeMo=
+github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
+github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
+github.com/inhies/go-bytesize v0.0.0-20220417184213-4913239db9cf h1:FtEj8sfIcaaBfAKrE1Cwb61YDtYq9JxChK1c7AKce7s=
+github.com/inhies/go-bytesize v0.0.0-20220417184213-4913239db9cf/go.mod h1:yrqSXGoD/4EKfF26AOGzscPOgTTJcyAwM2rpixWT+t4=
github.com/jackc/chunkreader v1.0.0/go.mod h1:RT6O25fNZIuasFJRyZ4R/Y2BbhasbmZXF9QQ7T3kePo=
github.com/jackc/chunkreader/v2 v2.0.0/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk=
github.com/jackc/chunkreader/v2 v2.0.1 h1:i+RDz65UE+mmpjTfyz0MoVTnzeYxroil2G82ki7MGG8=
@@ -95,7 +293,12 @@ github.com/jackc/puddle/v2 v2.2.2 h1:PR8nw+E/1w0GLuRFSmiioY6UooMp6KJv0/61nB7icHo
github.com/jackc/puddle/v2 v2.2.2/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4=
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0=
github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=
+github.com/jonboulle/clockwork v0.5.0 h1:Hyh9A8u51kptdkR+cqRpT1EebBwTn1oK9YfGYbdFz6I=
+github.com/jonboulle/clockwork v0.5.0/go.mod h1:3mZlmanh0g2NDKO5TWZVJAfofYk64M7XN3SzBPjZF60=
+github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
+github.com/klauspost/compress v1.18.3 h1:9PJRvfbmTabkOX8moIpXPbMMbYN60bWImDDU7L+/6zw=
+github.com/klauspost/compress v1.18.3/go.mod h1:R0h/fSBs8DE4ENlcrlib3PsXS61voFxhIs2DeRhCvJ4=
github.com/knadh/koanf/maps v0.1.2 h1:RBfmAW5CnZT+PJ1CVc1QSJKf4Xu9kxfQgYVQSu8hpbo=
github.com/knadh/koanf/maps v0.1.2/go.mod h1:npD/QZY3V6ghQDdcQzl1W4ICNVTkohC8E73eI2xW4yI=
github.com/knadh/koanf/parsers/dotenv v1.1.1 h1:vfiRFsxq0ouiVs4t+R/VVA3TMrX5+VH14iEX6J5B1s4=
@@ -109,8 +312,8 @@ github.com/knadh/koanf/v2 v2.3.3/go.mod h1:gRb40VRAbd4iJMYYD5IxZ6hfuopFcXBpc9bbQ
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
-github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0=
-github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk=
+github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
+github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
@@ -122,6 +325,10 @@ github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
github.com/lib/pq v1.10.2/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw=
github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
+github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 h1:6E+4a0GO5zZEnZ81pIr0yLvtUWk2if982qA3F3QD6H4=
+github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I=
+github.com/magiconair/properties v1.8.10 h1:s31yESBquKXCV9a/ScB3ESkOjUYYv+X0rg8SYxI99mE=
+github.com/magiconair/properties v1.8.10/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0=
github.com/manveru/faker v0.0.0-20171103152722-9fbc68a78c4d h1:Zj+PHjnhRYWBK6RqCDBcAhLXoi3TzC27Zad/Vn+gnVQ=
github.com/manveru/faker v0.0.0-20171103152722-9fbc68a78c4d/go.mod h1:WZy8Q5coAB1zhY9AOBJP0O6J4BuDfbupUDavKY+I3+s=
github.com/manveru/gobdd v0.0.0-20131210092515-f1a17fdd710b h1:3E44bLeN8uKYdfQqVQycPnaVviZdBLbizFhU49mtbe4=
@@ -131,31 +338,137 @@ github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope
github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
+github.com/mattn/go-runewidth v0.0.16 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6TULQc=
+github.com/mattn/go-runewidth v0.0.16/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
+github.com/mattn/go-shellwords v1.0.12 h1:M2zGm7EW6UQJvDeQxo4T51eKPurbeFbe8WtebGE2xrk=
+github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y=
github.com/mattn/go-sqlite3 v1.14.28 h1:ThEiQrnbtumT+QMknw63Befp/ce/nUPgBPMlRFEum7A=
github.com/mattn/go-sqlite3 v1.14.28/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y=
github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw=
github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s=
+github.com/mitchellh/hashstructure/v2 v2.0.2 h1:vGKWl0YJqUNxE8d+h8f6NJLcCJrgbhC4NcD46KavDd4=
+github.com/mitchellh/hashstructure/v2 v2.0.2/go.mod h1:MG3aRVU/N29oo/V/IhBX8GR/zz4kQkprJgF2EVszyDE=
github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ=
github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
+github.com/moby/buildkit v0.27.1 h1:qlIWpnZzqCkrYiGkctM1gBD/YZPOJTjtUdRBlI0oBOU=
+github.com/moby/buildkit v0.27.1/go.mod h1:99qLrCrIAFgEOiFnCi9Y0Wwp6/qA7QvZ3uq/6wF0IsI=
+github.com/moby/docker-image-spec v1.3.1 h1:jMKff3w6PgbfSa69GfNg+zN/XLhfXJGnEx3Nl2EsFP0=
+github.com/moby/docker-image-spec v1.3.1/go.mod h1:eKmb5VW8vQEh/BAr2yvVNvuiJuY6UIocYsFu/DxxRpo=
+github.com/moby/go-archive v0.2.0 h1:zg5QDUM2mi0JIM9fdQZWC7U8+2ZfixfTYoHL7rWUcP8=
+github.com/moby/go-archive v0.2.0/go.mod h1:mNeivT14o8xU+5q1YnNrkQVpK+dnNe/K6fHqnTg4qPU=
+github.com/moby/locker v1.0.1 h1:fOXqR41zeveg4fFODix+1Ch4mj/gT0NE1XJbp/epuBg=
+github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc=
+github.com/moby/moby/api v1.53.0 h1:PihqG1ncw4W+8mZs69jlwGXdaYBeb5brF6BL7mPIS/w=
+github.com/moby/moby/api v1.53.0/go.mod h1:8mb+ReTlisw4pS6BRzCMts5M49W5M7bKt1cJy/YbAqc=
+github.com/moby/moby/client v0.2.2 h1:Pt4hRMCAIlyjL3cr8M5TrXCwKzguebPAc2do2ur7dEM=
+github.com/moby/moby/client v0.2.2/go.mod h1:2EkIPVNCqR05CMIzL1mfA07t0HvVUUOl85pasRz/GmQ=
+github.com/moby/patternmatcher v0.6.0 h1:GmP9lR19aU5GqSSFko+5pRqHi+Ohk1O69aFiKkVGiPk=
+github.com/moby/patternmatcher v0.6.0/go.mod h1:hDPoyOpDY7OrrMDLaYoY3hf52gNCR/YOUYxkhApJIxc=
+github.com/moby/sys/atomicwriter v0.1.0 h1:kw5D/EqkBwsBFi0ss9v1VG3wIkVhzGvLklJ+w3A14Sw=
+github.com/moby/sys/atomicwriter v0.1.0/go.mod h1:Ul8oqv2ZMNHOceF643P6FKPXeCmYtlQMvpizfsSoaWs=
+github.com/moby/sys/capability v0.4.0 h1:4D4mI6KlNtWMCM1Z/K0i7RV1FkX+DBDHKVJpCndZoHk=
+github.com/moby/sys/capability v0.4.0/go.mod h1:4g9IK291rVkms3LKCDOoYlnV8xKwoDTpIrNEE35Wq0I=
+github.com/moby/sys/mountinfo v0.7.2 h1:1shs6aH5s4o5H2zQLn796ADW1wMrIwHsyJ2v9KouLrg=
+github.com/moby/sys/mountinfo v0.7.2/go.mod h1:1YOa8w8Ih7uW0wALDUgT1dTTSBrZ+HiBLGws92L2RU4=
+github.com/moby/sys/sequential v0.6.0 h1:qrx7XFUd/5DxtqcoH1h438hF5TmOvzC/lspjy7zgvCU=
+github.com/moby/sys/sequential v0.6.0/go.mod h1:uyv8EUTrca5PnDsdMGXhZe6CCe8U/UiTWd+lL+7b/Ko=
+github.com/moby/sys/signal v0.7.1 h1:PrQxdvxcGijdo6UXXo/lU/TvHUWyPhj7UOpSo8tuvk0=
+github.com/moby/sys/signal v0.7.1/go.mod h1:Se1VGehYokAkrSQwL4tDzHvETwUZlnY7S5XtQ50mQp8=
+github.com/moby/sys/symlink v0.3.0 h1:GZX89mEZ9u53f97npBy4Rc3vJKj7JBDj/PN2I22GrNU=
+github.com/moby/sys/symlink v0.3.0/go.mod h1:3eNdhduHmYPcgsJtZXW1W4XUJdZGBIkttZ8xKqPUJq0=
+github.com/moby/sys/user v0.4.0 h1:jhcMKit7SA80hivmFJcbB1vqmw//wU61Zdui2eQXuMs=
+github.com/moby/sys/user v0.4.0/go.mod h1:bG+tYYYJgaMtRKgEmuueC0hJEAZWwtIbZTB+85uoHjs=
+github.com/moby/sys/userns v0.1.0 h1:tVLXkFOxVu9A64/yh59slHVv9ahO9UIev4JZusOLG/g=
+github.com/moby/sys/userns v0.1.0/go.mod h1:IHUYgu/kao6N8YZlp9Cf444ySSvCmDlmzUcYfDHOl28=
+github.com/moby/term v0.5.2 h1:6qk3FJAFDs6i/q3W/pQ97SX192qKfZgGjCQqfCJkgzQ=
+github.com/moby/term v0.5.2/go.mod h1:d3djjFCrjnB+fl8NJux+EJzu0msscUP+f8it8hPkFLc=
+github.com/morikuni/aec v1.1.0 h1:vBBl0pUnvi/Je71dsRrhMBtreIqNMYErSAbEeb8jrXQ=
+github.com/morikuni/aec v1.1.0/go.mod h1:xDRgiq/iw5l+zkao76YTKzKttOp2cwPEne25HDkJnBw=
+github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
+github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
+github.com/oklog/ulid v1.3.1 h1:EGfNDEx6MqHz8B3uNV6QAib1UR2Lm97sHi3ocA6ESJ4=
+github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U=
+github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
+github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
+github.com/opencontainers/image-spec v1.1.1 h1:y0fUlFfIZhPF1W537XOLg0/fcx6zcHCJwooC2xJA040=
+github.com/opencontainers/image-spec v1.1.1/go.mod h1:qpqAh3Dmcf36wStyyWU+kCeDgrGnAve2nCC8+7h8Q0M=
+github.com/opencontainers/runtime-spec v1.3.0 h1:YZupQUdctfhpZy3TM39nN9Ika5CBWT5diQ8ibYCRkxg=
+github.com/opencontainers/runtime-spec v1.3.0/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
+github.com/opencontainers/selinux v1.13.1 h1:A8nNeceYngH9Ow++M+VVEwJVpdFmrlxsN22F+ISDCJE=
+github.com/opencontainers/selinux v1.13.1/go.mod h1:S10WXZ/osk2kWOYKy1x2f/eXF5ZHJoUs8UU/2caNRbg=
+github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8=
+github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
-github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
+github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
+github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
+github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 h1:GFCKgmp0tecUJ0sJuv4pzYCqS9+RGSn52M3FUwPs+uo=
+github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10/go.mod h1:t/avpk3KcrXxUnYOhZhMXJlSEyie6gQbtLq5NM3loB8=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
+github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 h1:o4JXh1EVt9k/+g42oCprj/FisM4qX9L3sZB3upGN2ZU=
+github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
+github.com/prometheus/client_golang v1.23.2 h1:Je96obch5RDVy3FDMndoUsjAhG5Edi49h0RJWRi/o0o=
+github.com/prometheus/client_golang v1.23.2/go.mod h1:Tb1a6LWHB3/SPIzCoaDXI4I8UHKeFTEQ1YCr+0Gyqmg=
+github.com/prometheus/client_model v0.6.2 h1:oBsgwpGs7iVziMvrGhE53c/GrLUsZdHnqNwqPLxwZyk=
+github.com/prometheus/client_model v0.6.2/go.mod h1:y3m2F6Gdpfy6Ut/GBsUqTWZqCUvMVzSfMLjcu6wAwpE=
+github.com/prometheus/common v0.66.1 h1:h5E0h5/Y8niHc5DlaLlWLArTQI7tMrsfQjHV+d9ZoGs=
+github.com/prometheus/common v0.66.1/go.mod h1:gcaUsgf3KfRSwHY4dIMXLPV0K/Wg1oZ8+SbZk/HH/dA=
+github.com/prometheus/procfs v0.17.0 h1:FuLQ+05u4ZI+SS/w9+BWEM2TXiHKsUQ9TADiRH7DuK0=
+github.com/prometheus/procfs v0.17.0/go.mod h1:oPQLaDAMRbA+u8H5Pbfq+dl3VDAvHxMUOVhe0wYB2zw=
+github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
+github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
+github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ=
github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc=
github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ=
github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU=
github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThCjNc=
+github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
+github.com/santhosh-tekuri/jsonschema/v6 v6.0.1 h1:PKK9DyHxif4LZo+uQSgXNqs0jj5+xZwwfKHgph2lxBw=
+github.com/santhosh-tekuri/jsonschema/v6 v6.0.1/go.mod h1:JXeL+ps8p7/KNMjDQk3TCwPpBy0wYklyWTfbkIzdIFU=
github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0=
+github.com/secure-systems-lab/go-securesystemslib v0.9.1 h1:nZZaNz4DiERIQguNy0cL5qTdn9lR8XKHf4RUyG1Sx3g=
+github.com/secure-systems-lab/go-securesystemslib v0.9.1/go.mod h1:np53YzT0zXGMv6x4iEWc9Z59uR+x+ndLwCLqPYpLXVU=
+github.com/shibumi/go-pathspec v1.3.0 h1:QUyMZhFo0Md5B8zV8x2tesohbb5kfbpTi9rBnKh5dkI=
+github.com/shibumi/go-pathspec v1.3.0/go.mod h1:Xutfslp817l2I1cZvgcfeMQJG5QnU2lh5tVaaMCl3jE=
+github.com/shirou/gopsutil/v4 v4.26.2 h1:X8i6sicvUFih4BmYIGT1m2wwgw2VG9YgrDTi7cIRGUI=
+github.com/shirou/gopsutil/v4 v4.26.2/go.mod h1:LZ6ewCSkBqUpvSOf+LsTGnRinC6iaNUNMGBtDkJBaLQ=
github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4=
github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o=
+github.com/sigstore/protobuf-specs v0.5.0 h1:F8YTI65xOHw70NrvPwJ5PhAzsvTnuJMGLkA4FIkofAY=
+github.com/sigstore/protobuf-specs v0.5.0/go.mod h1:+gXR+38nIa2oEupqDdzg4qSBT0Os+sP7oYv6alWewWc=
+github.com/sigstore/rekor v1.4.3 h1:2+aw4Gbgumv8vYM/QVg6b+hvr4x4Cukur8stJrVPKU0=
+github.com/sigstore/rekor v1.4.3/go.mod h1:o0zgY087Q21YwohVvGwV9vK1/tliat5mfnPiVI3i75o=
+github.com/sigstore/rekor-tiles/v2 v2.0.1 h1:1Wfz15oSRNGF5Dzb0lWn5W8+lfO50ork4PGIfEKjZeo=
+github.com/sigstore/rekor-tiles/v2 v2.0.1/go.mod h1:Pjsbhzj5hc3MKY8FfVTYHBUHQEnP0ozC4huatu4x7OU=
+github.com/sigstore/sigstore v1.10.4 h1:ytOmxMgLdcUed3w1SbbZOgcxqwMG61lh1TmZLN+WeZE=
+github.com/sigstore/sigstore v1.10.4/go.mod h1:tDiyrdOref3q6qJxm2G+JHghqfmvifB7hw+EReAfnbI=
+github.com/sigstore/sigstore-go v1.1.4-0.20251124094504-b5fe07a5a7d7 h1:94NLPmq4bxvdmslzcG670IOkrlS98CGpmob8cjpFHuI=
+github.com/sigstore/sigstore-go v1.1.4-0.20251124094504-b5fe07a5a7d7/go.mod h1:4r/PNX0G7uzkLpc3PSdYs5E2k4bWEJNXTK6kwAyw9TM=
+github.com/sigstore/timestamp-authority/v2 v2.0.2 h1:WavlEeLh6HKt+osbmsHDg6/FaM/8Pz9iVUMh9pAsl/o=
+github.com/sigstore/timestamp-authority/v2 v2.0.2/go.mod h1:D+wbQg8ASQzKnwBhLo7rIJD+9Zev4Ppqd4myPe8k57E=
github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q=
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
+github.com/sirupsen/logrus v1.9.4 h1:TsZE7l11zFCLZnZ+teH4Umoq5BhEIfIzfRDZ1Uzql2w=
+github.com/sirupsen/logrus v1.9.4/go.mod h1:ftWc9WdOfJ0a92nsE2jF5u5ZwH8Bv2zdeOC42RjbV2g=
+github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 h1:JIAuq3EEf9cgbU6AtGPK4CTG3Zf6CKMNqf0MHTggAUA=
+github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966/go.mod h1:sUM3LWHvSMaG192sy56D9F7CNvL7jUJVXoqM1QKLnog=
+github.com/spdx/tools-golang v0.5.7 h1:+sWcKGnhwp3vLdMqPcLdA6QK679vd86cK9hQWH3AwCg=
+github.com/spdx/tools-golang v0.5.7/go.mod h1:jg7w0LOpoNAw6OxKEzCoqPC2GCTj45LyTlVmXubDsYw=
+github.com/spf13/cobra v1.10.2 h1:DMTTonx5m65Ic0GOoRY2c16WCbHxOOw6xxezuLaBpcU=
+github.com/spf13/cobra v1.10.2/go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiTUUS4=
+github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
+github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk=
+github.com/spf13/pflag v1.0.10/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE=
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
+github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
+github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
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=
@@ -166,12 +479,85 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
+github.com/testcontainers/testcontainers-go v0.41.0 h1:mfpsD0D36YgkxGj2LrIyxuwQ9i2wCKAD+ESsYM1wais=
+github.com/testcontainers/testcontainers-go v0.41.0/go.mod h1:pdFrEIfaPl24zmBjerWTTYaY0M6UHsqA1YSvsoU40MI=
+github.com/testcontainers/testcontainers-go/modules/compose v0.41.0 h1:6ttsQ6IilJYMoTFI2gu9l7KmKlnlY9XGkP0wtgh4rF4=
+github.com/testcontainers/testcontainers-go/modules/compose v0.41.0/go.mod h1:6PfaNLXsylvZE5CID8QMZ4fWjLHORvqm1xcGBncdzAY=
+github.com/theupdateframework/go-tuf v0.7.0 h1:CqbQFrWo1ae3/I0UCblSbczevCCbS31Qvs5LdxRWqRI=
+github.com/theupdateframework/go-tuf/v2 v2.3.0 h1:gt3X8xT8qu/HT4w+n1jgv+p7koi5ad8XEkLXXZqG9AA=
+github.com/theupdateframework/go-tuf/v2 v2.3.0/go.mod h1:xW8yNvgXRncmovMLvBxKwrKpsOwJZu/8x+aB0KtFcdw=
+github.com/tilt-dev/fsnotify v1.4.8-0.20220602155310-fff9c274a375 h1:QB54BJwA6x8QU9nHY3xJSZR2kX9bgpZekRKGkLTmEXA=
+github.com/tilt-dev/fsnotify v1.4.8-0.20220602155310-fff9c274a375/go.mod h1:xRroudyp5iVtxKqZCrA6n2TLFRBf8bmnjr1UD4x+z7g=
+github.com/tklauser/go-sysconf v0.3.16 h1:frioLaCQSsF5Cy1jgRBrzr6t502KIIwQ0MArYICU0nA=
+github.com/tklauser/go-sysconf v0.3.16/go.mod h1:/qNL9xxDhc7tx3HSRsLWNnuzbVfh3e7gh/BmM179nYI=
+github.com/tklauser/numcpus v0.11.0 h1:nSTwhKH5e1dMNsCdVBukSZrURJRoHbSEQjdEbY+9RXw=
+github.com/tklauser/numcpus v0.11.0/go.mod h1:z+LwcLq54uWZTX0u/bGobaV34u6V7KNlTZejzM6/3MQ=
+github.com/tonistiigi/dchapes-mode v0.0.0-20250318174251-73d941a28323 h1:r0p7fK56l8WPequOaR3i9LBqfPtEdXIQbUTzT55iqT4=
+github.com/tonistiigi/dchapes-mode v0.0.0-20250318174251-73d941a28323/go.mod h1:3Iuxbr0P7D3zUzBMAZB+ois3h/et0shEz0qApgHYGpY=
+github.com/tonistiigi/fsutil v0.0.0-20251211185533-a2aa163d723f h1:Z4NEQ86qFl1mHuCu9gwcE+EYCwDKfXAYXZbdIXyxmEA=
+github.com/tonistiigi/fsutil v0.0.0-20251211185533-a2aa163d723f/go.mod h1:BKdcez7BiVtBvIcef90ZPc6ebqIWr4JWD7+EvLm6J98=
+github.com/tonistiigi/go-csvvalue v0.0.0-20240814133006-030d3b2625d0 h1:2f304B10LaZdB8kkVEaoXvAMVan2tl9AiK4G0odjQtE=
+github.com/tonistiigi/go-csvvalue v0.0.0-20240814133006-030d3b2625d0/go.mod h1:278M4p8WsNh3n4a1eqiFcV2FGk7wE5fwUpUom9mK9lE=
+github.com/tonistiigi/units v0.0.0-20180711220420-6950e57a87ea h1:SXhTLE6pb6eld/v/cCndK0AMpt1wiVFb/YYmqB3/QG0=
+github.com/tonistiigi/units v0.0.0-20180711220420-6950e57a87ea/go.mod h1:WPnis/6cRcDZSUvVmezrxJPkiO87ThFYsoUiMwWNDJk=
+github.com/tonistiigi/vt100 v0.0.0-20240514184818-90bafcd6abab h1:H6aJ0yKQ0gF49Qb2z5hI1UHxSQt4JMyxebFR15KnApw=
+github.com/tonistiigi/vt100 v0.0.0-20240514184818-90bafcd6abab/go.mod h1:ulncasL3N9uLrVann0m+CDlJKWsIAP34MPcOJF6VRvc=
+github.com/transparency-dev/formats v0.0.0-20251017110053-404c0d5b696c h1:5a2XDQ2LiAUV+/RjckMyq9sXudfrPSuCY4FuPC1NyAw=
+github.com/transparency-dev/formats v0.0.0-20251017110053-404c0d5b696c/go.mod h1:g85IafeFJZLxlzZCDRu4JLpfS7HKzR+Hw9qRh3bVzDI=
+github.com/transparency-dev/merkle v0.0.2 h1:Q9nBoQcZcgPamMkGn7ghV8XiTZ/kRxn1yCG81+twTK4=
+github.com/transparency-dev/merkle v0.0.2/go.mod h1:pqSy+OXefQ1EDUVmAJ8MUhHB9TXGuzVAT58PqBoHz1A=
+github.com/vbatts/tar-split v0.12.2 h1:w/Y6tjxpeiFMR47yzZPlPj/FcPLpXbTUi/9H7d3CPa4=
+github.com/vbatts/tar-split v0.12.2/go.mod h1:eF6B6i6ftWQcDqEn3/iGFRFRo8cBIMSJVOpnNdfTMFA=
+github.com/xhit/go-str2duration/v2 v2.1.0 h1:lxklc02Drh6ynqX+DdPyp5pCKLUQpRT8bp8Ydu2Bstc=
+github.com/xhit/go-str2duration/v2 v2.1.0/go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU=
+github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
+github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
+github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0=
+github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q=
+go.mongodb.org/mongo-driver v1.17.6 h1:87JUG1wZfWsr6rIz3ZmpH90rL5tea7O3IHuSwHUpsss=
+go.mongodb.org/mongo-driver v1.17.6/go.mod h1:Hy04i7O2kC4RS06ZrhPRqj/u4DTYkFDAAccj+rVKqgQ=
+go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0=
+go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo=
+go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64=
+go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.63.0 h1:YH4g8lQroajqUwWbq/tr2QX1JFmEXaDLgG+ew9bLMWo=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.63.0/go.mod h1:fvPi2qXDqFs8M4B4fmJhE92TyQs9Ydjlg3RvfUp+NbQ=
+go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.63.0 h1:2pn7OzMewmYRiNtv1doZnLo3gONcnMHlFnmOR8Vgt+8=
+go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.63.0/go.mod h1:rjbQTDEPQymPE0YnRQp9/NuPwwtL0sesz/fnqRW/v84=
+go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0 h1:RbKq8BG0FI8OiXhBfcRtqqHcZcka+gU3cskNuf05R18=
+go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0/go.mod h1:h06DGIukJOevXaj/xrNjhi/2098RZzcLTbc0jDAUbsg=
+go.opentelemetry.io/otel v1.41.0 h1:YlEwVsGAlCvczDILpUXpIpPSL/VPugt7zHThEMLce1c=
+go.opentelemetry.io/otel v1.41.0/go.mod h1:Yt4UwgEKeT05QbLwbyHXEwhnjxNO6D8L5PQP51/46dE=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.38.0 h1:vl9obrcoWVKp/lwl8tRE33853I8Xru9HFbw/skNeLs8=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.38.0/go.mod h1:GAXRxmLJcVM3u22IjTg74zWBrRCKq8BnOqUVLodpcpw=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.38.0 h1:Oe2z/BCg5q7k4iXC3cqJxKYg0ieRiOqF0cecFYdPTwk=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.38.0/go.mod h1:ZQM5lAJpOsKnYagGg/zV2krVqTtaVdYdDkhMoX6Oalg=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.41.0 h1:ao6Oe+wSebTlQ1OEht7jlYTzQKE+pnx/iNywFvTbuuI=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.41.0/go.mod h1:u3T6vz0gh/NVzgDgiwkgLxpsSF6PaPmo2il0apGJbls=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.38.0 h1:lwI4Dc5leUqENgGuQImwLo4WnuXFPetmPpkLi2IrX54=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.38.0/go.mod h1:Kz/oCE7z5wuyhPxsXDuaPteSWqjSBD5YaSdbxZYGbGk=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.41.0 h1:inYW9ZhgqiDqh6BioM7DVHHzEGVq76Db5897WLGZ5Go=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.41.0/go.mod h1:Izur+Wt8gClgMJqO/cZ8wdeeMryJ/xxiOVgFSSfpDTY=
+go.opentelemetry.io/otel/metric v1.41.0 h1:rFnDcs4gRzBcsO9tS8LCpgR0dxg4aaxWlJxCno7JlTQ=
+go.opentelemetry.io/otel/metric v1.41.0/go.mod h1:xPvCwd9pU0VN8tPZYzDZV/BMj9CM9vs00GuBjeKhJps=
+go.opentelemetry.io/otel/sdk v1.41.0 h1:YPIEXKmiAwkGl3Gu1huk1aYWwtpRLeskpV+wPisxBp8=
+go.opentelemetry.io/otel/sdk v1.41.0/go.mod h1:ahFdU0G5y8IxglBf0QBJXgSe7agzjE4GiTJ6HT9ud90=
+go.opentelemetry.io/otel/sdk/metric v1.41.0 h1:siZQIYBAUd1rlIWQT2uCxWJxcCO7q3TriaMlf08rXw8=
+go.opentelemetry.io/otel/sdk/metric v1.41.0/go.mod h1:HNBuSvT7ROaGtGI50ArdRLUnvRTRGniSUZbxiWxSO8Y=
+go.opentelemetry.io/otel/trace v1.41.0 h1:Vbk2co6bhj8L59ZJ6/xFTskY+tGAbOnCtQGVVa9TIN0=
+go.opentelemetry.io/otel/trace v1.41.0/go.mod h1:U1NU4ULCoxeDKc09yCWdWe+3QoyweJcISEVa1RBzOis=
+go.opentelemetry.io/proto/otlp v1.9.0 h1:l706jCMITVouPOqEnii2fIAuO3IVGBRPV5ICjceRb/A=
+go.opentelemetry.io/proto/otlp v1.9.0/go.mod h1:xE+Cx5E/eEHw+ISFkwPLwCZefwVjY+pqKg1qcK03+/4=
go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ=
go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ=
+go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
+go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
+go.uber.org/mock v0.6.0 h1:hyF9dfmbgIX5EfOdasqLsWD6xqpNZlXblLB/Dbnwv3Y=
+go.uber.org/mock v0.6.0/go.mod h1:KiVJ4BqZJaMj4svdfmHM0AUx4NJYO8ZNpPnZn1Z+BBU=
go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0=
go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4=
go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU=
@@ -179,6 +565,12 @@ go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9E
go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM=
+go.yaml.in/yaml/v2 v2.4.3 h1:6gvOSjQoTB3vt1l+CU+tSyi/HOjfOjRLJ4YwYZGwRO0=
+go.yaml.in/yaml/v2 v2.4.3/go.mod h1:zSxWcmIDjOzPXpjlTTbAsKokqkDNAVtZO0WOMiT90s8=
+go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
+go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
+go.yaml.in/yaml/v4 v4.0.0-rc.4 h1:UP4+v6fFrBIb1l934bDl//mmnoIZEDK0idg1+AIvX5U=
+go.yaml.in/yaml/v4 v4.0.0-rc.4/go.mod h1:aZqd9kCMsGL7AuUv/m/PvWLdg5sjJsZ4oHDEnfPPfY0=
goa.design/goa/v3 v3.25.3 h1:gnOm2Vu0HMvveKpcqL6aWYQTP2puiwrEJWLQc79/294=
goa.design/goa/v3 v3.25.3/go.mod h1:VZ8CcXJRZh09ijtNJJS2gNyKufpmrM+Ul/Qy3viwcOU=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
@@ -193,11 +585,13 @@ golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5y
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU=
golang.org/x/crypto v0.20.0/go.mod h1:Xwo95rrVNIoSMx9wa1JroENMToLWn3RNVrTBpLHgZPQ=
-golang.org/x/crypto v0.35.0 h1:b15kiHdrGCHrP6LvwaQ3c03kgNhhiMgvlhxHQhmg2Xs=
-golang.org/x/crypto v0.35.0/go.mod h1:dy7dXNW32cAb/6/PRuTNsix8T+vJAqvuIy5Bli/x0YQ=
+golang.org/x/crypto v0.49.0 h1:+Ng2ULVvLHnJ/ZFEq4KdcDd/cfjrrjjNSXNzxg0Y4U4=
+golang.org/x/crypto v0.49.0/go.mod h1:ErX4dUh2UM+CFYiXZRTcMpEcN8b/1gxEuv3nODoYtCA=
golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc=
golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
+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.34.0 h1:xIHgNUUnW6sYkcM5Jleh05DvLOtwc6RitGHbDk4akRI=
@@ -206,12 +600,18 @@ golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44=
+golang.org/x/net v0.52.0 h1:He/TN1l0e4mmR3QqHMT2Xab3Aj3L9qjbhRm78/6jrW0=
+golang.org/x/net v0.52.0/go.mod h1:R1MAz7uMZxVMualyPXb+VaqGSa3LIaUqk0eEt3w36Sw=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.20.0 h1:e0PTpb7pjO8GAtTs2dQ6jYa5BWYlMuX047Dco/pItO4=
@@ -223,13 +623,20 @@ golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210331175145-43e1dd70ce54/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
@@ -241,6 +648,8 @@ golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuX
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk=
+golang.org/x/term v0.41.0 h1:QCgPso/Q3RTJx2Th4bDLqML4W6iJiaXFq2/ftQF13YU=
+golang.org/x/term v0.41.0/go.mod h1:3pfBgksrReYfZ5lvYM0kSO0LIkAl4Yl2bXOkKP7Ec2A=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
@@ -252,6 +661,8 @@ golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/text v0.35.0 h1:JOVx6vVDFokkpaq1AEptVzLTpDe9KGpj5tR4/X+ybL8=
golang.org/x/text v0.35.0/go.mod h1:khi/HExzZJ2pGnjenulevKNX1W67CUy0AsXcNubPGCA=
+golang.org/x/time v0.14.0 h1:MRx4UaLrDotUKUdCIqzPC48t1Y9hANFKIRpNx+Te8PI=
+golang.org/x/time v0.14.0/go.mod h1:eL/Oa2bBBK0TkX57Fyni+NgnyQQN4LitPmob2Hjnqw4=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
golang.org/x/tools v0.0.0-20190425163242-31fd60d6bfdc/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
@@ -261,6 +672,8 @@ golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtn
golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
+golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
+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.43.0 h1:12BdW9CeB3Z+J/I/wj34VMl8X+fEXBxVR90JeMX5E7s=
@@ -269,15 +682,34 @@ golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+gonum.org/v1/gonum v0.16.0 h1:5+ul4Swaf3ESvrOnidPp4GZbzf0mxVQpDCYUQE7OJfk=
+gonum.org/v1/gonum v0.16.0/go.mod h1:fef3am4MQ93R2HHpKnLk4/Tbh/s0+wqD5nfa6Pnwy4E=
+google.golang.org/genproto/googleapis/api v0.0.0-20260209200024-4cfbd4190f57 h1:JLQynH/LBHfCTSbDWl+py8C+Rg/k1OVH3xfcaiANuF0=
+google.golang.org/genproto/googleapis/api v0.0.0-20260209200024-4cfbd4190f57/go.mod h1:kSJwQxqmFXeo79zOmbrALdflXQeAYcUbgS7PbpMknCY=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20260209200024-4cfbd4190f57 h1:mWPCjDEyshlQYzBpMNHaEof6UX1PmHcaUODUywQ0uac=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20260209200024-4cfbd4190f57/go.mod h1:j9x/tPzZkyxcgEFkiKEEGxfvyumM01BEtsW8xzOahRQ=
+google.golang.org/grpc v1.79.1 h1:zGhSi45ODB9/p3VAawt9a+O/MULLl9dpizzNNpq7flY=
+google.golang.org/grpc v1.79.1/go.mod h1:KmT0Kjez+0dde/v2j9vzwoAScgEPx/Bw1CYChhHLrHQ=
+google.golang.org/protobuf v1.36.11 h1:fV6ZwhNocDyBLK0dj+fg8ektcVegBBuEolpbTQyBNVE=
+google.golang.org/protobuf v1.36.11/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
gopkg.in/inconshreveable/log15.v2 v2.0.0-20180818164646-67afb5ed74ec/go.mod h1:aPpfJ7XW+gOuirDoZ8gHhLh3kZ1B08FtV2bbmy7Jv3s=
+gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA=
+gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+gotest.tools/v3 v3.5.2 h1:7koQfIKdy+I8UTetycgUqXWSDwpgv193Ka+qRsmBY8Q=
+gotest.tools/v3 v3.5.2/go.mod h1:LtdLGcnqToBH83WByAAi/wiwSFCArdFIUV/xxN4pcjA=
honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
+pgregory.net/rapid v1.2.0 h1:keKAYRcjm+e1F0oAuU5F5+YPAWcyxNNRK2wud503Gnk=
+pgregory.net/rapid v1.2.0/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04=
+tags.cncf.io/container-device-interface v1.1.0 h1:RnxNhxF1JOu6CJUVpetTYvrXHdxw9j9jFYgZpI+anSY=
+tags.cncf.io/container-device-interface v1.1.0/go.mod h1:76Oj0Yqp9FwTx/pySDc8Bxjpg+VqXfDb50cKAXVJ34Q=
diff --git a/backend-go/internal/services/platform/projects/projects_test.go b/backend-go/internal/services/platform/projects/projects_test.go
new file mode 100644
index 0000000000..0ed0c571a1
--- /dev/null
+++ b/backend-go/internal/services/platform/projects/projects_test.go
@@ -0,0 +1,67 @@
+package projects_test
+
+import (
+ "net/http"
+ "os"
+ "testing"
+
+ projectssvr "github.com/infisical/api/internal/server/gen/http/projects/server"
+ genprojects "github.com/infisical/api/internal/server/gen/projects"
+ "github.com/infisical/api/internal/services/platform/projects"
+ "github.com/infisical/api/internal/services/shared/permission"
+ "github.com/infisical/api/internal/testutil"
+ "github.com/stretchr/testify/require"
+)
+
+var infra *testutil.TestInfra
+
+func TestMain(m *testing.M) {
+ infra = testutil.SetupInfra()
+ code := m.Run()
+ infra.Teardown()
+ os.Exit(code)
+}
+
+// setupMux wires the projects Goa module onto a test mux.
+func setupMux(t *testing.T) *testutil.TestMux {
+ t.Helper()
+
+ permDAL := permission.NewDAL()
+ permLib := permission.NewLib(permDAL)
+
+ svc := projects.NewService(testutil.NopLogger(), permLib)
+
+ mux := testutil.NewTestMux()
+ endpoints := genprojects.NewEndpoints(svc)
+ server := projectssvr.New(endpoints, mux.Mux, mux.Dec, mux.Enc, mux.Eh, nil)
+ projectssvr.Mount(mux.Mux, server)
+
+ return mux
+}
+
+func TestGetHealth(t *testing.T) {
+ mux := setupMux(t)
+
+ mux.Request(t, http.MethodGet, "/api/v1/platform/projects/health").
+ Do().
+ ExpectStatus(http.StatusOK)
+}
+
+func TestCreateProject(t *testing.T) {
+ mux := setupMux(t)
+
+ var result map[string]any
+ mux.Request(t, http.MethodPost, "/api/v1/platform/projects").
+ WithAuth(infra.IdentityToken).
+ WithBody(map[string]any{
+ "name": "my-new-project",
+ "orgId": infra.OrgID,
+ }).
+ Do().
+ ExpectStatus(http.StatusCreated).
+ ParseJSON(&result)
+
+ require.Equal(t, "my-new-project", result["name"])
+ require.Equal(t, infra.OrgID, result["orgId"])
+ require.NotEmpty(t, result["id"])
+}
diff --git a/backend-go/internal/services/secretmanager/secrets/secrets_test.go b/backend-go/internal/services/secretmanager/secrets/secrets_test.go
new file mode 100644
index 0000000000..96a19341cc
--- /dev/null
+++ b/backend-go/internal/services/secretmanager/secrets/secrets_test.go
@@ -0,0 +1,124 @@
+package secrets_test
+
+import (
+ "net/http"
+ "os"
+ "testing"
+
+ secretssvr "github.com/infisical/api/internal/server/gen/http/secrets/server"
+ gensecrets "github.com/infisical/api/internal/server/gen/secrets"
+ "github.com/infisical/api/internal/services/secretmanager/secrets"
+ "github.com/infisical/api/internal/services/shared/permission"
+ "github.com/infisical/api/internal/testutil"
+ "github.com/stretchr/testify/require"
+)
+
+var (
+ infra *testutil.TestInfra
+ project *testutil.ProjectSeed
+)
+
+func TestMain(m *testing.M) {
+ infra = testutil.SetupInfra()
+ project = infra.MustCreateProject("secrets-test")
+ code := m.Run()
+ infra.Teardown()
+ os.Exit(code)
+}
+
+// setupMux wires the secrets Goa module onto a test mux.
+func setupMux(t *testing.T) *testutil.TestMux {
+ t.Helper()
+
+ permDAL := permission.NewDAL()
+ permLib := permission.NewLib(permDAL)
+
+ svc := secrets.NewService(testutil.NopLogger(), permLib)
+
+ mux := testutil.NewTestMux()
+ endpoints := gensecrets.NewEndpoints(svc)
+ server := secretssvr.New(endpoints, mux.Mux, mux.Dec, mux.Enc, mux.Eh, nil)
+ secretssvr.Mount(mux.Mux, server)
+
+ return mux
+}
+
+func TestGetHealth(t *testing.T) {
+ mux := setupMux(t)
+
+ mux.Request(t, http.MethodGet, "/api/v1/secret-manager/secrets/health").
+ Do().
+ ExpectStatus(http.StatusOK)
+}
+
+func TestCreateSecret(t *testing.T) {
+ mux := setupMux(t)
+
+ var result map[string]any
+ mux.Request(t, http.MethodPost, "/api/v1/secret-manager/secrets").
+ WithAuth(infra.IdentityToken).
+ WithBody(map[string]any{
+ "key": "DB_PASSWORD",
+ "value": "s3cret",
+ "environment": project.EnvSlug,
+ "projectId": project.ID,
+ }).
+ Do().
+ ExpectStatus(http.StatusCreated).
+ ParseJSON(&result)
+
+ require.Equal(t, "DB_PASSWORD", result["key"])
+ require.Equal(t, "s3cret", result["value"])
+}
+
+func TestGetSecret(t *testing.T) {
+ mux := setupMux(t)
+
+ var result map[string]any
+ mux.Request(t, http.MethodGet, "/api/v1/secret-manager/secrets/test-id-123").
+ WithAuth(infra.IdentityToken).
+ Do().
+ ExpectStatus(http.StatusOK).
+ ParseJSON(&result)
+
+ require.Equal(t, "test-id-123", result["id"])
+}
+
+func TestUpdateSecret(t *testing.T) {
+ mux := setupMux(t)
+
+ var result map[string]any
+ mux.Request(t, http.MethodPatch, "/api/v1/secret-manager/secrets/test-id-456").
+ WithAuth(infra.IdentityToken).
+ WithBody(map[string]any{
+ "key": "UPDATED_KEY",
+ "value": "updated_value",
+ }).
+ Do().
+ ExpectStatus(http.StatusOK).
+ ParseJSON(&result)
+
+ require.Equal(t, "test-id-456", result["id"])
+}
+
+func TestDeleteSecret(t *testing.T) {
+ mux := setupMux(t)
+
+ mux.Request(t, http.MethodDelete, "/api/v1/secret-manager/secrets/test-id-789").
+ WithAuth(infra.IdentityToken).
+ Do().
+ ExpectStatus(http.StatusNoContent)
+}
+
+func TestListSecrets(t *testing.T) {
+ mux := setupMux(t)
+
+ var result []map[string]any
+ mux.Request(t, http.MethodGet, "/api/v1/secret-manager/secrets?projectId="+project.ID+"&environment="+project.EnvSlug).
+ WithAuth(infra.IdentityToken).
+ Do().
+ ExpectStatus(http.StatusOK).
+ ParseJSON(&result)
+
+ require.NotNil(t, result)
+}
diff --git a/backend-go/internal/testutil/goahelper.go b/backend-go/internal/testutil/goahelper.go
new file mode 100644
index 0000000000..fd7b620c60
--- /dev/null
+++ b/backend-go/internal/testutil/goahelper.go
@@ -0,0 +1,140 @@
+package testutil
+
+import (
+ "bytes"
+ "context"
+ "encoding/json"
+ "io"
+ "net/http"
+ "net/http/httptest"
+ "testing"
+
+ goahttp "goa.design/goa/v3/http"
+)
+
+// TestMux wraps a Goa muxer for use in tests via httptest.
+type TestMux struct {
+ Mux goahttp.Muxer
+ Dec func(*http.Request) goahttp.Decoder
+ Enc func(context.Context, http.ResponseWriter) goahttp.Encoder
+ Eh func(context.Context, http.ResponseWriter, error)
+}
+
+// NewTestMux creates a new TestMux with default Goa encoder/decoder.
+func NewTestMux() *TestMux {
+ return &TestMux{
+ Mux: goahttp.NewMuxer(),
+ Dec: goahttp.RequestDecoder,
+ Enc: goahttp.ResponseEncoder,
+ Eh: func(_ context.Context, _ http.ResponseWriter, _ error) {
+ // swallow errors in tests — assertions will catch them
+ },
+ }
+}
+
+// Request starts building an HTTP request for the test mux.
+func (tm *TestMux) Request(t *testing.T, method, path string) *RequestBuilder {
+ t.Helper()
+ return &RequestBuilder{
+ t: t,
+ mux: tm,
+ method: method,
+ path: path,
+ headers: make(map[string]string),
+ }
+}
+
+// RequestBuilder provides a fluent API for constructing and executing test HTTP requests.
+type RequestBuilder struct {
+ t *testing.T
+ mux *TestMux
+ method string
+ path string
+ body any
+ headers map[string]string
+}
+
+// WithBody sets the request body. Accepts map[string]any, struct, or io.Reader.
+func (rb *RequestBuilder) WithBody(body any) *RequestBuilder {
+ rb.body = body
+ return rb
+}
+
+// WithAuth sets the Authorization header with a Bearer token.
+func (rb *RequestBuilder) WithAuth(token string) *RequestBuilder {
+ rb.headers["Authorization"] = "Bearer " + token
+ return rb
+}
+
+// WithHeader sets a custom header.
+func (rb *RequestBuilder) WithHeader(key, value string) *RequestBuilder {
+ rb.headers[key] = value
+ return rb
+}
+
+// Do executes the request and returns a Response for further assertions.
+func (rb *RequestBuilder) Do() *Response {
+ rb.t.Helper()
+
+ var reqBody io.Reader
+ if rb.body != nil {
+ switch v := rb.body.(type) {
+ case io.Reader:
+ reqBody = v
+ default:
+ b, err := json.Marshal(v)
+ if err != nil {
+ rb.t.Fatalf("testutil.RequestBuilder.Do: failed to marshal body: %v", err)
+ }
+ reqBody = bytes.NewReader(b)
+ }
+ }
+
+ req := httptest.NewRequest(rb.method, rb.path, reqBody)
+ if rb.body != nil {
+ req.Header.Set("Content-Type", "application/json")
+ }
+
+ for k, v := range rb.headers {
+ req.Header.Set(k, v)
+ }
+
+ rr := httptest.NewRecorder()
+ rb.mux.Mux.ServeHTTP(rr, req)
+
+ return &Response{t: rb.t, recorder: rr}
+}
+
+// Response wraps httptest.ResponseRecorder with fluent assertion methods.
+type Response struct {
+ t *testing.T
+ recorder *httptest.ResponseRecorder
+}
+
+// ExpectStatus asserts the HTTP status code matches expected.
+func (r *Response) ExpectStatus(code int) *Response {
+ r.t.Helper()
+ if r.recorder.Code != code {
+ r.t.Fatalf("expected status %d, got %d\nbody: %s", code, r.recorder.Code, r.recorder.Body.String())
+ }
+ return r
+}
+
+// ParseJSON unmarshals the response body into the given target.
+func (r *Response) ParseJSON(target any) *Response {
+ r.t.Helper()
+ if err := json.Unmarshal(r.recorder.Body.Bytes(), target); err != nil {
+ r.t.Fatalf("testutil.Response.ParseJSON: failed to unmarshal: %v\nbody: %s", err, r.recorder.Body.String())
+ }
+ return r
+}
+
+// StatusCode returns the response status code.
+func (r *Response) StatusCode() int {
+ return r.recorder.Code
+}
+
+// Body returns the response body as a string.
+func (r *Response) Body() string {
+ return r.recorder.Body.String()
+}
diff --git a/backend-go/internal/testutil/infra.go b/backend-go/internal/testutil/infra.go
new file mode 100644
index 0000000000..191e86e772
--- /dev/null
+++ b/backend-go/internal/testutil/infra.go
@@ -0,0 +1,297 @@
+package testutil
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+ "log"
+ "net/http"
+ "os"
+ "path/filepath"
+ "time"
+
+ "github.com/docker/go-connections/nat"
+ "github.com/go-resty/resty/v2"
+ "github.com/gofrs/flock"
+ "github.com/jackc/pgx/v5/pgxpool"
+ tc "github.com/testcontainers/testcontainers-go/modules/compose"
+ "github.com/testcontainers/testcontainers-go/wait"
+)
+
+// TestInfra holds references to the test infrastructure and bootstrapped credentials.
+type TestInfra struct {
+ DBURI string
+ RedisURL string
+ NodeJSURL string
+ DB *pgxpool.Pool
+ compose tc.ComposeStack
+ client *resty.Client
+
+ // isOwner is true if this process started the compose stack.
+ // Guests (other test packages) reuse the existing stack.
+ isOwner bool
+
+ // Bootstrapped credentials
+ OrgID string
+ UserEmail string
+ UserID string
+ IdentityToken string // Machine identity access token
+ UserToken string // User JWT
+}
+
+// infraState is the JSON structure persisted to .test-infra-state.json
+// so that concurrent test packages can share a single compose stack.
+type infraState struct {
+ DBURI string `json:"db_uri"`
+ RedisURL string `json:"redis_url"`
+ NodeJSURL string `json:"nodejs_url"`
+ OrgID string `json:"org_id"`
+ UserEmail string `json:"user_email"`
+ UserID string `json:"user_id"`
+ IdentityToken string `json:"identity_token"`
+ UserToken string `json:"user_token"`
+}
+
+// findModuleRoot walks up from the current directory to find go.mod,
+// returning the directory that contains it.
+func findModuleRoot() (string, error) {
+ dir, err := os.Getwd()
+ if err != nil {
+ return "", err
+ }
+ for {
+ if _, err := os.Stat(filepath.Join(dir, "go.mod")); err == nil {
+ return dir, nil
+ }
+ parent := filepath.Dir(dir)
+ if parent == dir {
+ return "", fmt.Errorf("could not find go.mod in any parent directory")
+ }
+ dir = parent
+ }
+}
+
+// NOTE: This shared-infra approach is a temporary workaround.
+// Because the Node.js backend is so slow
+// we can only run one instance. A file lock + state file coordinates across
+// packages so compose starts once and subsequent packages reuse it.
+//
+// Once the full Go migration is complete and the Node.js dependency is removed,
+// each test package can spin up its own isolated containers with random ports,
+// enabling true parallel execution without any cross-process coordination.
+
+// SetupInfra starts or reuses the shared test infrastructure.
+//
+// A file lock (.test-infra.lock) prevents races between parallel packages.
+// If a previous run left a healthy stack, we reuse it via .test-infra-state.json.
+// Otherwise we start a fresh compose stack and bootstrap credentials.
+//
+// Uses log.Fatalf for errors because this runs in TestMain where
+// *testing.T is not available.
+func SetupInfra() *TestInfra {
+ root, err := findModuleRoot()
+ if err != nil {
+ log.Fatalf("testutil.SetupInfra: %v", err)
+ }
+
+ lockPath := filepath.Join(root, ".test-infra.lock")
+ statePath := filepath.Join(root, ".test-infra-state.json")
+
+ // Acquire cross-process file lock so only one package starts compose.
+ fileLock := flock.New(lockPath)
+ if err := fileLock.Lock(); err != nil {
+ log.Fatalf("testutil.SetupInfra: failed to acquire lock: %v", err)
+ }
+ defer func() {
+ if err := fileLock.Unlock(); err != nil {
+ log.Printf("testutil.SetupInfra: failed to release lock: %v", err)
+ }
+ }()
+
+ // Try to reuse an existing healthy stack.
+ if state, err := loadState(statePath); err == nil {
+ if checkHealth(state.NodeJSURL) {
+ log.Println("testutil.SetupInfra: reusing existing infra")
+ pool := mustConnectDB(state.DBURI)
+ return &TestInfra{
+ DBURI: state.DBURI,
+ RedisURL: state.RedisURL,
+ NodeJSURL: state.NodeJSURL,
+ DB: pool,
+ client: resty.New().SetBaseURL(state.NodeJSURL),
+ isOwner: false,
+ OrgID: state.OrgID,
+ UserEmail: state.UserEmail,
+ UserID: state.UserID,
+ IdentityToken: state.IdentityToken,
+ UserToken: state.UserToken,
+ }
+ }
+ // Stale state — remove and start fresh.
+ log.Println("testutil.SetupInfra: stale state file, starting fresh")
+ os.Remove(statePath)
+ }
+
+ // Owner path: start compose from scratch.
+ infra := startCompose(root)
+ infra.isOwner = true
+ infra.bootstrap()
+
+ // Persist state so other packages can reuse this stack.
+ saveState(statePath, &infraState{
+ DBURI: infra.DBURI,
+ RedisURL: infra.RedisURL,
+ NodeJSURL: infra.NodeJSURL,
+ OrgID: infra.OrgID,
+ UserEmail: infra.UserEmail,
+ UserID: infra.UserID,
+ IdentityToken: infra.IdentityToken,
+ UserToken: infra.UserToken,
+ })
+
+ log.Println("testutil.SetupInfra: bootstrap complete, state saved")
+
+ return infra
+}
+
+// startCompose brings up the docker-compose.test.yml stack via testcontainers.
+func startCompose(root string) *TestInfra {
+ ctx := context.Background()
+ composePath := filepath.Join(root, "docker-compose.test.yml")
+
+ log.Printf("testutil.startCompose: starting compose from %s", composePath)
+
+ compose, err := tc.NewDockerCompose(composePath)
+ if err != nil {
+ log.Fatalf("testutil.startCompose: failed to create compose: %v", err)
+ }
+
+ err = compose.
+ WaitForService("db", wait.ForListeningPort("5432/tcp").WithStartupTimeout(60*time.Second)).
+ WaitForService("redis", wait.ForListeningPort("6379/tcp").WithStartupTimeout(60*time.Second)).
+ WaitForService("backend-nodejs", wait.ForHTTP("/api/status").WithPort("8080/tcp").WithStartupTimeout(120*time.Second)).
+ Up(ctx, tc.Wait(true))
+ if err != nil {
+ log.Fatalf("testutil.startCompose: failed to start compose: %v", err)
+ }
+
+ log.Println("testutil.startCompose: all services up")
+
+ // Discover mapped ports.
+ dbHost, dbPort, err := getServiceHostPort(ctx, compose, "db", 5432)
+ if err != nil {
+ log.Fatalf("testutil.startCompose: failed to get db host/port: %v", err)
+ }
+
+ redisHost, redisPort, err := getServiceHostPort(ctx, compose, "redis", 6379)
+ if err != nil {
+ log.Fatalf("testutil.startCompose: failed to get redis host/port: %v", err)
+ }
+
+ nodejsHost, nodejsPort, err := getServiceHostPort(ctx, compose, "backend-nodejs", 8080)
+ if err != nil {
+ log.Fatalf("testutil.startCompose: failed to get nodejs host/port: %v", err)
+ }
+
+ dbURI := fmt.Sprintf("postgres://infisical:infisical@%s:%d/infisical?sslmode=disable", dbHost, dbPort)
+ redisURL := fmt.Sprintf("redis://%s:%d", redisHost, redisPort)
+ nodejsURL := fmt.Sprintf("http://%s:%d", nodejsHost, nodejsPort)
+
+ log.Printf("testutil.startCompose: db=%s redis=%s nodejs=%s", dbURI, redisURL, nodejsURL)
+
+ pool := mustConnectDB(dbURI)
+
+ return &TestInfra{
+ DBURI: dbURI,
+ RedisURL: redisURL,
+ NodeJSURL: nodejsURL,
+ DB: pool,
+ compose: compose,
+ client: resty.New().SetBaseURL(nodejsURL),
+ }
+}
+
+// mustConnectDB creates a pgxpool connection or fatals.
+func mustConnectDB(dbURI string) *pgxpool.Pool {
+ ctx := context.Background()
+
+ poolCfg, err := pgxpool.ParseConfig(dbURI)
+ if err != nil {
+ log.Fatalf("testutil.mustConnectDB: failed to parse db config: %v", err)
+ }
+ poolCfg.MinConns = 0
+ poolCfg.MaxConns = 10
+
+ pool, err := pgxpool.NewWithConfig(ctx, poolCfg)
+ if err != nil {
+ log.Fatalf("testutil.mustConnectDB: failed to create db pool: %v", err)
+ }
+
+ if err := pool.Ping(ctx); err != nil {
+ log.Fatalf("testutil.mustConnectDB: failed to ping db: %v", err)
+ }
+
+ return pool
+}
+
+// Teardown cleans up resources for this test package.
+// Only closes the DB pool — does NOT tear down compose since other packages
+// may still be using the shared stack. Use `make test-cleanup` for that.
+func (infra *TestInfra) Teardown() {
+ infra.DB.Close()
+}
+
+// checkHealth pings the Node.js backend to see if the stack is alive.
+func checkHealth(nodejsURL string) bool {
+ client := &http.Client{Timeout: 3 * time.Second}
+ resp, err := client.Get(nodejsURL + "/api/status")
+ if err != nil {
+ return false
+ }
+ resp.Body.Close()
+ return resp.StatusCode == http.StatusOK
+}
+
+// loadState reads the persisted infra state from disk.
+func loadState(path string) (*infraState, error) {
+ data, err := os.ReadFile(path)
+ if err != nil {
+ return nil, err
+ }
+ var state infraState
+ if err := json.Unmarshal(data, &state); err != nil {
+ return nil, err
+ }
+ return &state, nil
+}
+
+// saveState writes the infra state to disk for other packages to reuse.
+func saveState(path string, state *infraState) {
+ data, err := json.MarshalIndent(state, "", " ")
+ if err != nil {
+ log.Fatalf("testutil.saveState: failed to marshal state: %v", err)
+ }
+ if err := os.WriteFile(path, data, 0644); err != nil {
+ log.Fatalf("testutil.saveState: failed to write state file: %v", err)
+ }
+}
+
+// getServiceHostPort returns the host and mapped port for a compose service.
+func getServiceHostPort(ctx context.Context, compose tc.ComposeStack, service string, port int) (string, int, error) {
+ container, err := compose.ServiceContainer(ctx, service)
+ if err != nil {
+ return "", 0, fmt.Errorf("get container for %s: %w", service, err)
+ }
+
+ host, err := container.Host(ctx)
+ if err != nil {
+ return "", 0, fmt.Errorf("get host for %s: %w", service, err)
+ }
+
+ mappedPort, err := container.MappedPort(ctx, nat.Port(fmt.Sprintf("%d/tcp", port)))
+ if err != nil {
+ return "", 0, fmt.Errorf("get mapped port for %s: %w", service, err)
+ }
+
+ return host, mappedPort.Int(), nil
+}
diff --git a/backend-go/internal/testutil/logger.go b/backend-go/internal/testutil/logger.go
new file mode 100644
index 0000000000..656878e962
--- /dev/null
+++ b/backend-go/internal/testutil/logger.go
@@ -0,0 +1,11 @@
+package testutil
+
+import (
+ "io"
+ "log/slog"
+)
+
+// NopLogger returns a logger that discards all output.
+func NopLogger() *slog.Logger {
+ return slog.New(slog.NewTextHandler(io.Discard, nil))
+}
diff --git a/backend-go/internal/testutil/seed.go b/backend-go/internal/testutil/seed.go
new file mode 100644
index 0000000000..3a9e2e29a1
--- /dev/null
+++ b/backend-go/internal/testutil/seed.go
@@ -0,0 +1,167 @@
+package testutil
+
+import (
+ "fmt"
+ "log"
+ "testing"
+
+ "github.com/go-resty/resty/v2"
+)
+
+// ProjectSeed contains IDs for a project created via the Node.js API.
+type ProjectSeed struct {
+ ID string
+ Slug string
+ EnvSlug string // default environment created with the project
+}
+
+// bootstrap calls the admin bootstrap API to create the initial user, org,
+// and machine identity, then logs in to obtain a user JWT.
+// Called once during SetupInfra. Uses log.Fatalf since it runs in TestMain.
+func (infra *TestInfra) bootstrap() {
+ client := resty.New().SetBaseURL(infra.NodeJSURL)
+
+ // Step 1: Bootstrap — creates admin user, org, and machine identity.
+ var bootstrapResp map[string]any
+ resp, err := client.R().
+ SetBody(map[string]any{
+ "email": "[email protected]",
+ "password": "testpassword123",
+ "organization": "test-org",
+ }).
+ SetResult(&bootstrapResp).
+ Post("/api/v1/admin/bootstrap")
+ if err != nil {
+ log.Fatalf("testutil.bootstrap: request failed: %v", err)
+ }
+ if resp.IsError() {
+ log.Fatalf("testutil.bootstrap: returned %d: %s", resp.StatusCode(), resp.String())
+ }
+
+ infra.OrgID = jsonStr(bootstrapResp, "organization.id")
+ infra.IdentityToken = jsonStr(bootstrapResp, "identity.credentials.token")
+ infra.UserEmail = jsonStr(bootstrapResp, "user.email")
+ infra.UserID = jsonStr(bootstrapResp, "user.id")
+
+ // Step 2: Login as the user to get a user JWT.
+ var loginResp map[string]any
+ resp, err = client.R().
+ SetBody(map[string]any{
+ "email": infra.UserEmail,
+ "password": "testpassword123",
+ }).
+ SetResult(&loginResp).
+ Post("/api/v3/auth/login")
+ if err != nil {
+ log.Fatalf("testutil.bootstrap: login request failed: %v", err)
+ }
+ if resp.IsError() {
+ log.Fatalf("testutil.bootstrap: login returned %d: %s", resp.StatusCode(), resp.String())
+ }
+ infra.UserToken = jsonStr(loginResp, "accessToken")
+
+ infra.client = client
+}
+
+// MustCreateProject creates a new project via the Node.js API.
+// Safe to call from TestMain — uses log.Fatalf on error.
+func (infra *TestInfra) MustCreateProject(name string) *ProjectSeed {
+ var projectResp map[string]any
+ resp, err := infra.client.R().
+ SetAuthToken(infra.IdentityToken).
+ SetBody(map[string]any{
+ "projectName": name,
+ "slug": fmt.Sprintf("test-%s", name),
+ "type": "secret-manager",
+ }).
+ SetResult(&projectResp).
+ Post("/api/v1/projects")
+ if err != nil {
+ log.Fatalf("testutil.MustCreateProject: request failed: %v", err)
+ }
+ if resp.IsError() {
+ log.Fatalf("testutil.MustCreateProject: returned %d: %s", resp.StatusCode(), resp.String())
+ }
+
+ return &ProjectSeed{
+ ID: jsonStr(projectResp, "project.id"),
+ Slug: jsonStr(projectResp, "project.slug"),
+ EnvSlug: "dev",
+ }
+}
+
+// CreateProject creates a new project via the Node.js API and returns its metadata.
+func (infra *TestInfra) CreateProject(t *testing.T, name string) *ProjectSeed {
+ t.Helper()
+
+ slug := fmt.Sprintf("test-%s-%s", name, t.Name())
+
+ var projectResp map[string]any
+ resp, err := infra.client.R().
+ SetAuthToken(infra.IdentityToken).
+ SetBody(map[string]any{
+ "projectName": name,
+ "slug": slug,
+ "type": "secret-manager",
+ }).
+ SetResult(&projectResp).
+ Post("/api/v1/projects")
+ if err != nil {
+ t.Fatalf("testutil.CreateProject: request failed: %v", err)
+ }
+ if resp.IsError() {
+ t.Fatalf("testutil.CreateProject: returned %d: %s", resp.StatusCode(), resp.String())
+ }
+
+ return &ProjectSeed{
+ ID: jsonStr(projectResp, "id"),
+ Slug: jsonStr(projectResp, "slug"),
+ EnvSlug: "dev",
+ }
+}
+
+// DeleteProject deletes a project via the Node.js API.
+func (infra *TestInfra) DeleteProject(t *testing.T, projectID string) {
+ t.Helper()
+
+ resp, err := infra.client.R().
+ SetAuthToken(infra.IdentityToken).
+ Delete("/api/v1/projects/" + projectID)
+ if err != nil {
+ t.Fatalf("testutil.DeleteProject: request failed: %v", err)
+ }
+ if resp.IsError() {
+ t.Fatalf("testutil.DeleteProject: returned %d: %s", resp.StatusCode(), resp.String())
+ }
+}
+
+// jsonStr extracts a string value from a nested JSON map using dot-separated path.
+func jsonStr(m map[string]any, path string) string {
+ keys := splitDotPath(path)
+ current := any(m)
+
+ for _, key := range keys {
+ obj, ok := current.(map[string]any)
+ if !ok {
+ return ""
+ }
+ current = obj[key]
+ }
+
+ s, _ := current.(string)
+ return s
+}
+
+// splitDotPath splits a dot-separated path into keys.
+func splitDotPath(path string) []string {
+ var keys []string
+ start := 0
+ for i := 0; i < len(path); i++ {
+ if path[i] == '.' {
+ keys = append(keys, path[start:i])
+ start = i + 1
+ }
+ }
+ keys = append(keys, path[start:])
+ return keys
+}
diff --git a/backend-go/llm/project-structure.md b/backend-go/llm/project-structure.md
new file mode 100644
index 0000000000..e5ba946dfb
--- /dev/null
+++ b/backend-go/llm/project-structure.md
@@ -0,0 +1,169 @@
+# Backend-Go Project Structure
+
+## Overview
+
+This is a Go rewrite/PoC of the Infisical backend — a secret management platform. It follows a clean, layered architecture with explicit dependency injection, type-safe SQL via go-jet, and API code generation via Goa.
+
+## Directory Layout
+
+```
+backend-go/
+├── cmd/
+│ ├── infisical/
+│ │ └── main.go # Main server entry point
+│ └── dev/
+│ └── pg_gen/ # DB code generation tool
+├── internal/
+│ ├── config/
+│ │ └── config.go # Configuration (koanf: .env + env vars)
+│ ├── database/
+│ │ ├── pg/
+│ │ │ ├── pg.go # PostgreSQL connection pool (primary + read replicas)
+│ │ │ └── gen/ # Go-Jet generated files (235+ tables/models)
+│ │ │ ├── table/ # Table metadata definitions
+│ │ │ └── model/ # Model structs
+│ │ └── ormify/
+│ │ └── ormify.go # Generic CRUD wrapper using Go generics
+│ ├── libs/
+│ │ └── bootstrap/
+│ │ └── bootstrap.go # DB health checks on startup
+│ ├── server/
+│ │ ├── server.go # HTTP server, mux, middleware, graceful shutdown
+│ │ ├── platform.go # Mounts platform service routes
+│ │ ├── secretmanager.go # Mounts secret manager service routes
+│ │ ├── design/ # Goa DSL API definitions (source of truth)
+│ │ │ ├── design.go # Root API definition
+│ │ │ ├── platform/
+│ │ │ │ └── projects.go # Projects service DSL
+│ │ │ └── secretmanager/
+│ │ │ └── secrets.go # Secrets service DSL
+│ │ └── gen/ # Goa-generated HTTP handlers, clients, endpoints
+│ │ ├── http/ # HTTP server/client implementations
+│ │ ├── projects/ # Projects service interfaces & types
+│ │ └── secrets/ # Secrets service interfaces & types
+│ └── services/
+│ ├── services.go # Top-level service registry (DI wiring)
+│ ├── platform/
+│ │ ├── platform.go # Platform product-line registry
+│ │ └── projects/
+│ │ └── projects.go # Projects business logic
+│ ├── secretmanager/
+│ │ ├── secretmanager.go # Secret manager product-line registry
+│ │ └── secrets/
+│ │ └── secrets.go # Secrets business logic
+│ └── shared/
+│ ├── libs.go # Shared libraries registry
+│ └── permission/
+│ ├── permission.go # Permission checking
+│ └── dal.go # Permission data access
+├── llm/ # LLM context files
+├── go.mod
+└── go.sum
+```
+
+## Architecture Layers
+
+```
+HTTP Layer (Goa-generated handlers, encoding, routing)
+ ↓
+Service Layer (business logic in internal/services/)
+ ↓
+Shared Libs (cross-cutting: permissions)
+ ↓
+ORM Layer (ormify — generic CRUD with Go generics)
+ ↓
+Database Layer (go-jet generated types + pgxpool)
+ ↓
+PostgreSQL (primary + read replicas)
+```
+
+## Key Dependencies
+
+| Library | Purpose |
+|---------|---------|
+| `goa.design/goa/v3` | API design DSL + HTTP code generation |
+| `github.com/go-jet/jet/v2` | Type-safe SQL query builder |
+| `github.com/jackc/pgx/v5` | PostgreSQL driver with connection pooling |
+| `github.com/knadh/koanf/v2` | Configuration management (dotenv + env vars) |
+| `github.com/google/uuid` | UUID generation |
+
+## Core Patterns
+
+### 1. Manual Dependency Injection
+
+No IoC container. Factory functions with explicit dependencies, wired top-down:
+
+- `main.go` → creates config, DB, service registry, server
+- `services.Registry` holds `Platform`, `SecretManager`, and `Libs`
+- Each product-line registry (e.g., `platform.Registry`) holds domain services
+- Domain services receive shared libs via constructor
+
+### 2. Two-Tier Product Organization
+
+Services are grouped into product lines that map to URL prefixes:
+
+- **Platform** (`/api/v1/platform/...`) — Projects management
+- **SecretManager** (`/api/v1/secret-manager/...`) — Secrets CRUD
+
+### 3. Goa Code Generation
+
+API definitions live in `internal/server/design/` as Goa DSL. Generated code provides:
+- Service interfaces (which domain services implement)
+- HTTP server handlers, encoders/decoders, routing
+- HTTP client stubs
+
+Regenerate with:
+```bash
+goa gen github.com/infisical/api/internal/server/design -o ./internal/server/
+```
+
+### 4. Generic ORM (Ormify)
+
+Type-safe CRUD via Go generics wrapping go-jet:
+
+```go
+dal := ormify.New[model.Projects](primary, replica, tableDef)
+project, err := dal.FindByID(ctx, id)
+results, err := dal.Find(ctx, condition, ormify.WithLimit(10), ormify.WithOffset(0))
+```
+
+Methods: `FindByID`, `FindOne`, `Find`, `FindAll`, `Create`, `InsertMany`, `UpdateByID`, `Update`, `DeleteByID`, `Delete`, `Count`, `WithTx`.
+
+### 5. Database Code Generation
+
+Introspects PostgreSQL and generates go-jet table/model files (skips partition tables):
+
+```bash
+DB_CONNECTION_URI=... go run ./cmd/dev/pg_gen/main.go
+```
+
+### 6. Primary + Read Replica Architecture
+
+- One primary pool for writes
+- Zero or more read replicas (randomly selected for reads, falls back to primary)
+- Per-replica TLS configuration with primary cert fallback
+- Connection pooling via pgxpool (min 0, max 10)
+
+## Startup Flow
+
+1. Initialize JSON structured logger (`slog`)
+2. Load and validate config (`.env` + environment variables)
+3. Create DB connections (primary + replicas with TLS)
+4. Run bootstrap health checks (ping all DB connections)
+5. Wire service registry (shared libs → domain services → product registries)
+6. Create HTTP server with Goa mux, middleware, and mounted services
+7. Listen with signal handling (SIGINT/SIGTERM) and 30s graceful shutdown
+
+## Configuration
+
+Managed via `koanf` in `internal/config/config.go`. 150+ fields covering:
+
+- Server: host, port, environment
+- Database: connection URI, read replicas (JSON), TLS/SSL
+- Redis: standalone, Sentinel, Cluster modes
+- Auth: JWT, identity tokens, SCIM, MCP
+- Integrations: Google, GitHub, GitLab, and other SSO providers
+- Infrastructure: SMTP, ClickHouse, OpenTelemetry, Datadog
+- Feature flags: CORS, HSM, secret scanning, etc.
+
+Required fields are validated at startup with descriptive error messages.
diff --git a/backend-go/llm/testing-strategy.md b/backend-go/llm/testing-strategy.md
new file mode 100644
index 0000000000..a84dd39f92
--- /dev/null
+++ b/backend-go/llm/testing-strategy.md
@@ -0,0 +1,344 @@
+# Testing Strategy for backend-go (100+ Services)
+
+## Context
+
+Porting the Node.js Infisical backend to Go. The Go modules need integration testing against real PostgreSQL with real data. Instead of duplicating migration/seed logic, we leverage the **existing Node.js backend container** as the infrastructure and seed layer — it handles migrations and exposes APIs to create orgs, projects, and tokens that the Go tests consume.
+
+## Architecture
+
+```
+┌──────────────────────────────────────────────────────────┐
+│ TestMain (per package, go test -tags=integration) │
+│ │
+│ 1. testcontainers-go starts docker-compose.test.yml: │
+│ - PostgreSQL (random mapped port) │
+│ - Redis (random mapped port) │
+│ - Node.js backend (random mapped port) ← migrations │
+│ Waits for all health checks to pass. │
+│ │
+│ 2. Call Node.js API to seed: │
+│ - POST /api/v1/signup → create user │
+│ - POST /api/v1/org → create org │
+│ - POST /api/v1/workspace → create project │
+│ - Returns: orgId, projectId, authToken │
+│ - Each test package gets its OWN project (isolated) │
+│ │
+│ 3. t.Cleanup → compose.Down() (automatic teardown) │
+└──────────────────┬───────────────────────────────────────┘
+ │
+ ▼
+┌──────────────────────────────────────────────────────────┐
+│ Per-Test (e.g. TestCreateSecret) │
+│ │
+│ 1. Wire the Goa module under test: │
+│ endpoints → HTTP server → mux │
+│ DALs connected to same PostgreSQL │
+│ │
+│ 2. Use seeded projectId + authToken │
+│ │
+│ 3. Send HTTP requests via httptest: │
+│ POST /api/v1/secret-manager/secrets │
+│ → assert status, JSON body, DB state │
+└──────────────────────────────────────────────────────────┘
+```
+
+## Key Design Decisions
+
+| Decision | Choice | Why |
+|----------|--------|-----|
+| Migrations | Node.js backend container handles them | Single source of truth, no duplication |
+| Seed data | Created via Node.js API calls | Real auth tokens, real encrypted data, same flow as production |
+| Test isolation | Per-suite project (each test file creates its own project via Node.js API) | No cross-test interference, no transaction hacks |
+| Cleanup | testcontainers-go manages lifecycle (start in TestMain, teardown via t.Cleanup) | Fully self-contained, no manual docker commands |
+| Go module testing | Goa module mounted on httptest mux | Tests full HTTP path without booting the entire Go server |
+| DB connection | Go tests connect directly to the same PostgreSQL | DALs use the real DB, same as production |
+
+---
+
+## Phase 1: Docker Compose via testcontainers-go
+
+### `backend-go/docker-compose.test.yml`
+
+Compose file defining the test stack (consumed by testcontainers, not run manually):
+
+```yaml
+services:
+ db:
+ image: postgres:14-alpine
+ ports:
+ - "5432:5432"
+ environment:
+ POSTGRES_PASSWORD: infisical
+ POSTGRES_USER: infisical
+ POSTGRES_DB: infisical
+
+ redis:
+ image: redis
+ ports:
+ - "6379:6379"
+
+ backend-nodejs:
+ image: infisical/infisical:latest # or build from ../backend
+ depends_on:
+ - db
+ - redis
+ ports:
+ - "4000:4000"
+ environment:
+ - NODE_ENV=development
+ - DB_CONNECTION_URI=postgres://infisical:infisical@db/infisical?sslmode=disable
+ - REDIS_URL=redis://redis:6379
+ - ENCRYPTION_KEY=a984ecdf82ec779e55dbcc21303a900f
+ - AUTH_SECRET=test-auth-secret
+ # ... minimal required env vars
+```
+
+### Lifecycle managed by testcontainers-go compose module
+
+No Makefile targets for infra. The Go test code starts and stops everything:
+
+```go
+import tc "github.com/testcontainers/testcontainers-go/modules/compose"
+
+compose, err := tc.NewDockerCompose("docker-compose.test.yml")
+// Start all services
+compose.Up(ctx)
+// Wait for Node.js backend to be ready
+compose.WaitForService("backend-nodejs", wait.ForHTTP("/api/status").WithPort("4000"))
+// ... run tests ...
+// Teardown
+compose.Down(ctx)
+```
+
+This means `go test -tags=integration ./internal/...` is fully self-contained — no manual docker commands needed.
+
+---
+
+## Phase 2: Test Infrastructure (`internal/testutil/`)
+
+### `internal/testutil/logger.go`
+
+```go
+func NopLogger() *slog.Logger {
+ return slog.New(slog.NewTextHandler(io.Discard, nil))
+}
+```
+
+### `internal/testutil/infra.go` — Global setup/teardown via testcontainers
+
+Starts the compose stack from Go, waits for all services, returns connection details:
+
+```go
+type TestInfra struct {
+ DBURI string
+ RedisURL string
+ NodeJSURL string // http://localhost:<mapped-port>
+ DB *pgxpool.Pool
+ compose tc.ComposeStack // for teardown
+}
+
+// SetupInfra starts docker-compose.test.yml via testcontainers-go,
+// waits for PostgreSQL, Redis, and Node.js backend to be healthy,
+// creates a pgxpool connection, and returns a cleanup function.
+func SetupInfra(t *testing.T) *TestInfra {
+ compose, _ := tc.NewDockerCompose("../../docker-compose.test.yml")
+ compose.
+ WaitForService("db", wait.ForListeningPort("5432")).
+ WaitForService("redis", wait.ForListeningPort("6379")).
+ WaitForService("backend-nodejs", wait.ForHTTP("/api/status").WithPort("4000")).
+ Up(ctx)
+
+ t.Cleanup(func() { compose.Down(ctx) })
+
+ // Get mapped ports, create DB pool, return TestInfra
+ ...
+}
+```
+
+Since testcontainers maps to random host ports, `TestInfra` discovers them dynamically — no port conflicts in CI.
+
+### `internal/testutil/seed.go` — Seed via Node.js API
+
+Calls the Node.js backend to create isolated test data per suite:
+
+```go
+type SeedData struct {
+ OrgID string
+ ProjectID string
+ EnvSlug string
+ AuthToken string // JWT from Node.js login
+}
+
+// SeedProject calls the Node.js API to create a user, org, project,
+// and environment. Returns credentials the Go test can use.
+// Each call creates independent data — no cross-test interference.
+func SeedProject(t *testing.T, nodeJSURL string) *SeedData { ... }
+```
+
+Internally this does:
+1. `POST /api/v1/signup` — create test user (or login if exists)
+2. `POST /api/v1/org` — create org
+3. `POST /api/v1/workspace` — create project in that org
+4. Return `{ orgID, projectID, envSlug, authToken }`
+
+### `internal/testutil/goahelper.go` — Goa module test wiring
+
+Helper to mount a single Goa module on a test mux:
+
+```go
+type TestMux struct {
+ Mux goahttp.Muxer
+}
+
+func NewTestMux() *TestMux { ... }
+
+// ServeHTTP sends a request and returns the response.
+func (tm *TestMux) Do(method, path string, body any, headers map[string]string) *httptest.ResponseRecorder { ... }
+```
+
+---
+
+## Phase 3: Pilot — Secrets Service Test
+
+### `internal/services/secretmanager/secrets/secrets_integration_test.go`
+
+```go
+//go:build integration
+
+package secrets_test
+
+import (
+ "os"
+ "testing"
+)
+
+var infra *testutil.TestInfra
+var seed *testutil.SeedData
+
+func TestMain(m *testing.M) {
+ infra, cleanup := testutil.SetupInfra()
+ defer cleanup()
+
+ // Seed a project for this test suite via Node.js API
+ seed = testutil.SeedProject(nil, infra.NodeJSURL)
+
+ os.Exit(m.Run())
+}
+
+func TestCreateSecret(t *testing.T) {
+ // Wire the Go secrets Goa module
+ secretDAL := ormify.New[model.SecretsV2](infra.DB, infra.DB, secretsTableDef)
+ permLib := permission.NewLib(permission.NewDAL())
+ svc := secrets.NewService(testutil.NopLogger(), permLib, secretDAL)
+
+ mux := testutil.NewTestMux()
+ endpoints := gensecrets.NewEndpoints(svc)
+ server := secretssvr.New(endpoints, mux.Mux, ...)
+ secretssvr.Mount(mux.Mux, server)
+
+ // Test: create a secret in the seeded project
+ resp := mux.Do("POST", "/api/v1/secret-manager/secrets", map[string]any{
+ "key": "DB_PASSWORD",
+ "value": "s3cret",
+ "environment": seed.EnvSlug,
+ "projectId": seed.ProjectID,
+ }, map[string]string{
+ "Authorization": "Bearer " + seed.AuthToken,
+ })
+
+ require.Equal(t, 201, resp.Code)
+ // ... assert JSON body, then verify DB state via DAL
+}
+
+func TestListSecrets(t *testing.T) { ... }
+func TestGetSecret(t *testing.T) { ... }
+func TestUpdateSecret(t *testing.T) { ... }
+func TestDeleteSecret(t *testing.T) { ... }
+```
+
+### `internal/services/platform/projects/projects_integration_test.go`
+
+Same pattern for projects service.
+
+---
+
+## Phase 4: Scale to 100+ services
+
+Every new service gets `_integration_test.go` following:
+
+1. `TestMain` → `SetupInfra()` + `SeedProject()` (one project per test file)
+2. Wire the Goa module under test with real DALs
+3. Table-driven tests sending HTTP via `httptest`
+4. Assert response + DB state
+5. No cleanup needed — each suite has its own project
+
+**Unit tests** (`_test.go` without build tag) only for:
+- Pure computation (crypto, hashing)
+- Complex validation logic
+- Permission evaluation with many branches
+
+---
+
+## Makefile Targets
+
+```makefile
+# Run integration tests — testcontainers handles docker lifecycle automatically
+test-integration:
+ go test ./internal/... -tags=integration -count=1 -race -timeout 300s
+
+# Run unit tests (no Docker needed)
+test-unit:
+ go test ./internal/... -count=1 -race
+```
+
+No `test-infra-up` / `test-infra-down` needed — testcontainers starts compose on first `TestMain`, containers are torn down via `t.Cleanup`.
+
+---
+
+## File Layout
+
+```
+backend-go/
+├── docker-compose.test.yml # PostgreSQL + Redis + Node.js (consumed by testcontainers)
+├── Makefile # test-integration, test-unit
+├── internal/
+│ ├── testutil/
+│ │ ├── infra.go # SetupInfra: testcontainers compose + DB pool
+│ │ ├── seed.go # SeedProject: create org/project via Node.js API
+│ │ ├── logger.go # NopLogger
+│ │ └── goahelper.go # TestMux: mount Goa module + HTTP helper
+│ ├── services/
+│ │ ├── platform/projects/
+│ │ │ ├── projects.go
+│ │ │ └── projects_integration_test.go
+│ │ └── secretmanager/secrets/
+│ │ ├── secrets.go
+│ │ └── secrets_integration_test.go
+```
+
+---
+
+## Files to Create
+
+| File | Purpose |
+|------|---------|
+| `docker-compose.test.yml` | Test infrastructure definition |
+| `internal/testutil/infra.go` | Global setup: ensure containers running, create DB pool |
+| `internal/testutil/seed.go` | Seed data via Node.js API calls |
+| `internal/testutil/logger.go` | NopLogger for tests |
+| `internal/testutil/goahelper.go` | TestMux helper for Goa module testing |
+| `internal/services/secretmanager/secrets/secrets_integration_test.go` | Pilot: secrets tests |
+| `internal/services/platform/projects/projects_integration_test.go` | Pilot: projects tests |
+
+**No changes to existing production code.**
+
+## Verification
+
+1. `make test-integration` — testcontainers starts compose (PostgreSQL + Redis + Node.js), waits for health, seeds data, runs HTTP tests, tears down
+2. `go build ./cmd/infisical/...` — still compiles (no production code changed)
+
+## Open Questions to Resolve During Implementation
+
+1. **Which Node.js API endpoints** to use for seeding (signup flow, org creation, project creation) — need to check exact routes and payloads
+2. **Auth token format** — will the Go Goa modules need to validate the JWT from Node.js, or are we testing without auth middleware initially?
+3. **Node.js Docker image** — use `infisical/infisical:latest` or build from source (`../backend`)?