Follow-up from "rails integration branch for "Remote Development Integration Branches""
The following discussion from !105783 should be addressed:
- [ ] @splattael started a [discussion](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/105783#note_1378414139):
> **Question** Looking at https://docs.gitlab.com/ee/development/gotchas.html#why I see some concerns regarding the use of `any_instance_of`. Can we ensure that we are safe in this case and create an issue to find a solution which does involve this call? :pray:
issue