You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Root integration_test.go has never compiled; make test-integration cannot build the root package #913
integration_test.go (root, //go:build integration) does not compile, and has not since the initial release (2b2bd74) — nothing in make check or CI builds the integration tag:
$ go vet -tags integration ./...
vet: ./integration_test.go:398:14: undefined: config
Fixing that (config. -> awsconfig.) exposes the next one:
vet: ./integration_test.go:873:35: cannot use cfg (variable of interface type "github.com/aws/aws-sdk-go-v2/config".Config) as aws.Config value in argument to dynamodb.NewFromConfig: need type assertion
loadAWSConfig is declared to return awsconfig.Config (an interface in the config package) rather than aws.Config. There may be more behind these; vet stops at the first type errors.
So make test-integration (go test -tags=integration ./...) fails to build the root package, and every test in that file (multi-region sweep, DynamoDB, queue) is dead. pkg/integration compiles under the tag once #907's stale orchestrator test is removed; the root package is the only remaining failure.
Not fixed in #907 on purpose: these tests launch real, billable instances, so making them compile again should come with a review of their TTL / explicit-terminate / leak-check behaviour (CLAUDE.md cost safety), not just a type fix.
Suggested: fix or delete the file, then add go vet -tags integration ./... (and arguably every build tag discovered from //go:build lines) to make check and CI so tagged code can't rot silently again. #907's tidy gate catches missing imports under any tag, but not type errors like these.
Activity
Make integration-tagged tests compile, and gate every build tag (#913)
Make integration-tagged tests compile, and gate every build tag (#913) (