Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix installation issue when upgrading from an older version of the tool and improve logs #740

Merged
merged 2 commits into from
Dec 28, 2023

Conversation

mwojtyczka
Copy link
Contributor

@mwojtyczka mwojtyczka commented Dec 27, 2023

Fixes #730:

  • Fixed installation issue when upgrading from an older version
  • Improved logging messages

Improved error handling
Improve logging messages
Copy link

codecov bot commented Dec 27, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (6c89e67) 79.43% compared to head (16470b5) 79.44%.

Files Patch % Lines
src/databricks/labs/ucx/framework/dashboards.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #740   +/-   ##
=======================================
  Coverage   79.43%   79.44%           
=======================================
  Files          42       42           
  Lines        4411     4412    +1     
  Branches      819      819           
=======================================
+ Hits         3504     3505    +1     
  Misses        693      693           
  Partials      214      214           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@nfx nfx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add tests to auto-merge

@@ -192,7 +192,7 @@ def _remote_folder_object(self) -> workspace.ObjectInfo:
def _installed_query_state(self):
if not self._state.dashboards:
for k, v in self._state_pre_v06().items():
prefix, suffix = k.split(":", 2)
prefix, suffix = [*k.split(":"), None][:2]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add tests, as suggested by codecov bot.

@nfx nfx merged commit 24d4acb into main Dec 28, 2023
6 of 7 checks passed
@nfx nfx deleted the fix/installation branch December 28, 2023 09:16
nfx pushed a commit that referenced this pull request Dec 28, 2023
* Corrected unit test setup as per PR
[740](#740)
* Fixed corrupted state warning
@nfx nfx mentioned this pull request Dec 28, 2023
nfx added a commit that referenced this pull request Dec 28, 2023
* Added `databricks labs ucx repair-run --step ...` CLI command for repair run of any failed workflows, like `assessment`, `migrate-groups` etc. ([#724](#724)).
* Added `databricks labs ucx revert-migrated-table` command ([#729](#729)).
* Allow specifying a group list when group match options are used ([#725](#725)).
* Fixed installation issue when upgrading from an older version of the tool and improve logs ([#740](#740)).
* Renamed summary panel from Failure Summary to Assessment Summary ([#733](#733)).
* Retry internal error when getting permissions and update legacy table ACL documentation ([#728](#728)).
* Speedup installer execution ([#727](#727)).
nfx added a commit that referenced this pull request Dec 28, 2023
* Added `databricks labs ucx repair-run --step ...` CLI command for
repair run of any failed workflows, like `assessment`, `migrate-groups`
etc. ([#724](#724)).
* Added `databricks labs ucx revert-migrated-table` command
([#729](#729)).
* Allow specifying a group list when group match options are used
([#725](#725)).
* Fixed installation issue when upgrading from an older version of the
tool and improve logs
([#740](#740)).
* Renamed summary panel from Failure Summary to Assessment Summary
([#733](#733)).
* Retry internal error when getting permissions and update legacy table
ACL documentation
([#728](#728)).
* Speedup installer execution
([#727](#727)).
HariGS-DB pushed a commit that referenced this pull request Jan 2, 2024
HariGS-DB pushed a commit that referenced this pull request Jan 2, 2024
* Corrected unit test setup as per PR
[740](#740)
* Fixed corrupted state warning
HariGS-DB pushed a commit that referenced this pull request Jan 2, 2024
* Added `databricks labs ucx repair-run --step ...` CLI command for
repair run of any failed workflows, like `assessment`, `migrate-groups`
etc. ([#724](#724)).
* Added `databricks labs ucx revert-migrated-table` command
([#729](#729)).
* Allow specifying a group list when group match options are used
([#725](#725)).
* Fixed installation issue when upgrading from an older version of the
tool and improve logs
([#740](#740)).
* Renamed summary panel from Failure Summary to Assessment Summary
([#733](#733)).
* Retry internal error when getting permissions and update legacy table
ACL documentation
([#728](#728)).
* Speedup installer execution
([#727](#727)).
FastLee pushed a commit that referenced this pull request Jan 19, 2024
FastLee pushed a commit that referenced this pull request Jan 19, 2024
* Corrected unit test setup as per PR
[740](#740)
* Fixed corrupted state warning
FastLee pushed a commit that referenced this pull request Jan 19, 2024
* Added `databricks labs ucx repair-run --step ...` CLI command for
repair run of any failed workflows, like `assessment`, `migrate-groups`
etc. ([#724](#724)).
* Added `databricks labs ucx revert-migrated-table` command
([#729](#729)).
* Allow specifying a group list when group match options are used
([#725](#725)).
* Fixed installation issue when upgrading from an older version of the
tool and improve logs
([#740](#740)).
* Renamed summary panel from Failure Summary to Assessment Summary
([#733](#733)).
* Retry internal error when getting permissions and update legacy table
ACL documentation
([#728](#728)).
* Speedup installer execution
([#727](#727)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Installation fails while installing dashboard
2 participants