We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b548ed commit 1a89ce1Copy full SHA for 1a89ce1
src/main/java/com/google/devtools/build/lib/worker/JsonWorkerMessageProcessor.java
@@ -79,7 +79,10 @@ private static ImmutableList<Input> readInputs(JsonReader reader) throws IOExcep
79
path = reader.nextString();
80
break;
81
default:
82
- continue;
+ // As per https://docs.bazel.build/versions/main/creating-workers.html#work-responses,
83
+ // unknown fields are ignored.
84
+ reader.skipValue();
85
+ break;
86
}
87
88
reader.endObject();
@@ -125,6 +128,9 @@ public WorkRequest readWorkRequest() throws IOException {
125
128
requestId = reader.nextInt();
126
129
127
130
131
132
133
134
135
136
0 commit comments