Skip to content

Incorrect results for databricks labs ucx workflows command #786

@nfx

Description

@nfx

There are two issues with the workflows command:

  1. only assessment job is shown in the list, even though we have to show all of the relevant jobs - assessment, migrate-groups, remove-backup-groups, ...
  2. state is None, but it should have been failed.
  3. Started should show a bit more human-friendly value, like "34 minutes ago"
$ databricks labs ucx workflows
12:11:43  INFO [databricks.sdk] Using Databricks CLI authentication
12:11:43  INFO [d.labs.ucx] Fetching deployed jobs...
Step        State  Started
assessment  None   1.705400967017e+12

this is the result on a fresh installation for a workflow that is currently running:
image

and this is for the assessment job that finished - the UCX is not quite good.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions