<@ULVA73B9P> why can I no longer see individual ta...
# ask-marvin
b
@Marvin why can I no longer see individual tasks runs in the Prefect UI?
m
thought for 283.2 seconds
Short answer: tasks are still being tracked in Prefect 3.x, but the UI now focuses on flow runs and, depending on your version/setup, you may not see a dedicated task-runs listing in the UI. A few common reasons: - You recently upgraded to Prefect 3.x: the new UI de‑emphasizes task runs; visibility is primarily via flow-run logs. Task runs are still created and queryable. - The flow run is still Pending: many UIs don’t render task details until the flow actually starts running. - You’re using a distributed task runner (e.g., Dask) with `.submit()`: there’s a known issue where task runs may not appear in the UI in some 3.6.x builds. See Prefect UI cannot see tasks with DaskTaskRunner. What you can do right now: - Check task runs from the CLI
Copy code
prefect 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)
Copy code
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.
n
well that’s not true at all @Marvin , the 3.x UI has better visibility for task run
m
thought for 34.9 seconds
You’re right—thanks for the correction. The latest Prefect 3.x UI does provide stronger visibility for task runs. Where to find task runs in the UI: - Runs page: switch to the Task Runs view to see task runs across your workspace. - Flow run details: open a flow run and select the Task Runs tab to see just that run’s tasks. If you still don’t see them: - Clear filters on the Runs/Task Runs view (state, tags, date range, etc.). - Make sure the flow has actually started (Pending flow runs won’t show task activity yet). - If you’re using a distributed runner (e.g., Dask) and calling
.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):
Copy code
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.