Do retry attempts encapsulate both application failures and worker outages?

Mostly title. I couldn’t find documentation on what constitutes a retry, or how worker outages affect retry policies in general. We frequently shutdown and redeploy our workers, which may or may not have already running activities on them.

When the worker shuts down, the currently executing activities time out.