-
Notifications
You must be signed in to change notification settings - Fork 214
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
8672 acyclic zoe seat kit test #9010
Conversation
in zcfSeat.js: zcfSeatToSeatHandle.delete(self) in exit.js: state.zccfSeat = undefined
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything but test.sh LGTM
If you want me to review test.sh, I'll need you to walk me through the shell script and the nested jq script.
I looked at your one CI failure, and it looks like a flake. So I'm gonna hit the "Re-run failed jobs" button. Note: that worked. |
a2a9c2a
to
5d5722f
Compare
Not necessary from my POV. My claim is that running this test (or reviewing the transcript) in the description above should be convincing evidence that the cycles are broken. If you want convincing, I'd be happy to walk you through the action. I'll leave this PR here in case @warner wants to take a more careful look at the swingstore.sqlite file to verify that we'll actually be able to collect the resulting released cycles. |
This PR is no longer of use. |
refs: #8672
refs: #8682
Description
A manual test that exercises #8682. It shows that an existing seat is revived and can exit, and that a newly created seat can exit, and when that happens the code that drops cyclic references gets called.
Since the point of #8682 is to reduce uncollected garbage, we won't know whether this works until we can see the cycles being collected, which this test does not do.
NOT INTENDED TO BE MERGED TO MASTER
Here are some excerpts from a log.
Security Considerations
Not a security issue.
Scaling Considerations
This is about stopping the growth of one kind of uncollected garbage. Actually reducing the accumulated garbage will be a separate effort.
Documentation Considerations
None
Testing Considerations
Yes, this is a test meant to convince reviewers. It's not useful as a regression tests or unit test, since it can't make assertions about the consequences we care about.
Upgrade Considerations
#8682 preserves the old behavior for existing Zoe seats, and defines new behavior for new seats that will attempt to drop cycles when seats exit.