Saved by github
Well, on that basis, this is entirely Gentoo's screwup and could equally well have happened on their own non-github infrastructure.
More than that, it was github noise - automatically generated email - that alerted folks to the issue. You tell us that, without that noise, it might have remained undiscovered for ... who knows how long? I hope gentoo's non-github infrastructure benefits from the safeguard of a comparable level of noise!
Whoops!