From 3789165b6f3af079a1777d226a80d6bf71c11ba2 Mon Sep 17 00:00:00 2001 From: selmankoc Date: Mon, 1 Jun 2026 14:22:24 +0300 Subject: [PATCH 1/2] Remove unused project reference for AspNetCore.Components.Server in common.ps1 --- nupkg/common.ps1 | 1 - 1 file changed, 1 deletion(-) diff --git a/nupkg/common.ps1 b/nupkg/common.ps1 index 9be109e779..f47d94f9d7 100644 --- a/nupkg/common.ps1 +++ b/nupkg/common.ps1 @@ -112,7 +112,6 @@ $projects = ( "framework/src/Volo.Abp.AspNetCore.Components.WebAssembly", "framework/src/Volo.Abp.AspNetCore.Components.WebAssembly.Theming", "framework/src/Volo.Abp.AspNetCore.Components.WebAssembly.Theming.Bundling", - "framework/src/Volo.Abp.AspNetCore.Components.Server", "framework/src/Volo.Abp.AspNetCore.Components.Server.Theming", "framework/src/Volo.Abp.AspNetCore.Components.MauiBlazor.Bundling", "framework/src/Volo.Abp.AspNetCore.Components.MauiBlazor.Theming", From 5b447a999acf42332c278985786da2c535b6f169 Mon Sep 17 00:00:00 2001 From: selmankoc Date: Mon, 1 Jun 2026 14:26:44 +0300 Subject: [PATCH 2/2] Refactor sliding-window rate limiter to improve push timestamp management --- nupkg/push_packages.ps1 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/nupkg/push_packages.ps1 b/nupkg/push_packages.ps1 index f192c2a560..4ad4d46a90 100644 --- a/nupkg/push_packages.ps1 +++ b/nupkg/push_packages.ps1 @@ -35,8 +35,13 @@ foreach($project in $projects) { if ($maxPushesPerHour -gt 0) { $windowStart = (Get-Date).AddHours(-1) - $recentPushes = $pushTimestamps | Where-Object { $_ -gt $windowStart } - $pushTimestamps = [System.Collections.Generic.List[datetime]]$recentPushes + $recentPushes = @($pushTimestamps | Where-Object { $_ -gt $windowStart }) + $trimmedPushTimestamps = [System.Collections.Generic.List[datetime]]::new() + foreach ($timestamp in $recentPushes) + { + [void]$trimmedPushTimestamps.Add($timestamp) + } + $pushTimestamps = $trimmedPushTimestamps if ($pushTimestamps.Count -ge $maxPushesPerHour) {