ucx icon indicating copy to clipboard operation
ucx copied to clipboard

[FEATURE]: Create Deterministic Assessment Codes

Open FastLee opened this issue 2 years ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Problem statement

Currently assessment generates text based issue. We cannot use these to key dependent tasks.

Related issues:

  • https://github.com/databrickslabs/ucx/issues/846
  • https://github.com/databrickslabs/ucx/issues/844
  • https://github.com/databrickslabs/ucx/issues/810
  • https://github.com/databrickslabs/ucx/issues/765
  • https://github.com/databrickslabs/ucx/issues/498
  • https://github.com/databrickslabs/ucx/issues/445
  • https://github.com/databrickslabs/ucx/issues/415
  • https://github.com/databrickslabs/ucx/issues/415
  • https://github.com/databrickslabs/ucx/issues/342
Format Domain
Axx azure service principals
Cxx clusters
Jxx jobs
Lxx live tables
Pxx policies
Nxx notebooks
Wxx warehouses
Txx tables
Sxx schemas

Proposed Solution

Create a single source of Assessment Codes and use these in assessment. We would use a format of: UXXX: <Finding Explanation>. For Example: U001: Unsupported DBR: 10.1

Additional Context

See ruff's error codes: https://docs.astral.sh/ruff/rules/#warning-w

FastLee avatar Feb 05 '24 17:02 FastLee

Covered in part by #1123 and #810 and #806 Enhance assessment.md and interactive report according to specs above.

dmoore247 avatar Mar 28 '24 13:03 dmoore247

We now have an Advice code that's deterministic. Should we close this ?

ericvergnaud avatar Jul 09 '24 15:07 ericvergnaud

yes, let's close this. Made some progress in https://github.com/databrickslabs/ucx/pull/2194

nfx avatar Jul 17 '24 17:07 nfx