fix: align code-validator hyperlight deps with hyperlight-js#64
Merged
simongdavies merged 2 commits intohyperlight-dev:mainfrom Apr 22, 2026
Merged
Conversation
- Switch code-validator/guest from hyperlight-dev/hyperlight@620339a to simongdavies/hyperlight branch update-surrogate, matching deps/hyperlight-js - Drop removed 'init-paging' feature (absorbed into default in v0.13.1) - Add HYPERLIGHT_INITIAL_SURROGATES=4 to vitest.config.ts to avoid eagerly spawning 512 surrogate processes during tests Fixes SurrogateProcessManager creation failure on Windows.
Contributor
There was a problem hiding this comment.
Pull request overview
Aligns the Rust code-validator/guest Hyperlight dependencies with the Hyperlight versions used by hyperlight-js, and adjusts the Vitest environment to avoid large surrogate pre-allocation during test runs (notably on Windows).
Changes:
- Set
HYPERLIGHT_INITIAL_SURROGATESinvitest.config.tsto reduce eager surrogate pre-creation during tests. - Update
src/code-validator/guest/Cargo.tomlHyperlight git dependencies to thesimongdavies/hyperlightupdate-surrogatebranch and drop the removedinit-pagingfeature.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| vitest.config.ts | Adds a Vitest test environment variable to cap initial surrogate pool size during tests. |
| src/code-validator/guest/Cargo.toml | Re-pins Hyperlight Rust crates to a different git source/branch and updates the enabled feature set. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes SurrogateProcessManager creation failure on Windows.