mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-01 21:30:21 +00:00
fix(qa): load ANTHROPIC_AUTH_TOKEN as ANTHROPIC_API_KEY for interactive E2E (#2894)
* chore: update agent GitHub star counts * fix(qa): load ANTHROPIC_AUTH_TOKEN as ANTHROPIC_API_KEY for interactive E2E QA VMs store the Anthropic key as ANTHROPIC_AUTH_TOKEN in /etc/spawn-qa-auth.env, but the e2e-interactive handler only looked for ANTHROPIC_API_KEY — causing the 6am cron to fail immediately with "ANTHROPIC_API_KEY not set". Accept either name when loading from the auth env file. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(e2e): bump interactive harness timeout to 20min, fix zombie VM teardown - SESSION_TIMEOUT_MS: 10min → 20min — provisioning a VM takes 3-4 min before onboarding even starts; 10min wasn't enough headroom - interactive.sh: call cloud_provision_verify even on harness failure so teardown can find and delete any VM that was partially created (e.g. on timeout mid-provision) — previously left zombie VMs with no .meta file Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: spawn-qa-bot <qa@openrouter.ai> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: L <6723574+louisgv@users.noreply.github.com>
This commit is contained in:
parent
6aeb9ba142
commit
9280489ada
4 changed files with 22 additions and 17 deletions
|
|
@ -98,6 +98,9 @@ interactive_provision() {
|
|||
printf ' %s\n' "${line}"
|
||||
done
|
||||
fi
|
||||
# Even on failure, try to write the .meta file so teardown can clean up
|
||||
# any VM that was partially created (e.g. on timeout mid-provision).
|
||||
cloud_provision_verify "${app_name}" "${log_dir}" 2>/dev/null || true
|
||||
return 1
|
||||
fi
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue