Repository navigation
fix: enhance data pipeline resilience with retry backoff and bump dependencies #30 - #30
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
🎯 Amaç
GitHub API'den veri çeken zamanlanmış iş akışının (Update DevSec Status Data) yoğun saatlerde ikincil hız limitine (Secondary Rate Limit - 403) takılıp başarısız olmasını engellemek amacıyla akıllı geri çekilme ve yeniden deneme mekanizması kazandırılması; aynı zamanda GitHub Dependabot tarafından talep edilen
dompurifyvevitebağımlılıklarının pnpm standartlarında güncellenerek uyumsuz PR'ların çözüme kavuşturulması amaçlanmıştır.🔨 Yapılanlar
fetchWithRetryyardımcı fonksiyonu eklenerek GitHub API'den geçici403 Secondary Rate Limitveya bağlantı hatası alındığında anında işlemi düşürmek yerine,retry-afterbaşlığı (veya varsayılan 45 saniyelik geri çekilme) süresince beklenip isteğin bir kez daha denenmesi sağlanmıştır.dompurifysürümü^3.2.7,vitesürümü^6.4.5olarak güncellenmiş vepnpm-lock.yamlkilit dosyası pnpm v10 ile uyumlu şekilde yenilenmiştir. Bu PR birleştirildiğinde Dependabot'un açtığı PR chore(deps): bump dompurify from 3.4.16 to 3.4.17 #28 ve PR chore(deps-dev): bump vite from 6.4.3 to 6.4.4 #29 otomatik olarak kapanacaktır.📝 Notlar
🧪 Kontroller
vitest run) başarıyla geçtiği doğrulanmıştır.tsc && vite buildüretim derlemesi çalıştırılarak hatasız derleme sağlandığı teyit edilmiştir.