Skip to content

Commit a54149d

Browse files
committed
Fix telemetry/success golden file placeholder
The cmd_exec_id placeholder regressed from [CMD-EXEC-ID] to [UUID] when the fixture was regenerated locally with jq 1.6. The test script uses jq '.headers."User-Agent".[0]' syntax that only works in jq 1.7+; on the older runtime that pipeline silently produced no replacement, leaving the raw UUID in place which then matched the generic UUID replacement. Re-regenerated with jq 1.7. CI was already running 1.7+ which is why the discrepancy only showed up against the wire output, not locally.
1 parent 2dea019 commit a54149d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

acceptance/telemetry/success/out.requests.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"Bearer [DATABRICKS_TOKEN]"
1414
],
1515
"User-Agent": [
16-
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/selftest_send-telemetry cmd-exec-id/[UUID] interactive/none auth/pat"
16+
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/selftest_send-telemetry cmd-exec-id/[CMD-EXEC-ID] interactive/none auth/pat"
1717
],
1818
"X-Databricks-Workspace-Id": [
1919
"[NUMID]"
@@ -25,8 +25,8 @@
2525
"uploadTime": [UNIX_TIME_MILLIS],
2626
"items": [],
2727
"protoLogs": [
28-
"{\"frontend_log_event_id\":\"[UUID]\",\"entry\":{\"databricks_cli_log\":{\"execution_context\":{\"cmd_exec_id\":\"[UUID]\",\"version\":\"[DEV_VERSION]\",\"command\":\"selftest_send-telemetry\",\"operating_system\":\"[OS]\",\"execution_time_ms\":\"SMALL_INT\",\"exit_code\":0},\"cli_test_event\":{\"name\":\"VALUE1\"}}}}",
29-
"{\"frontend_log_event_id\":\"[UUID]\",\"entry\":{\"databricks_cli_log\":{\"execution_context\":{\"cmd_exec_id\":\"[UUID]\",\"version\":\"[DEV_VERSION]\",\"command\":\"selftest_send-telemetry\",\"operating_system\":\"[OS]\",\"execution_time_ms\":\"SMALL_INT\",\"exit_code\":0},\"cli_test_event\":{\"name\":\"VALUE2\"}}}}"
28+
"{\"frontend_log_event_id\":\"[UUID]\",\"entry\":{\"databricks_cli_log\":{\"execution_context\":{\"cmd_exec_id\":\"[CMD-EXEC-ID]\",\"version\":\"[DEV_VERSION]\",\"command\":\"selftest_send-telemetry\",\"operating_system\":\"[OS]\",\"execution_time_ms\":\"SMALL_INT\",\"exit_code\":0},\"cli_test_event\":{\"name\":\"VALUE1\"}}}}",
29+
"{\"frontend_log_event_id\":\"[UUID]\",\"entry\":{\"databricks_cli_log\":{\"execution_context\":{\"cmd_exec_id\":\"[CMD-EXEC-ID]\",\"version\":\"[DEV_VERSION]\",\"command\":\"selftest_send-telemetry\",\"operating_system\":\"[OS]\",\"execution_time_ms\":\"SMALL_INT\",\"exit_code\":0},\"cli_test_event\":{\"name\":\"VALUE2\"}}}}"
3030
]
3131
}
3232
}

0 commit comments

Comments
 (0)