-
Notifications
You must be signed in to change notification settings - Fork 100
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", |
| 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
|
❌ 75/77 passed, 2 failed, 6 skipped, 3h52m23s total ❌ 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. (1m49.381s)❌ test_table_migration_convert_manged_to_external: databricks.sdk.errors.sdk.OperationFailed: failed to reach TERMINATED or SKIPPED, got RunLifeCycleState.INTERNAL_ERROR: Task parse_logs failed with message: Workload failed, see run output for details. (10m43.991s)Running from acceptance #8963 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4442 +/- ##
==========================================
- Coverage 87.95% 87.78% -0.18%
==========================================
Files 123 123
Lines 17570 17570
Branches 3714 3714
==========================================
- Hits 15453 15423 -30
- Misses 1425 1458 +33
+ Partials 692 689 -3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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