Skip to content

Conversation

@ChrisPenner
Copy link
Member

Overview

Fast-follow to #6035;
While that seems to have addressed errors for internal let-bindings, it didn't address the floated runtime bindings.

Now we just ignore any incomplete-element-ordering warnings returned from hashing top-level components in the runtime.

Implementation approach and notes

  • Switch from a failure/success approach to a warnings based approach so we can choose to ignore the warnings at the call-site
  • ignore warnings when hashing inside the runtime.

Test coverage

  • I can now run the @unison/cloud tests and the @unison/json tests without failures.

@ChrisPenner ChrisPenner marked this pull request as ready for review December 5, 2025 19:26
Copy link
Contributor

@ceedubs ceedubs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I won't pretend to understand anything about this, but I can confirm that with this branch all of the Unison Cloud tests now pass.

@aryairani aryairani merged commit d884da2 into trunk Dec 5, 2025
1 check passed
@aryairani aryairani deleted the cp/no-hash-failures-in-runtime branch December 5, 2025 21:23
@aryairani
Copy link
Contributor

Thanks @ChrisPenner!

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.

4 participants