I updated my PR
here to move it out of draft. As far as I can tell it seems to be working relatively smoothly for us and now has some tests and documentation to go with it. I think it's now ready for a review.
@Vadim this is the PR that
@Kyle Larose mentioned to you last week.