-
Notifications
You must be signed in to change notification settings - Fork 98
Fixes the broken test after blueprint bug fixes #4442
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes broken tests after blueprint bug fixes by updating test configurations to include new required boolean configuration fields. The changes ensure test compatibility with blueprint changes that added new boolean configuration parameters.
- Added six new boolean configuration fields to test fixtures
- Updated dependency to use a patched version of databricks-labs-blueprint
- Added configuration for direct Git references in pyproject.toml
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
tests/unit/install/test_install.py | Added new boolean configuration fields to test fixtures |
tests/unit/hive_metastore/test_mapping.py | Added 'compare_rows' field to mapping test data |
pyproject.toml | Updated blueprint dependency to Git reference and enabled direct references |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
#"databricks-labs-blueprint>=0.11.0,<0.12.0", | ||
"databricks-labs-blueprint @ git+https://github.com/databrickslabs/blueprint@patch/bool_type", |
Copilot
AI
Sep 26, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using a Git branch reference instead of a versioned release creates instability and makes builds non-reproducible. Consider releasing a proper version of the blueprint library with the boolean type fixes and reverting to semantic versioning.
#"databricks-labs-blueprint>=0.11.0,<0.12.0", | |
"databricks-labs-blueprint @ git+https://github.com/databrickslabs/blueprint@patch/bool_type", | |
"databricks-labs-blueprint>=0.11.0,<0.12.0", |
Copilot uses AI. Check for mistakes.
if len(groups) == 1: | ||
return groups[0].display_name | ||
group_names = [group.display_name for group in groups] | ||
group_names = [group.display_name for group in groups if group.display_name is not None] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was done for fmt fixes
❌ 129/132 passed, 3 flaky, 3 failed, 11 skipped, 6h16m22s total ❌ test_table_migration_convert_manged_to_external: databricks.sdk.errors.sdk.OperationFailed: failed to reach TERMINATED or SKIPPED, got RunLifeCycleState.INTERNAL_ERROR: Task crawl_lakeview_dashboards failed with message: Cluster DATABRICKS_CLUSTER_ID was terminated during the run (cluster state message: Termination requested by 0a330eb5-dd51-4d97-b6e4-c474356b1d5d). (9m52.669s)
❌ test_installation_with_dependency_upload: databricks.sdk.errors.sdk.OperationFailed: failed to reach TERMINATED or SKIPPED, got RunLifeCycleState.INTERNAL_ERROR: Task failing_task failed with message: Workload failed, see run output for details. (1m48.897s)
❌ test_hiveserde_table_in_place_migration_job[migrate-external-hiveserde-tables-in-place-experimental]: AssertionError: Workflow failed: migrate-external-hiveserde-tables-in-place-experimental (27m44.999s)
Flaky tests:
Running from acceptance #8888 |
Changes
This PR addresses broken tests following blueprint bug fixes by updating test configurations to include six new required boolean configuration fields. It ensures compatibility with recent blueprint changes that added new boolean configuration parameters.
Linked issues
databrickslabs/blueprint#268
Resolves #..
Resolves a Lakebridge bug which doesn't store boolean value in workspace config.yml when set to False.
Functionality
databricks labs ucx ...
...
...
Tests