Yerel build süresini 3:27’den ~47 saniyeye indir - #76
Merged
Merged
Conversation
Build komutunu production frontend/artifact doğrulamasına odakla ve tam D1 kapısını yeni verify komutunda koru. Editorial post/publish akışlarını verify üzerinden fail-closed tut; ölçülen yerel build duvar süresini 207.45 saniyeden 46.87 saniyeye indir.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sorun
npm run buildiki farklı işi tek komutta taşıyordu: 342 D1/workerd regresyon testi ve production frontend/artifact doğrulaması. Aynı Mac mini üzerinde ölçülen gerçek duvar süresi 207.45 saniyeydi (3:27).Sadece daha fazla concurrency vermek çözmedi: denenen varyantlar 190.79s ve 185.52s seviyesinde kaldı; browser testi de kaynak yarışında 100+ saniyeye kadar şişti. Bu varyantlar ship edilmedi.
Değişiklik
npm run buildartık gerçekten production frontend/artifact kapısı:npm run test:d1komutunda aynen kaldı.npm run verify = npm run test:d1 && npm run buildeski tam kalite kapısını koruyor.orbit:postveorbit:publishartıkverifyçağırıyor; editorial akış D1'i atlayamıyor.verifykapısını kullanmasını kilitleyen regresyon eklendi.Gerçek duvar süresi
Aynı yerel Mac mini,
/usr/bin/time -p:npm run buildFinal mimaride
npm run verifyde 203.23s'de tam D1 + yeni build yüzeyini başarıyla tamamladı. Bu bilerek ağır olan explicit kalite kapısıdır; günlük artifact build değildir.Doğrulama
npm ci— audit 0npm run verify— 342/342 D1 + build, exit 0npm run build— 46.87s, exit 0npm run check— 215 dosya, 0 error / 0 warning / 0 hintnpm run actions:scope:test— 6/6npm audit— 0 vulnerability