🐛 🏗 Fix race condition between lazy and prebuild. (#28796)
🐛 🏗 Fix race condition between lazy and prebuild. (#28796)

This caused a double-build if a resource was requested before the prebuild finished.

sharethrough/amphtml,yandex-pcode/amphtml,honeybadgerdontcare/amphtml,smartadserver/amphtml,Gregable/amphtml,nexxtv/amphtml,danielrozenberg/amphtml,mhc-gh/amphtml,jridgewell/amphtml,ampproject/amphtml,jridgewell/amphtml,alanorozco/amphtml,prateekbh/amphtml,honeybadgerdontcare/amphtml,prateekbh/amphtml,Gregable/amphtml,danielrozenberg/amphtml,danielrozenberg/amphtml,yandex-pcode/amphtml,Gregable/amphtml,mhc-gh/amphtml,media-net/amphtml,prateekbh/amphtml,mhc-gh/amphtml,nexxtv/amphtml,nexxtv/amphtml,media-net/amphtml,adup-tech/amphtml,sharethrough/amphtml,honeybadgerdontcare/amphtml,ampproject/amphtml,mhc-gh/amphtml,lannka/amphtml,yandex-pcode/amphtml,Gregable/amphtml,honeybadgerdontcare/amphtml,yandex-pcode/amphtml,adup-tech/amphtml,jridgewell/amphtml,zhouyx/amphtml,honeybadgerdontcare/amphtml,zhouyx/amphtml,danielrozenberg/amphtml,prateekbh/amphtml,rsimha-amp/amphtml,ampproject/amphtml,honeybadgerdontcare/amphtml,jmadler/amphtml,nexxtv/amphtml,mhc-gh/amphtml,media-net/amphtml,jridgewell/amphtml,jpettitt/amphtml,sharethrough/amphtml,zhouyx/amphtml,rsimha-amp/amphtml,ampproject/amphtml,voyagegroup/amphtml,jpettitt/amphtml,media-net/amphtml,jpettitt/amphtml,rsimha-amp/amphtml,voyagegroup/amphtml,jridgewell/amphtml,lannka/amphtml,media-net/amphtml,Gregable/amphtml,media-net/amphtml,voyagegroup/amphtml,sharethrough/amphtml,adup-tech/amphtml,yandex-pcode/amphtml,honeybadgerdontcare/amphtml,mhc-gh/amphtml,sharethrough/amphtml,nexxtv/amphtml,voyagegroup/amphtml,jpettitt/amphtml,Gregable/amphtml,danielrozenberg/amphtml,prateekbh/amphtml,zhouyx/amphtml,rsimha-amp/amphtml,jpettitt/amphtml,adup-tech/amphtml,rsimha-amp/amphtml,alanorozco/amphtml,jmadler/amphtml,lannka/amphtml,alanorozco/amphtml,sharethrough/amphtml,lannka/amphtml,smartadserver/amphtml,zhouyx/amphtml,jridgewell/amphtml,nexxtv/amphtml,jpettitt/amphtml,adup-tech/amphtml,zhouyx/amphtml,media-net/amphtml,danielrozenberg/amphtml,nexxtv/amphtml,rsimha-amp/amphtml,smartadserver/amphtml,alanorozco/amphtml,yandex-pcode/amphtml,jridgewell/amphtml,jpettitt/amphtml,lannka/amphtml,ampproject/amphtml,alanorozco/amphtml,Gregable/amphtml,smartadserver/amphtml,rsimha-amp/amphtml,voyagegroup/amphtml,danielrozenberg/amphtml,voyagegroup/amphtml,yandex-pcode/amphtml,prateekbh/amphtml,prateekbh/amphtml,media-net/amphtml,smartadserver/amphtml,jpettitt/amphtml,jmadler/amphtml,ampproject/amphtml,Gregable/amphtml,lannka/amphtml,ampproject/amphtml,voyagegroup/amphtml,smartadserver/amphtml,ampproject/amphtml,adup-tech/amphtml,mhc-gh/amphtml,lannka/amphtml,jmadler/amphtml,alanorozco/amphtml,jmadler/amphtml,alanorozco/amphtml,zhouyx/amphtml,mhc-gh/amphtml,alanorozco/amphtml,danielrozenberg/amphtml,jmadler/amphtml