Commit aba09af
authored
Simplify SDK consistency test to avoid flaky
## Summary
`TestConsistentDatabricksSdkVersion` started failing on CI
([example](https://github.com/databricks/cli/actions/runs/24219817586)).
The test used `go list -m -json` to resolve the SDK module version to a
git hash, then fetched the OpenAPI SHA from GitHub using that hash. The
`go list` command requires network access to the Go module proxy to
resolve VCS origin metadata, which was failing on CI.
This PR simplifies the test by using the version tag (e.g. `v0.126.0`)
directly in the GitHub raw content URL instead of first resolving it to
a commit hash. Since `raw.githubusercontent.com` accepts tag references,
the `go list` step is unnecessary.
## Test plan
- [x] CI passes
This pull request was AI-assisted by Isaac.go list call (#4927)1 parent fb37547 commit aba09af
1 file changed
Lines changed: 3 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | | - | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
| |||
37 | 35 | | |
38 | 36 | | |
39 | 37 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
62 | 41 | | |
63 | 42 | | |
64 | 43 | | |
| |||
0 commit comments