refactor: scope worker debug_mode to BaseWorker logger only
Address review feedback: instead of setting global logging level
in post_hoc_settings, set the worker's own logger to DEBUG in
BaseWorker.__init__ when worker.debug_mode is True.
Co-Authored-By: unknown <>
Handle missing resources gracefully in transfer automations
When an automation references a deployment, work queue, or block document
that no longer exists, the transfer command now logs a warning and skips
the missing dependency instead of crashing with ObjectNotFound.
Closes #20559
Co-Authored-By: alex.s@prefect.io <ajstreed1@gmail.com>