dbx icon indicating copy to clipboard operation
dbx copied to clipboard

dbx launch: Run url wrapped to 2+1 lines

Open tonkolviktor opened this issue 3 years ago • 3 comments
trafficstars

Expected Behavior

I expect the Run url in one line.

Current Behavior

I have 2 lines (+1 for the timestamp): image

[dbx][2022-09-05 09:55:40.440] Run URL: 
https://adb-XXXXXXXX.2.azuredatabricks.net/?o=YYYYYY#job/8ZZZ6
9ZZZZZZ3/run/963171

Steps to Reproduce (for bugs)

I'm a bit unsure if this happens everyone or only in Azure DevOps when there is an traceback

Context

I'm running a CI and I have an error. I would like to click on the url, but that does not work.

I'm not 100% sure if this is a dbx problem, but in <0.7.* this worked, so I'll try here first.

Your Environment

dbx 0.7.4 Azure DevOps

  • dbx version used: dbx 0.7.4
  • Databricks Runtime version: 10.4 LTS

tonkolviktor avatar Sep 05 '22 10:09 tonkolviktor

I cannot reproduce this behaviour locally, seems like something specific to how Azure DevOps formats the output.

renardeinside avatar Sep 06 '22 09:09 renardeinside

I assume it's due to how rich strings are formatted, let me check what the options are. Thanks a lot for reporting this one @tonkolviktor !

renardeinside avatar Sep 06 '22 10:09 renardeinside

I'm also facing this issue. Locally it's fine, on ADO I get the split lines.

badjouras avatar Sep 15 '22 14:09 badjouras