You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
5.18.0 (2026-09-09)
Bugs Fixed
Fixed a memory leak on the scale-only host path where MessagingProvider and its cached ServiceBusClients were never disposed on host teardown. AddServiceBusScaleForTrigger now forces construction of CleanupService, which the DI container then disposes automatically, tearing down the cached clients and releasing their AMQP connections, CBS-refresh timers, and heartbeat timers. Previously these stayed registered on the process-wide static TimerQueue for the life of the process, because a scale-only host (ConfigureWebJobsScale) does not initialize IExtensionConfigProviders — the binding path's normal route into CleanupService.
Fixed overly aggressive scale-out in ServiceBusScaleMonitor. When queue time is increasing, the monitor now votes to scale out only once the most recent sample's queue latency reaches 2 seconds, matching Scale Controller V2 behavior. - AB#32302750
Fixed AMQP map key deserialization in the settlement path so that AmqpSymbol keys use their underlying value rather than ToString(). (#60653)
Fixed a log message in ServiceBusMetricsProvider that was missing string interpolation and emitted literal placeholder text instead of the entity type and path. (#60818)
Other Changes
Replaced scaling warning/error log calls with standardized LogFunctionScaleWarning extension method to enable Scale Controller App Insights diagnostics.
Added diagnostic logging for the two paths where ServiceBusScaleMonitor votes to not scale without explanation — no metrics available, and fewer metric samples than required for a scale decision — along with metric value logging in ServiceBusMetricsProvider. (#60818)
Added a net10.0 target and updated .NET runtime dependencies to the 10.x line. The package now targets net10.0, net8.0, and netstandard2.0.
Removed the direct Microsoft.Extensions.Hosting package reference.