backend-only changes from #27271; see that PR for summary of changes + implementation details
go tool