Added warmup logic for endpoints (#1119)
* Added warmup logic for endpoints * Update changelog * Added tests * restore endpoint factory contract preserve the public iendpointfactory httpcontext signature so existing custom factories remain compatible. * make endpoint warmup explicit avoid constructing endpoints during warmup because only cached delegates and related metadata need initialization. require an explicit warmup request and apply the endpoint filter so skipped endpoints are not warmed. * test messaging warmup cover messaging warmup so event bus resolution behavior is verified, including empty handler registration and missing service cases. * make messaging warmup lazy make event bus warmup opt-in so messaging startup matches endpoint warmup and avoids resolving event bus instances unless callers explicitly request the cold-start tradeoff. * make warmup filter an argument of `Warmup(...)` * add warmup tests * Moved Warmup inside endpoints.Found loop * use startup scope for binder resolving in warmup * fix failing tests * update changelog * skip binder warmup for value type request dtos, due to native aot incompatibility * Rename WarmUp -> Warmup in Messaging * Also renamed methods * warm up messaging * Also added messaging warmup when using jobqueues * update changelog --------- Co-authored-by: Sjors Goering <s.goering@4dotnet.nl> Co-authored-by: Dĵ ΝιΓΞΗΛψΚ <djnitehawk83@gmail.com>
S
SjorsGoering committed
d791b397ca79a13f6e1b6c72e4d22bf6973df51a
Parent: 7c9f90f
Committed by GitHub <noreply@github.com>
on 6/14/2026, 6:53:52 AM