Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/code-validator/guest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ license = "Apache-2.0"
repository = "https://github.com/anthropics/hyperagent"

[workspace.dependencies]
# Hyperlight dependencies - pinned to same revision as hyperlight-js
hyperlight-common = { git = "https://github.com/hyperlight-dev/hyperlight", rev = "620339aa95d508e8cbd1d38b4374f09090aade7b", default-features = false }
hyperlight-guest-bin = { git = "https://github.com/hyperlight-dev/hyperlight", rev = "620339aa95d508e8cbd1d38b4374f09090aade7b" }
hyperlight-guest = { git = "https://github.com/hyperlight-dev/hyperlight", rev = "620339aa95d508e8cbd1d38b4374f09090aade7b" }
hyperlight-host = { git = "https://github.com/hyperlight-dev/hyperlight", rev = "620339aa95d508e8cbd1d38b4374f09090aade7b", default-features = false, features = ["executable_heap", "init-paging", "kvm", "mshv3"] }
# Hyperlight dependencies - aligned with the hyperlight-js runtime resolved via Cargo git checkout
hyperlight-common = { git = "https://github.com/simongdavies/hyperlight", branch = "update-surrogate", default-features = false }
hyperlight-guest-bin = { git = "https://github.com/simongdavies/hyperlight", branch = "update-surrogate" }
hyperlight-guest = { git = "https://github.com/simongdavies/hyperlight", branch = "update-surrogate" }
hyperlight-host = { git = "https://github.com/simongdavies/hyperlight", branch = "update-surrogate", default-features = false, features = ["executable_heap", "kvm", "mshv3"] }
Comment thread
simongdavies marked this conversation as resolved.

[profile.dev]
panic = "abort"
Expand Down
9 changes: 9 additions & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ export default defineConfig({
include: ["tests/**/*.test.ts"],
// Exclude compiled build artefacts and dependency clones
exclude: ["dist/**", "node_modules/**", "deps/**"],
// On Windows, two SurrogateProcessManagers each pre-create a pool of
// surrogate processes. Keep the initial pool small — on-demand growth
// up to the default 512 max handles spikes without wasting resources.
env:
process.platform === "win32"
? {
HYPERLIGHT_INITIAL_SURROGATES: "4",
}
: {},
},
resolve: {
alias: {
Expand Down
Loading