Context
Follow-up from PR #7776 (exegraph) review - wbreza Pass 3, finding M4.
Problem
Every Getenv/LookupEnv call in pkg/environment/environment.go acquires mu.RLock individually. Under 30+ concurrent goroutines (e.g. parallel service deploys all reading env vars), this may become measurable contention.
Acceptance Criteria
Notes
Not catastrophic - current impl is correct. This is a performance investigation, not a correctness fix.
Related
Context
Follow-up from PR #7776 (exegraph) review - wbreza Pass 3, finding M4.
Problem
Every Getenv/LookupEnv call in pkg/environment/environment.go acquires mu.RLock individually. Under 30+ concurrent goroutines (e.g. parallel service deploys all reading env vars), this may become measurable contention.
Acceptance Criteria
Notes
Not catastrophic - current impl is correct. This is a performance investigation, not a correctness fix.
Related