Can't help but think if the author of that PR had been less defeatist and snarky they would have had a chance at decent discussion about it being a viable option (with AI).
At least have it be split into some files and structured in some way.
spaghetti code is code that snakes through the code base in a hard-to-follow way