https://github.com/agentgateway/agentgateway/pull/1477 triggers a new race, as Index can now be nil. To avoid adding a bunch of nil-checks everywhere, introduce a common helper
https://github.com/agentgateway/agentgateway/pull/1477 triggers a new race, as Index can now be nil. To avoid adding a bunch of nil-checks everywhere, introduce a common helper