From 808f6ff23c5776be32f4f6510c2036fe1a81f049 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Mon, 7 Oct 2024 16:12:51 +0200 Subject: [PATCH] comment --- internal/build/info_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/build/info_test.go b/internal/build/info_test.go index 483c483e7..f73ed87a6 100644 --- a/internal/build/info_test.go +++ b/internal/build/info_test.go @@ -19,6 +19,10 @@ func TestGetDetails(t *testing.T) { // This test is stored in the internal package to avoid build errors since this // test itself is run during the CLI generation process. +// This test ensures that the OpenAPI SHA the CLI is being generated from matches +// the OpenAPI SHA of the Go SDK version used in the CLI. We should always upgrade +// the Go SDK version before generating the CLI because downstream generated assets +// like the bundle schema depend on the Go SDK itself. func TestConsistentDatabricksSdkVersion(t *testing.T) { // Read the go.mod file b, err := os.ReadFile("../../go.mod")