Benjamin R. Everett
02/21/2026, 6:59 PMMarvin
02/21/2026, 6:59 PMMarvin
02/21/2026, 7:04 PMprefect task-run ls --limit 50
prefect task-run ls --state-type RUNNING
prefect task-run inspect <TASK_RUN_ID>
prefect task-run logs <TASK_RUN_ID>
- Confirm tasks are emitting logs inside the flow (these always show in the flow-run Logs view)
from prefect import flow, task
from prefect.logging import get_run_logger
@task
def my_task():
logger = get_run_logger()
<http://logger.info|logger.info>("hello from my_task")
return 1
@flow
def my_flow():
my_task.submit() # or my_task()
- If you’re on a distributed runner (Dask/Ray), upgrade to the latest Prefect 3.6.x and the latest integration package (e.g., prefect-dask), then re-test. The linked issue above tracks fixes/workarounds.
Could you share:
- Your Prefect version (run prefect version)
- Cloud vs self-hosted Server
- Whether you’re using Dask/Ray (and versions)
- A screenshot or description of where in the UI you used to see task runs
With that, I can confirm whether you’re hitting a version-specific UI change or a known bug and suggest the best path forward.Nate
02/21/2026, 7:43 PMMarvin
02/21/2026, 7:43 PMMarvin
02/21/2026, 7:44 PM.submit(), there’s a known issue in some 3.6.x builds where tasks may not appear in the UI. See Prefect UI cannot see tasks with DaskTaskRunner. Upgrading Prefect and the integration (e.g., prefect-dask) usually resolves it.
Quick CLI checks (verified):
prefect task-run ls --limit 50
prefect task-run inspect <TASK_RUN_ID>
prefect task-run logs <TASK_RUN_ID>
If you share:
- Your Prefect version (prefect version)
- Cloud vs self-hosted
- Whether you’re using Dask/Ray (and versions)
…I can pinpoint why they weren’t showing for you and suggest the exact fix.