Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .agents/skills/bump-sdk/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ A new struct field triggers an `exhaustruct` lint failure in `bundle/direct/dres
Where a remote is rebuilt by hand from a GET response (e.g. `makeJobRunRemote` maps `jobs.Run` into the `jobs.RunNow`-shaped `JobRunRemote`), copy the new field from the response if the response has it, and list it with the request-only zero values otherwise.
`job_runs.yml` must list every `jobs.RunNow` field under `ignore_remote_changes`; `TestJobRunIgnoresEveryRequestField` fails on a new one.
A field the new spec now annotates as output-only may already be emitted into `<resource_type>.generated.yml`, making the manual entry in `<resource_type>.yml` redundant; `TestResourcesYMLNoRedundantRules` catches this, so remove the manual entry.
Keep one-off Python codegen fixes to a simple one-line override (e.g. `schemas["jobs.SqlConditionTriggerMode"].description = None` in `python/codegen/codegen/main.py`) and regenerate; do not expand patch helpers or add abstractions just to drop one malformed description, and keep the actual config field.
Rerun `./task bump-sdk-post` after the fixes.

**6. VERIFY.**
Expand Down
2 changes: 1 addition & 1 deletion .codegen/_openapi_sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ced34d63e64d234affc3213758ac687edbf6f3c3
6fdee6b2790c8a487592a5371b478d55b4c9f185
7,361 changes: 5,850 additions & 1,511 deletions .codegen/cli.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,13 @@ cmd/workspace/sandbox/sandbox.go linguist-generated=true
cmd/workspace/schemas/schemas.go linguist-generated=true
cmd/workspace/secrets-uc/secrets-uc.go linguist-generated=true
cmd/workspace/secrets/secrets.go linguist-generated=true
cmd/workspace/serverless-compute-service/serverless-compute-service.go linguist-generated=true
cmd/workspace/service-principal-secrets-proxy/service-principal-secrets-proxy.go linguist-generated=true
cmd/workspace/service-principals-v2/service-principals-v2.go linguist-generated=true
cmd/workspace/serving-endpoints/serving-endpoints.go linguist-generated=true
cmd/workspace/settings/settings.go linguist-generated=true
cmd/workspace/shares/shares.go linguist-generated=true
cmd/workspace/software-artifacts/software-artifacts.go linguist-generated=true
cmd/workspace/sql-results-download/sql-results-download.go linguist-generated=true
cmd/workspace/storage-credentials/storage-credentials.go linguist-generated=true
cmd/workspace/supervisor-agents/supervisor-agents.go linguist-generated=true
Expand Down
1 change: 1 addition & 0 deletions .nextchanges/dependency-updates/go-sdk-v0.197.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Update the Go SDK to [v0.197.0](https://github.com/databricks/databricks-sdk-go/releases/tag/v0.197.0). ([#7457](https://github.com/databricks/cli/pull/7457))
2 changes: 1 addition & 1 deletion acceptance/bundle/deploy/immutable/basic/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Building python_artifact...
},
"can_manage": {
"action": "skip",
"reason": "missing_in_remote",
"reason": "spec:output_only",
"old": [
{
"service_principal_name": "[USERNAME]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged
},
"can_manage": {
"action": "skip",
"reason": "missing_in_remote",
"reason": "spec:output_only",
"old": [
{
"service_principal_name": "[USERNAME]"
Expand Down
1 change: 1 addition & 0 deletions acceptance/bundle/refschema/output/features.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ resources.features.*.lineage_context.job_context.job_run_id int64 ALL
resources.features.*.lineage_context.notebook_id int64 ALL
resources.features.*.modified_status string INPUT
resources.features.*.name string ALL
resources.features.*.output_type_text string ALL
resources.features.*.schema_name string ALL
resources.features.*.source ml.DataSource ALL
resources.features.*.source.delta_table_source *ml.DeltaTableSource ALL
Expand Down
3 changes: 3 additions & 0 deletions acceptance/bundle/refschema/output/materialization_sets.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ resources.materialization_sets.*.materialized_features[*].cron_schedule string A
resources.materialization_sets.*.materialized_features[*].cron_schedule_trigger *ml.CronSchedule ALL
resources.materialization_sets.*.materialized_features[*].cron_schedule_trigger.cron_expression string ALL
resources.materialization_sets.*.materialized_features[*].cron_schedule_trigger.mode ml.CronScheduleMode ALL
resources.materialization_sets.*.materialized_features[*].cron_schedule_trigger.paused bool ALL
resources.materialization_sets.*.materialized_features[*].cron_schedule_trigger.timezone_id string ALL
resources.materialization_sets.*.materialized_features[*].external_trigger *ml.ExternalTrigger ALL
resources.materialization_sets.*.materialized_features[*].feature_name string ALL
resources.materialization_sets.*.materialized_features[*].is_online bool ALL
resources.materialization_sets.*.materialized_features[*].job_id int64 ALL
Expand Down Expand Up @@ -51,6 +53,7 @@ resources.materialization_sets.*.materialized_features[*].table_name string ALL
resources.materialization_sets.*.materialized_features[*].table_trigger *ml.TableTrigger ALL
resources.materialization_sets.*.materialized_features[*].table_trigger.condition ml.TableTriggerTableTriggerCondition ALL
resources.materialization_sets.*.materialized_features[*].table_trigger.min_time_between_triggers *duration.Duration ALL
resources.materialization_sets.*.materialized_features[*].table_trigger.paused bool ALL
resources.materialization_sets.*.materialized_features[*].table_trigger.wait_after_last_change *duration.Duration ALL
resources.materialization_sets.*.materialized_features[*].tags map[string]string ALL
resources.materialization_sets.*.materialized_features[*].tags.* string ALL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,13 @@ resources.vector_search_endpoints.*.modified_status string INPUT
resources.vector_search_endpoints.*.name string ALL
resources.vector_search_endpoints.*.num_indexes int REMOTE
resources.vector_search_endpoints.*.scaling_info *vectorsearch.EndpointScalingInfo REMOTE
resources.vector_search_endpoints.*.scaling_info.delayed_reason vectorsearch.EndpointScalingInfoScalingDelayReason REMOTE
resources.vector_search_endpoints.*.scaling_info.estimated_completion_timestamp int64 REMOTE
resources.vector_search_endpoints.*.scaling_info.index_initialization_percentage int REMOTE
resources.vector_search_endpoints.*.scaling_info.phase vectorsearch.EndpointScalingInfoScalingPhase REMOTE
resources.vector_search_endpoints.*.scaling_info.requested_target_qps int64 REMOTE
resources.vector_search_endpoints.*.scaling_info.state vectorsearch.ScalingChangeState REMOTE
resources.vector_search_endpoints.*.scaling_info.target_qps_change_allowed_after_timestamp int64 REMOTE
resources.vector_search_endpoints.*.target_qps int64 ALL
resources.vector_search_endpoints.*.url string INPUT
resources.vector_search_endpoints.*.usage_policy_id string INPUT STATE
Expand Down
1 change: 1 addition & 0 deletions acceptance/help/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ Unity Catalog
rfa *Public Preview* Request for Access enables users to request access for Unity Catalog securables.
schemas A schema (also called a database) is the second layer of Unity Catalog’s three-level namespace.
secrets-uc A secret is a Unity Catalog securable object that stores sensitive credential data (such as passwords, tokens, and keys) within a three-level namespace (**catalog_name.schema_name.secret_name**).
software-artifacts *Beta* Manage software artifacts and their versions in Unity Catalog.
storage-credentials A storage credential represents an authentication and authorization mechanism for accessing data stored on your cloud tenant.
system-schemas *Public Preview* A system schema is a schema that lives within the system catalog.
table-constraints Primary key and foreign key constraints encode relationships between fields in tables.
Expand Down
2 changes: 2 additions & 0 deletions bundle/direct/dresources/apitypes.generated.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions bundle/direct/dresources/configs/features.generated.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions bundle/direct/dresources/configs/materialization_sets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ recreate_on_changes:
reason: immutable
- field: materialized_features[*].table_trigger
reason: immutable
- field: materialized_features[*].external_trigger
reason: immutable
Comment on lines +10 to +11

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@Daniel114510 please add immutable in the protos. also, backend seems to be NOT_IMPLEMENTED for this field?

- field: materialized_features[*].streaming_mode
reason: immutable
- field: materialized_features[*].pipeline_schedule_state
Expand Down
Loading
Loading