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
pkg/pipeline: AWS clients built without a region fail on instances (same class as #899) #906
Found while fixing #899 (PR #902), which fixed the hybrid registry and spored run-queue.
pkg/pipeline builds its clients with a bare LoadDefaultConfig(ctx): data_handoff.go:31,300, peer_discovery.go:46, stage_runner.go:47,256,309 (NewStageDataHandler, GeneratePeerDiscoveryFile, downloadPipelineDefinitionFromS3, ...). On EC2 there is no AWS_REGION, and the Go SDK only consults IMDS with config.WithEC2IMDSRegion(), so these fail with Missing Region under spored run-pipeline-stage.
Nothing in this repo invokes run-pipeline-stage today, so this is latent. Suggested: use WithEC2IMDSRegion() (as #902 does for the queue runner), or decide whether the pipeline stage runner is dead code and remove it.
Activity
Give the pipeline stage runner's AWS clients the instance's region (#906
Give the pipeline stage runner's AWS clients the instance's region (#906