Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up serialization for BuildResult #4656

Conversation

Ericson2314
Copy link
Member

A few versioning mistakes were corrected:

  • In 27b5747, Daemon protocol had some
    version >= 0xc that should have been >= 0x1c, or 28 since the
    other conditions used decimal.

  • In a2b6966, legacy SSH gated new CAS
    info on version 6, but version 5 in the server. It is now 6
    everywhere.

Additionally, legacy ssh was sending over more metadata than the daemon
one was. The daemon now sends that data too.

CC @regnat

Co-authored-by: Cole Helbling [email protected]

A few versioning mistakes were corrected:

- In 27b5747, Daemon protocol had some
  version `>= 0xc` that should have been `>= 0x1c`, or `28` since the
  other conditions used decimal.

- In a2b6966, legacy SSH gated new CAS
  info on version 6, but version 5 in the server. It is now 6
  everywhere.

Additionally, legacy ssh was sending over more metadata than the daemon
one was. The daemon now sends that data too.

CC @regnat

Co-authored-by: Cole Helbling <[email protected]>
@edolstra edolstra merged commit e2e66e3 into NixOS:master Mar 22, 2021
@Ericson2314 Ericson2314 deleted the build-result-marshalling-cleanup-lighter branch March 22, 2021 15:14
Ericson2314 added a commit to obsidiansystems/nix that referenced this pull request Mar 22, 2021
edolstra added a commit that referenced this pull request Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants