Skip to content

Commit 73ad032

Browse files
author
Trey Ivy
committed
update golden file for graphql test
1 parent 5190858 commit 73ad032

7 files changed

+21
-100
lines changed

internal/graphql/testdata/snapshots/FindBuildByUUID/found-(by-URL).golden.json

+3-25
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
"buildUUID": "16276f4b-81e2-5b48-a09a-7c7c7b8b692f",
2626
"id": "QnVpbGQ6MQ=="
2727
},
28+
"configurationMnemonic": "darwin_arm64-fastbuild",
29+
"cpu": "darwin_arm64",
2830
"endedAt": "2024-05-13T23:43:26.247Z",
2931
"id": "QmF6ZWxJbnZvY2F0aW9uOjU=",
3032
"invocationID": "571d0839-fd63-4442-bb4d-61f7bfa4ddae",
@@ -192,31 +194,7 @@
192194
"wallTimeInMs": 3149
193195
}
194196
},
195-
"problems": [
196-
{
197-
"__typename": "TestProblem",
198-
"id": "VGVzdFByb2JsZW06Mw==",
199-
"label": "//next.js/pages:jest_test",
200-
"results": [
201-
{
202-
"__typename": "TestResult",
203-
"actionLogOutput": {
204-
"availabilityStatus": "PROCESSING",
205-
"downloadURL": "/api/v1/blobs/2/test.log",
206-
"name": "test.log",
207-
"sizeInBytes": 0
208-
},
209-
"attempt": 1,
210-
"id": "VGVzdFJlc3VsdDoz",
211-
"run": 1,
212-
"shard": 1,
213-
"status": "FAILED",
214-
"undeclaredTestOutputs": null
215-
}
216-
],
217-
"status": "FAILED"
218-
}
219-
],
197+
"numFetches": 0,
220198
"profile": null,
221199
"relatedFiles": [
222200
{

internal/graphql/testdata/snapshots/FindBuildByUUID/found-(by-UUID).golden.json

+3-25
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
"buildUUID": "16276f4b-81e2-5b48-a09a-7c7c7b8b692f",
2626
"id": "QnVpbGQ6MQ=="
2727
},
28+
"configurationMnemonic": "darwin_arm64-fastbuild",
29+
"cpu": "darwin_arm64",
2830
"endedAt": "2024-05-13T23:43:26.247Z",
2931
"id": "QmF6ZWxJbnZvY2F0aW9uOjU=",
3032
"invocationID": "571d0839-fd63-4442-bb4d-61f7bfa4ddae",
@@ -192,31 +194,7 @@
192194
"wallTimeInMs": 3149
193195
}
194196
},
195-
"problems": [
196-
{
197-
"__typename": "TestProblem",
198-
"id": "VGVzdFByb2JsZW06Mw==",
199-
"label": "//next.js/pages:jest_test",
200-
"results": [
201-
{
202-
"__typename": "TestResult",
203-
"actionLogOutput": {
204-
"availabilityStatus": "PROCESSING",
205-
"downloadURL": "/api/v1/blobs/2/test.log",
206-
"name": "test.log",
207-
"sizeInBytes": 0
208-
},
209-
"attempt": 1,
210-
"id": "VGVzdFJlc3VsdDoz",
211-
"run": 1,
212-
"shard": 1,
213-
"status": "FAILED",
214-
"undeclaredTestOutputs": null
215-
}
216-
],
217-
"status": "FAILED"
218-
}
219-
],
197+
"numFetches": 0,
220198
"profile": null,
221199
"relatedFiles": [
222200
{

internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-single-bazel-invocation-analysis-failed-target.golden.json

+3-25
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
"buildUUID": "16276f4b-81e2-5b48-a09a-7c7c7b8b692f",
1515
"id": "QnVpbGQ6MQ=="
1616
},
17+
"configurationMnemonic": "darwin_arm64-fastbuild",
18+
"cpu": "darwin_arm64",
1719
"endedAt": "2024-05-13T23:43:26.247Z",
1820
"id": "QmF6ZWxJbnZvY2F0aW9uOjU=",
1921
"invocationID": "571d0839-fd63-4442-bb4d-61f7bfa4ddae",
@@ -181,31 +183,7 @@
181183
"wallTimeInMs": 3149
182184
}
183185
},
184-
"problems": [
185-
{
186-
"__typename": "TestProblem",
187-
"id": "VGVzdFByb2JsZW06Mw==",
188-
"label": "//next.js/pages:jest_test",
189-
"results": [
190-
{
191-
"__typename": "TestResult",
192-
"actionLogOutput": {
193-
"availabilityStatus": "PROCESSING",
194-
"downloadURL": "/api/v1/blobs/2/test.log",
195-
"name": "test.log",
196-
"sizeInBytes": 0
197-
},
198-
"attempt": 1,
199-
"id": "VGVzdFJlc3VsdDoz",
200-
"run": 1,
201-
"shard": 1,
202-
"status": "FAILED",
203-
"undeclaredTestOutputs": null
204-
}
205-
],
206-
"status": "FAILED"
207-
}
208-
],
186+
"numFetches": 0,
209187
"profile": null,
210188
"relatedFiles": [
211189
{

internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-single-bazel-invocation-ignoring-target-and-error-progress-if-action-has-output.golden.json

+3-8
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"startupOptions": []
1212
},
1313
"build": null,
14+
"configurationMnemonic": "darwin_arm64-fastbuild",
15+
"cpu": "darwin_arm64",
1416
"endedAt": "2024-05-03T00:29:47.784Z",
1517
"id": "QmF6ZWxJbnZvY2F0aW9uOjM=",
1618
"invocationID": "df7178e2-a815-4654-a409-d18e845d1e35",
@@ -162,14 +164,7 @@
162164
"wallTimeInMs": 307
163165
}
164166
},
165-
"problems": [
166-
{
167-
"__typename": "ProgressProblem",
168-
"id": "UHJvZ3Jlc3NQcm9ibGVtOjI=",
169-
"label": "",
170-
"output": "ERROR: no such package 'next.js/pages2': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package.\n - /Volumes/LocalData/code/bazelbuild/examples/frontend/next.js/pages2\nERROR: /Volumes/LocalData/code/bazelbuild/examples/frontend/next.js/BUILD.bazel:21:5: no such package 'next.js/pages2': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package.\n - /Volumes/LocalData/code/bazelbuild/examples/frontend/next.js/pages2 and referenced by '//next.js:next_dev'\nERROR: Analysis of target '//next.js:next_dev' failed; build aborted: Analysis failed\nINFO: Elapsed time: 0.341s, Critical Path: 0.00s\nINFO: 1 process: 1 internal.\nERROR: Build did NOT complete successfully\nFAILED: \n"
171-
}
172-
],
167+
"numFetches": 0,
173168
"profile": null,
174169
"relatedFiles": [
175170
{

internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-single-failed-bazel-invocation.golden.json

+3-15
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"startupOptions": []
1212
},
1313
"build": null,
14+
"configurationMnemonic": "darwin_arm64-fastbuild",
15+
"cpu": "darwin_arm64",
1416
"endedAt": "2024-05-03T00:24:16.367Z",
1517
"id": "QmF6ZWxJbnZvY2F0aW9uOjI=",
1618
"invocationID": "08ae089d-4c85-405c-83fc-dbe9fc1dc942",
@@ -188,21 +190,7 @@
188190
"wallTimeInMs": 960
189191
}
190192
},
191-
"problems": [
192-
{
193-
"__typename": "ActionProblem",
194-
"id": "QWN0aW9uUHJvYmxlbTox",
195-
"label": "//next.js/pages:pages",
196-
"stderr": null,
197-
"stdout": {
198-
"availabilityStatus": "PROCESSING",
199-
"downloadURL": "/api/v1/blobs/1/stdout",
200-
"name": "stdout",
201-
"sizeInBytes": 0
202-
},
203-
"type": "TsProject"
204-
}
205-
],
193+
"numFetches": 0,
206194
"profile": null,
207195
"relatedFiles": [
208196
{

internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-successful-bazel-build.golden.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"startupOptions": []
1212
},
1313
"build": null,
14+
"configurationMnemonic": "darwin_arm64-fastbuild",
15+
"cpu": "darwin_arm64",
1416
"endedAt": "2024-05-03T00:24:29.605Z",
1517
"id": "QmF6ZWxJbnZvY2F0aW9uOjE=",
1618
"invocationID": "fd03240f-697e-4b64-95bc-888e27445bf9",
@@ -194,7 +196,7 @@
194196
"wallTimeInMs": 954
195197
}
196198
},
197-
"problems": [],
199+
"numFetches": 0,
198200
"profile": null,
199201
"relatedFiles": [
200202
{

internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-successful-bazel-test.golden.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"startupOptions": []
1212
},
1313
"build": null,
14+
"configurationMnemonic": "darwin_arm64-fastbuild",
15+
"cpu": "darwin_arm64",
1416
"endedAt": "2024-05-03T00:23:40.441Z",
1517
"id": "QmF6ZWxJbnZvY2F0aW9uOjQ=",
1618
"invocationID": "10a37e86-6e2b-4adb-83dd-c2906f42bdd6",
@@ -204,7 +206,7 @@
204206
"wallTimeInMs": 2565
205207
}
206208
},
207-
"problems": [],
209+
"numFetches": 0,
208210
"profile": null,
209211
"relatedFiles": [
210212
{

0 commit comments

Comments
 (0)