Skip to content

Commit e4d6f25

Browse files
Fix pipeline update acceptance test output (#4706)
## Summary - Update expected output for `bundle/resources/pipelines/update` acceptance test to include the new `effective_publishing_mode` field ## Context The Databricks Pipelines API now returns an `effective_publishing_mode` field in pipeline responses. This caused the nightly integration tests to fail across all environments (AWS, Azure, GCP). ## Test plan - [x] Verified the fix resolves the test failure reported in [run 22938001978](https://github.com/databricks-eng/eng-dev-ecosystem/actions/runs/22938001978) - [x] Confirmed the change matches the expected API response format 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 09c42c5 commit e4d6f25

24 files changed

+27
-0
lines changed

acceptance/bundle/migrate/basic/out.plan_update.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@
170170
"metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/migrate-basic-test/dev/state/metadata.json"
171171
},
172172
"edition": "ADVANCED",
173+
"effective_publishing_mode": "DEFAULT_PUBLISHING_MODE",
173174
"id": "[UUID]",
174175
"last_modified": [UNIX_TIME_MILLIS][1],
175176
"libraries": [

acceptance/bundle/migrate/default-python/out.plan_after_deploy.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@
314314
},
315315
"development": true,
316316
"edition": "ADVANCED",
317+
"effective_publishing_mode": "DEFAULT_PUBLISHING_MODE",
317318
"environment": {
318319
"dependencies": [
319320
"--editable /Workspace/Users/[USERNAME]/.bundle/my_default_python/dev/files"

acceptance/bundle/migrate/default-python/out.plan_after_migration.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@
314314
},
315315
"development": true,
316316
"edition": "ADVANCED",
317+
"effective_publishing_mode": "DEFAULT_PUBLISHING_MODE",
317318
"environment": {
318319
"dependencies": [
319320
"--editable /Workspace/Users/[USERNAME]/.bundle/my_default_python/dev/files"

acceptance/bundle/migrate/runas/out.pipelines_get.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"creator_user_name":"[USERNAME]",
3+
"effective_publishing_mode":"DEFAULT_PUBLISHING_MODE",
34
"last_modified":[UNIX_TIME_MILLIS],
45
"name":"DABs Revenue Pipeline",
56
"pipeline_id":"[UUID]",

acceptance/bundle/migrate/runas/out.plan.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/dabs_revenue-[UNIQUE_NAME]/production/state/metadata.json"
1616
},
1717
"edition": "ADVANCED",
18+
"effective_publishing_mode": "DEFAULT_PUBLISHING_MODE",
1819
"id": "[UUID]",
1920
"last_modified": [UNIX_TIME_MILLIS],
2021
"libraries": [

acceptance/bundle/resource_deps/pipelines_recreate/out.plan_noop.direct.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
"metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/metadata.json"
6262
},
6363
"edition": "ADVANCED",
64+
"effective_publishing_mode": "DEFAULT_PUBLISHING_MODE",
6465
"id": "[FOO_ID_2]",
6566
"last_modified": [UNIX_TIME_MILLIS][1],
6667
"name": "pipeline foo",

acceptance/bundle/resource_deps/pipelines_recreate/out.plan_update.direct.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
"metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/metadata.json"
9999
},
100100
"edition": "ADVANCED",
101+
"effective_publishing_mode": "DEFAULT_PUBLISHING_MODE",
101102
"id": "[FOO_ID]",
102103
"last_modified": [UNIX_TIME_MILLIS][1],
103104
"name": "pipeline foo",

acceptance/bundle/resource_deps/pipelines_recreate/output.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ Error: The specified pipeline [FOO_ID] was not found.
4646
>>> [CLI] pipelines get [FOO_ID_2]
4747
{
4848
"creator_user_name":"[USERNAME]",
49+
"effective_publishing_mode":"DEFAULT_PUBLISHING_MODE",
4950
"last_modified":[UNIX_TIME_MILLIS][0],
5051
"name":"pipeline foo",
5152
"pipeline_id":"[FOO_ID_2]",

acceptance/bundle/resource_deps/remote_pipeline/out.plan_skip.direct.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/metadata.json"
1515
},
1616
"edition": "ADVANCED",
17+
"effective_publishing_mode": "DEFAULT_PUBLISHING_MODE",
1718
"id": "[UUID]",
1819
"last_modified": [UNIX_TIME_MILLIS],
1920
"name": "foo1 name",
@@ -46,6 +47,7 @@
4647
"metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/metadata.json"
4748
},
4849
"edition": "ADVANCED",
50+
"effective_publishing_mode": "DEFAULT_PUBLISHING_MODE",
4951
"id": "[UUID]",
5052
"last_modified": [UNIX_TIME_MILLIS],
5153
"name": "foo2 foo1.creator_user_name=[USERNAME]",
@@ -78,6 +80,7 @@
7880
"metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/metadata.json"
7981
},
8082
"edition": "ADVANCED",
83+
"effective_publishing_mode": "DEFAULT_PUBLISHING_MODE",
8184
"id": "[UUID]",
8285
"last_modified": [UNIX_TIME_MILLIS],
8386
"name": "foo3 foo2.state=IDLE",
@@ -110,6 +113,7 @@
110113
"metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/metadata.json"
111114
},
112115
"edition": "ADVANCED",
116+
"effective_publishing_mode": "DEFAULT_PUBLISHING_MODE",
113117
"id": "[UUID]",
114118
"last_modified": [UNIX_TIME_MILLIS],
115119
"name": "foo4 foo3.last_modified=[UNIX_TIME_MILLIS]",

acceptance/bundle/resources/permissions/pipelines/update/out.plan_delete_all.direct.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/permissions-test/default/state/metadata.json"
1515
},
1616
"edition": "ADVANCED",
17+
"effective_publishing_mode": "DEFAULT_PUBLISHING_MODE",
1718
"id": "[FOO_ID]",
1819
"last_modified": [UNIX_TIME_MILLIS],
1920
"name": "foo",

0 commit comments

Comments
 (0)