Skip to content

Commit 33ad9bd

Browse files
Instrumentation changes
1 parent d8f0fd7 commit 33ad9bd

5 files changed

Lines changed: 22 additions & 0 deletions

File tree

src/proto/browserstack/sdk/v1/sdk-messages-accessibility.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ message AccessibilityConfigRequest {
5050
string framework_name = 3;
5151
string framework_version = 4;
5252
string hub_url = 5;
53+
optional string client_worker_id = 500;
5354
}
5455

5556
message AccessibilityConfigResponse {

src/proto/browserstack/sdk/v1/sdk-messages-ai.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ message AIBrowserExtensionRequest {
66
string bin_session_id = 1;
77
string browser_name = 2;
88
string browser_version = 3;
9+
optional string client_worker_id = 500;
10+
optional string platform_index = 501;
911
}
1012

1113
message AIBrowserExtensionResponse {
@@ -17,6 +19,7 @@ message AIBrowserExtensionResponse {
1719
message AISelfHealGetRequest {
1820
string bin_session_id = 1;
1921
optional string platform_index = 2;
22+
optional string client_worker_id = 500;
2023

2124
string framework_session_id = 3;
2225
string locator_type = 4;
@@ -34,6 +37,7 @@ message AISelfHealGetResponse {
3437
message AISelfHealStepRequest {
3538
string bin_session_id = 1;
3639
optional string platform_index = 2;
40+
optional string client_worker_id = 500;
3741

3842
string framework_session_id = 3;
3943
bool is_success = 4;

src/proto/browserstack/sdk/v1/sdk-messages-observability.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ message ObservabilityConfigRequest {
2929
string test_framework_version = 4;
3030
optional string hub_url = 5;
3131
optional string capabilities = 6;
32+
optional string client_worker_id = 500;
3233
}
3334

3435
message ObservabilityConfigResponse {

src/proto/browserstack/sdk/v1/sdk-messages-percy.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ message Percy {
77
string percy_capture_mode = 2;
88
string percy_build_id = 3;
99
bool is_percy_auto_enabled = 4;
10+
optional string client_worker_id = 500;
11+
optional string platform_index = 501;
1012
}

src/proto/browserstack/sdk/v1/sdk-messages.proto

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ message AutomationFrameworkInitRequest {
2828
string framework_version = 4;
2929
string ref = 5;
3030
string hub_url = 6;
31+
optional string client_worker_id = 500;
3132
}
3233

3334
message AutomationFrameworkInitResponse {
@@ -43,6 +44,7 @@ message AutomationFrameworkStartRequest {
4344
string ref = 5;
4445
string framework_session_id = 6;
4546
string hub_url = 7;
47+
optional string client_worker_id = 500;
4648
}
4749

4850
message AutomationFrameworkStartResponse {
@@ -57,6 +59,7 @@ message AutomationFrameworkStopRequest {
5759
string ref = 5;
5860
string framework_session_id = 6;
5961
string hub_url = 7;
62+
optional string client_worker_id = 500;
6063
}
6164

6265
message AutomationFrameworkStopResponse {
@@ -65,6 +68,7 @@ message AutomationFrameworkStopResponse {
6568

6669
message FindNearestHubRequest {
6770
string bin_session_id = 1;
71+
optional string client_worker_id = 500;
6872
}
6973

7074
message FindNearestHubResponse {
@@ -86,6 +90,8 @@ message StartBinSessionRequest {
8690
optional string language_version = 11;
8791
string test_framework = 12;
8892
optional string wdio_config = 13;
93+
optional string client_worker_id = 500;
94+
optional string platform_index = 501;
8995
}
9096

9197
message StartBinSessionResponse {
@@ -162,11 +168,13 @@ message StopBinSessionResponse {
162168
message ConnectBinSessionRequest {
163169
string bin_session_id = 1;
164170
optional uint32 platform_index = 2;
171+
optional string client_worker_id = 500;
165172
}
166173

167174
message TestFrameworkEventRequest {
168175
string bin_session_id = 1;
169176
uint32 platform_index = 2;
177+
optional string client_worker_id = 500;
170178

171179
string test_framework_name = 3;
172180
string test_framework_version = 4;
@@ -198,6 +206,8 @@ message EnqueueTestEventRequest {
198206
string bin_session_id = 1;
199207
string event_url = 2;
200208
bytes event_data_json = 3;
209+
optional string client_worker_id = 500;
210+
optional string platform_index = 501;
201211
}
202212

203213
message EnqueueTestEventResponse {
@@ -210,6 +220,7 @@ message LogCreatedEventRequest {
210220
uint32 platform_index = 2;
211221
repeated LogEntry logs = 3;
212222
optional ExecutionContext execution_context = 4;
223+
optional string client_worker_id = 500;
213224

214225
message LogEntry {
215226
string test_framework_name = 1;
@@ -245,6 +256,7 @@ message TestSessionEventRequest {
245256
optional ExecutionContext execution_context = 9;
246257

247258
optional bytes capabilities = 10;
259+
optional string client_worker_id = 500;
248260

249261
message AutomationSession {
250262
string provider = 1;
@@ -266,6 +278,8 @@ message FetchDriverExecuteParamsEventRequest {
266278
string bin_session_id = 1;
267279
string product = 2;
268280
optional string script_name = 3;
281+
optional string client_worker_id = 500;
282+
optional string platform_index = 501;
269283
}
270284

271285
message FetchDriverExecuteParamsEventResponse {

0 commit comments

Comments
 (0)