Commit 803c2f3
authored
tests: unblock CLI integration nightlies after main-branch drift (#5076)
## Why
Integration test nightlies (`cli-isolated-pr.yml`) have been red on
every main run since 2026-04-02, when `#4899` temporarily disabled the
trigger. The trigger was re-enabled in `#5034` and all accumulated
failures surfaced at once. Nothing in any in-flight feature PR is to
blame; this PR just clears the backlog so nightly signal goes green
again.
Two independent regressions:
1. The host-metadata cache (`#5011`) regenerated goldens for tests that
run locally, but could not touch `Cloud=true, Local=false` suites.
`acceptance/selftest/record_cloud/{pipeline-crud,workspace-file-io}`
still expected the pre-cache `/.well-known/databricks-config` calls.
2. Lakeview server behavior now varies by cloud on workspace import. AWS
staging includes `serialized_dashboard` in the updated fields; GCP
production no longer clears `warehouse_id`. The exact-match assertions
in `TestDashboardAssumptions_WorkspaceImport` fail differently on each
cloud.
## Changes
**Before:** `record_cloud` goldens include redundant
`/.well-known/databricks-config` GETs; dashboard test hard-codes exact
updated/deleted fields.
**Now:** goldens regenerated against e2-dogfood (only diff is removal of
the cached requests); dashboard assertions use `assert.Subset` so they
tolerate cross-cloud drift but still fail on anything outside the
known-allowed set.
- `acceptance/selftest/record_cloud/pipeline-crud/output.txt`,
`acceptance/selftest/record_cloud/workspace-file-io/output.txt`: rerun
with `-update` under `CLOUD_ENV=aws` against e2-dogfood. Both terraform
and direct variants produce identical output.
- `integration/assumptions/dashboard_assumptions_test.go`: `etag` and
`update_time` must appear in updated fields; `serialized_dashboard` is
allowed; `warehouse_id` is the only allowed deletion. Comment points to
the observed cross-cloud split so the next reader knows why.
Follows the pattern of the previous Lakeview-behavior-change fix in
`#4640`.
## Test plan
- [x] `make checks` clean
- [x] `make lint` clean (0 issues)
- [x] `go test ./acceptance -run
'TestAccept/selftest/record_cloud/{workspace-file-io,pipeline-crud}'`
passes against e2-dogfood (both terraform and direct variants)
- [x] `go test ./integration/assumptions -run
TestDashboardAssumptions_WorkspaceImport` passes against e2-dogfood
- [ ] cli-isolated-pr.yml integration run on this branch comes back
green1 parent 6595063 commit 803c2f3
4 files changed
Lines changed: 5 additions & 118 deletions
File tree
- acceptance/selftest/record_cloud
- pipeline-crud
- volume-io
- workspace-file-io
- integration/assumptions
Lines changed: 0 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | 30 | | |
35 | 31 | | |
36 | 32 | | |
| |||
40 | 36 | | |
41 | 37 | | |
42 | 38 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 39 | | |
48 | 40 | | |
49 | 41 | | |
| |||
65 | 57 | | |
66 | 58 | | |
67 | 59 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | 60 | | |
73 | 61 | | |
74 | 62 | | |
| |||
78 | 66 | | |
79 | 67 | | |
80 | 68 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | 69 | | |
86 | 70 | | |
87 | 71 | | |
| |||
94 | 78 | | |
95 | 79 | | |
96 | 80 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | 81 | | |
102 | 82 | | |
103 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 29 | | |
34 | 30 | | |
35 | 31 | | |
| |||
42 | 38 | | |
43 | 39 | | |
44 | 40 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | 41 | | |
50 | 42 | | |
51 | 43 | | |
| |||
64 | 56 | | |
65 | 57 | | |
66 | 58 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | 59 | | |
72 | 60 | | |
73 | 61 | | |
| |||
77 | 65 | | |
78 | 66 | | |
79 | 67 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | 68 | | |
85 | 69 | | |
86 | 70 | | |
| |||
102 | 86 | | |
103 | 87 | | |
104 | 88 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | 89 | | |
110 | 90 | | |
111 | 91 | | |
| |||
114 | 94 | | |
115 | 95 | | |
116 | 96 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | 97 | | |
122 | 98 | | |
123 | 99 | | |
| |||
126 | 102 | | |
127 | 103 | | |
128 | 104 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | 105 | | |
134 | 106 | | |
135 | 107 | | |
| |||
146 | 118 | | |
147 | 119 | | |
148 | 120 | | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | 121 | | |
154 | 122 | | |
155 | 123 | | |
| |||
158 | 126 | | |
159 | 127 | | |
160 | 128 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | 129 | | |
166 | 130 | | |
167 | 131 | | |
| |||
173 | 137 | | |
174 | 138 | | |
175 | 139 | | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | 140 | | |
181 | 141 | | |
182 | 142 | | |
| |||
185 | 145 | | |
186 | 146 | | |
187 | 147 | | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | 148 | | |
193 | 149 | | |
194 | 150 | | |
| |||
200 | 156 | | |
201 | 157 | | |
202 | 158 | | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | 159 | | |
208 | 160 | | |
209 | 161 | | |
| |||
Lines changed: 0 additions & 40 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | 14 | | |
19 | 15 | | |
20 | 16 | | |
| |||
27 | 23 | | |
28 | 24 | | |
29 | 25 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | 26 | | |
35 | 27 | | |
36 | 28 | | |
| |||
49 | 41 | | |
50 | 42 | | |
51 | 43 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | 44 | | |
57 | 45 | | |
58 | 46 | | |
| |||
69 | 57 | | |
70 | 58 | | |
71 | 59 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | 60 | | |
77 | 61 | | |
78 | 62 | | |
| |||
88 | 72 | | |
89 | 73 | | |
90 | 74 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | 75 | | |
96 | 76 | | |
97 | 77 | | |
| |||
105 | 85 | | |
106 | 86 | | |
107 | 87 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | 88 | | |
113 | 89 | | |
114 | 90 | | |
| |||
124 | 100 | | |
125 | 101 | | |
126 | 102 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | 103 | | |
132 | 104 | | |
133 | 105 | | |
| |||
144 | 116 | | |
145 | 117 | | |
146 | 118 | | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | 119 | | |
152 | 120 | | |
153 | 121 | | |
154 | 122 | | |
155 | 123 | | |
156 | 124 | | |
157 | 125 | | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | 126 | | |
163 | 127 | | |
164 | 128 | | |
| |||
174 | 138 | | |
175 | 139 | | |
176 | 140 | | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | 141 | | |
182 | 142 | | |
183 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
124 | 119 | | |
125 | 120 | | |
0 commit comments