An Azure service that is used to automate, configure, and install updates across hybrid environments.
Hi @Hugo Blok
Thank you for sharing the error details this helps clarify the root cause.
Yes, we can confirm that the slot swap failures are caused by the Python ImportError, not by the swap operation itself.
During a slot swap, Azure App Service performs an internal warm‑up check that requires the source slot to successfully start and respond to an HTTP request. Because the application sometimes fails to start due to:
Knowledge base
ImportError: cannot import name 'Sentinel' from 'typing_extensions'
the staging slot does not become healthy in time, which results in the “did not respond to http ping” swap failure.
This also explains why the issue occurs intermittently — dependency or cache‑related version conflicts in Python environments can cause this error only on some startups.
Resolving the underlying Python package/version conflict should make the slot swap reliable again.
Please click "Accept the answer” and Yes, this can be beneficial to other community members.
If you have any other questions, let me know in the "comments" and I would be happy to help you