fix: imported fixes 04-04-26

Merged
DI
6mo ago
+1081-164

Backport of #40405