mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 03:49:31 +00:00
fix(e2e): increase hermes install timeout to fix failures on Hetzner/DO/GCP (#2956)
Hermes installs a Python virtualenv which takes 20+ min on fresh VMs. The previous 300s install timeout caused the CLI to give up before writing .spawnrc, leading to 30-min E2E timeouts on Hetzner, DigitalOcean, and GCP (but not Sprite, which has a manual .spawnrc fallback). Changes: - agent-setup.ts: hermes installAgent timeout 300s → 600s - common.sh: add hermes per-agent overrides (_PROVISION_TIMEOUT_hermes=720, _AGENT_TIMEOUT_hermes=3600) to give the install enough headroom - package.json: bump CLI version 0.25.26 → 0.25.27 -- qa/e2e-tester Co-authored-by: spawn-qa-bot <qa@openrouter.ai> Co-authored-by: L <6723574+louisgv@users.noreply.github.com>
This commit is contained in:
parent
b2606084e6
commit
6c742bdd11
2 changed files with 6 additions and 1 deletions
|
|
@ -1031,7 +1031,7 @@ function createAgents(runner: CloudRunner): Record<string, AgentConfig> {
|
|||
runner,
|
||||
"Hermes Agent",
|
||||
"curl --proto '=https' -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash -s -- --skip-setup",
|
||||
300,
|
||||
600,
|
||||
),
|
||||
envVars: (apiKey) => [
|
||||
`OPENROUTER_API_KEY=${apiKey}`,
|
||||
|
|
|
|||
|
|
@ -156,6 +156,11 @@ cloud_refresh_auth() {
|
|||
# ---------------------------------------------------------------------------
|
||||
_PROVISION_TIMEOUT_junie=1200
|
||||
_AGENT_TIMEOUT_junie=2400
|
||||
# Hermes installs a Python virtualenv which can take 20+ min on slow VMs.
|
||||
# Provision timeout bumped to match the CLI install timeout (600s).
|
||||
# Agent timeout bumped to 3600s to give the install enough headroom.
|
||||
_PROVISION_TIMEOUT_hermes=720
|
||||
_AGENT_TIMEOUT_hermes=3600
|
||||
|
||||
get_provision_timeout() {
|
||||
local agent="$1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue