Add strict liveslots test env with upgrade tools #10126
Open
+424
−133
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes: #9126
Best reviewed commit-by-commit
Description
This PR add a new
prepare-strict-test-env.js
which enforces durable requirements on the baggage and provide helpers to simulate upgrades based on the helper from theasync-flow
andzone
package tests.In particular it adds a new
startLife
helper which enforces kind redefinition rules for abuild
step, and rejects previously watched promises (assuming they were all decided by the previous incarnation).Security Considerations
None, test infra only
Scaling Considerations
None
Documentation Considerations
Some types added and clarified. Internal tooling
Testing Considerations
Adds tests of the new strict env and
startLife
helper.Add liveslots based test in
vow
using the newstartLife
helper.Updated the test environments in the
zone
andasync-flow
package to use the new liveslots env, but does not update theasync-flow
tests to use the stricterstartLife
(will be done in #9933 or #9383)Upgrade Considerations
Better upgrade testing without needing a full swingset kernel