Skip to content

Conversation

@FUDCo
Copy link
Contributor

@FUDCo FUDCo commented Mar 21, 2025

These changes make it possible to restart a vat (via the control panel) or restart the kernel (e.g., via a browser restart) without losing persistent vat state and allowing pre-existing vats to continue running. Also, when a vat is actually terminated (as opposed to simply shut down), all the relevant persistent kernel state is now expunged from the database.

Along the way this cleaned up a lot of the incidental logic concerning the various forms of restart that are driven from the control panel. It also ended up pulling in a fix to a nasty bug in the way the kernel handled promise message queues, and which got in the way of some of the testing. Also fixed the way the database is set up for kernel integration tests, so that concurrent tests wouldn't interfere with each other (this also got in the way of testing).

Closes #437

@FUDCo FUDCo force-pushed the chip/resume-vats branch from eb9180d to 71e14f5 Compare March 27, 2025 19:12
@FUDCo FUDCo merged commit cb14332 into main Mar 27, 2025
18 checks passed
@FUDCo FUDCo deleted the chip/resume-vats branch March 27, 2025 21:32
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.

Automatically restart vats on kernel restart

3 participants