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
sdks/go: unit tests reach real AWS S3 and fail without credentials #172
area: sdkClient SDKs (Python, Java, JavaScript)priority: highImportant issue that should be addressed soontype: testingTest coverage, test infrastructure, or test improvements
sdks/go/objectfs/client_test.go calls New() against bucket objectfs-test-bucket, which triggers a live HeadBucket. Three tests fail under plain go test -race -short ./...:
These are not integration tests — they carry no //go:build integration tag and run in -short mode, so the default developer and CI invocation fails for a reason unrelated to the code under test. A suite that fails by default trains everyone to ignore its output, which is how the seam defects in the v0.10.0 audit went unnoticed alongside 32,680 lines of passing tests.
Fix: point them at a substrate-backed in-process S3 endpoint (see the harness work in this milestone), or tag them integration and gate on AWS_PROFILE=aws. Do not leave them as untagged tests that need network and credentials.
Fixed in v0.10.1. The SDK's tests skip rather than fail when no credentials are present, so go test ./... in a clean checkout no longer depends on an AWS account.
area: sdkClient SDKs (Python, Java, JavaScript)priority: highImportant issue that should be addressed soontype: testingTest coverage, test infrastructure, or test improvements
Activity
scttfrdmn commentedon Aug 2, 2026
Fixed in v0.10.1. The SDK's tests skip rather than fail when no credentials are present, so
go test ./...in a clean checkout no longer depends on an AWS account.