Skip to content

Format work requests according to ndjson spec#14219

Closed
wolfd wants to merge 2 commits intobazelbuild:masterfrom
wolfd:danny/ndjson-workers
Closed

Format work requests according to ndjson spec#14219
wolfd wants to merge 2 commits intobazelbuild:masterfrom
wolfd:danny/ndjson-workers

Conversation

@wolfd
Copy link
Copy Markdown
Contributor

@wolfd wolfd commented Nov 2, 2021

JSON persistent workers now delimit requests with newlines (\n on Unix, \r\n on Windows).

Fixes #14218.

@google-cla google-cla bot added the cla: yes label Nov 2, 2021
@wolfd wolfd force-pushed the danny/ndjson-workers branch from 91df9fb to 9aaca96 Compare November 2, 2021 23:12
@keith
Copy link
Copy Markdown
Member

keith commented Nov 2, 2021

awesome thanks for doing this!

@larsrc-google
Copy link
Copy Markdown
Contributor

Nice! Could you fix the tests, too?

@wolfd
Copy link
Copy Markdown
Contributor Author

wolfd commented Nov 3, 2021

Alright, tests have been updated!

@wolfd
Copy link
Copy Markdown
Contributor Author

wolfd commented Nov 9, 2021

@larsrc-google have you had a chance to take a look at this?

@larsrc-google
Copy link
Copy Markdown
Contributor

Sorry about the delay, I need to update my mail filters. This looks fine.

@bazel-io bazel-io closed this in 227e49e Nov 22, 2021
wolfd added a commit to wolfd/bazel that referenced this pull request Nov 23, 2021
JSON persistent workers now delimit requests with newlines (`\n` on Unix, `\r\n` on Windows).

Fixes bazelbuild#14218.

Closes bazelbuild#14219.

PiperOrigin-RevId: 411596359
meteorcloudy pushed a commit that referenced this pull request Nov 24, 2021
JSON persistent workers now delimit requests with newlines (`\n` on Unix, `\r\n` on Windows).

Fixes #14218.

Closes #14219.

PiperOrigin-RevId: 411596359
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JSON workers should delimit work requests with newlines

3 participants