You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@kriskowal made a minor change to some code (probably assert) which gets folded into one of the built-in vats , and found that test-controller.js started to fail.
As part of #3442 , we fold kernel state into this "activity hash", and that state includes the vat bundles for all the built-in vats, such as comms and vatAdmin. These vats, in turn, are built by calling bundleSource on code from the swingset package, but the bundling process pulls in a number of external libraries (including marshal and assert). So any changes in those upstream libraries will cause the initial activity hash to be different.
Basically, the test is too sensitive. The plan is to downgrade it to merely assert that controller.getActivityhash() works at all, and returns a hash-shaped string, but not assert the actual value.
The text was updated successfully, but these errors were encountered:
The kernel "activity hash" is sensitive to everything written into the
kvstore, including the bundled sources of built-in vats (like comms and
vatAdmin), which include upstream libraries like marshal and assert. This
makes the hash sensitive to a significant amount of code, and test-controller
was asserting a specific value. This required updating the test's
expectations on every code changes.
Instead, we now merely check that `controller.getActivityhash()` returns a
correctly-shaped string, instead of examining the actual value.
closes#3718
The kernel "activity hash" is sensitive to everything written into the
kvstore, including the bundled sources of built-in vats (like comms and
vatAdmin), which include upstream libraries like marshal and assert. This
makes the hash sensitive to a significant amount of code, and test-controller
was asserting a specific value. This required updating the test's
expectations on every code changes.
Instead, we now merely check that `controller.getActivityhash()` returns a
correctly-shaped string, instead of examining the actual value.
closes#3718
The kernel "activity hash" is sensitive to everything written into the
kvstore, including the bundled sources of built-in vats (like comms and
vatAdmin), which include upstream libraries like marshal and assert. This
makes the hash sensitive to a significant amount of code, and test-controller
was asserting a specific value. This required updating the test's
expectations on every code changes.
Instead, we now merely check that `controller.getActivityhash()` returns a
correctly-shaped string, instead of examining the actual value.
closes#3718
Describe the bug
@kriskowal made a minor change to some code (probably
assert
) which gets folded into one of the built-in vats , and found thattest-controller.js
started to fail.As part of #3442 , we fold kernel state into this "activity hash", and that state includes the vat bundles for all the built-in vats, such as comms and vatAdmin. These vats, in turn, are built by calling
bundleSource
on code from the swingset package, but the bundling process pulls in a number of external libraries (includingmarshal
andassert
). So any changes in those upstream libraries will cause the initial activity hash to be different.Basically, the test is too sensitive. The plan is to downgrade it to merely assert that
controller.getActivityhash()
works at all, and returns a hash-shaped string, but not assert the actual value.The text was updated successfully, but these errors were encountered: