mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-20 01:11:18 +00:00
refactor: Remove dead code and stale references (#2137)
Remove `cleanup_stale_apps()` in `sh/e2e/lib/cleanup.sh` which was dead code — defined but never called. The E2E orchestrator (`e2e.sh`) invokes `cloud_cleanup_stale` directly on the active cloud driver; the wrapper function and its file served no purpose. Also remove the corresponding `source` call in `e2e.sh`. 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
22a06e3237
commit
83d68c6a37
2 changed files with 0 additions and 14 deletions
|
|
@ -30,7 +30,6 @@ source "${SCRIPT_DIR}/lib/common.sh"
|
|||
source "${SCRIPT_DIR}/lib/provision.sh"
|
||||
source "${SCRIPT_DIR}/lib/verify.sh"
|
||||
source "${SCRIPT_DIR}/lib/teardown.sh"
|
||||
source "${SCRIPT_DIR}/lib/cleanup.sh"
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# All supported clouds (excluding local — no infra to provision)
|
||||
|
|
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
#!/bin/bash
|
||||
# e2e/lib/cleanup.sh — Find and destroy stale e2e-* instances (cloud-agnostic)
|
||||
set -eo pipefail
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# cleanup_stale_apps
|
||||
#
|
||||
# Delegates to the active cloud driver's stale cleanup function.
|
||||
# ---------------------------------------------------------------------------
|
||||
cleanup_stale_apps() {
|
||||
log_header "Cleaning up stale e2e instances (${ACTIVE_CLOUD})"
|
||||
cloud_cleanup_stale
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue