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
spawn pool: shared spawn-pool-worker role is clobbered by a concurrent pool create #1147
Found in code while writing the tasks-and-pools guide for spore-host/spore-host#585 part 3. Not run on AWS. The guide documents the current behaviour and warns: one pool at a time per account, and always pool drain.
Every pool shares the role spawn-pool-worker (cmd/pool.go:288). CreateOrGetInstanceProfile overwrites its single inline policy (pkg/aws/iam.go:499-503), which is scoped to one run's queue. A second pool create therefore cuts the first pool's workers off from their queue.
Activity
fix(pool): give each pool its own worker IAM role; drain removes it