Closed mhofman closed 9 hours ago
Changing env passed to xsnap doesn't cause xsnap to rebuild, even though the env would affect the build output.
This recently caused app hashes for a validator on devnet (https://github.com/Agoric/agoric-sdk/issues/9602), and also results in the updated package version to not be included in the output.
xsnap-worker -v
Rebuild of xsnap on upgrades which change anything about xsnap
This is tangentially related to #7012 since we'd need to force a rebuild if the version is plumbed through as env.
Describe the bug
Changing env passed to xsnap doesn't cause xsnap to rebuild, even though the env would affect the build output.
This recently caused app hashes for a validator on devnet (https://github.com/Agoric/agoric-sdk/issues/9602), and also results in the updated package version to not be included in the output.
To Reproduce
xsnap-worker -v
returns the wrong package version (note that u15 does not actually change the xsnap package version)Expected behavior
Rebuild of xsnap on upgrades which change anything about xsnap
Additional context
This is tangentially related to #7012 since we'd need to force a rebuild if the version is plumbed through as env.