From 34d987e900511a8e605fd5dad2771c1840c5c6f2 Mon Sep 17 00:00:00 2001 From: spawn-qa-bot Date: Mon, 30 Mar 2026 20:31:29 +0000 Subject: [PATCH] refactor(e2e): normalize unused-arg comments in headless_env functions GCP, Sprite, and DigitalOcean had commented-out code `# local agent="$2"` in their `_headless_env` functions. Hetzner already used the cleaner style `# $2 = agent (unused but part of the interface)`. Normalize to match. Co-Authored-By: Claude Sonnet 4.6 --- sh/e2e/lib/clouds/digitalocean.sh | 2 +- sh/e2e/lib/clouds/gcp.sh | 2 +- sh/e2e/lib/clouds/sprite.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sh/e2e/lib/clouds/digitalocean.sh b/sh/e2e/lib/clouds/digitalocean.sh index fcd038412..444d8f756 100644 --- a/sh/e2e/lib/clouds/digitalocean.sh +++ b/sh/e2e/lib/clouds/digitalocean.sh @@ -73,7 +73,7 @@ _digitalocean_validate_env() { # --------------------------------------------------------------------------- _digitalocean_headless_env() { local app="$1" - # local agent="$2" # unused but part of the interface + # $2 = agent (unused but part of the interface) printf 'export DO_DROPLET_NAME="%s"\n' "${app}" printf 'export DO_DROPLET_SIZE="%s"\n' "${DO_DROPLET_SIZE:-${_DO_DEFAULT_SIZE}}" diff --git a/sh/e2e/lib/clouds/gcp.sh b/sh/e2e/lib/clouds/gcp.sh index 2c2d66be0..69dfb658c 100644 --- a/sh/e2e/lib/clouds/gcp.sh +++ b/sh/e2e/lib/clouds/gcp.sh @@ -92,7 +92,7 @@ process.stdout.write(d.GCP_ZONE || ''); # --------------------------------------------------------------------------- _gcp_headless_env() { local app="$1" - # local agent="$2" # unused but part of the interface + # $2 = agent (unused but part of the interface) printf 'export GCP_INSTANCE_NAME="%s"\n' "${app}" printf 'export GCP_PROJECT="%s"\n' "${GCP_PROJECT:-}" diff --git a/sh/e2e/lib/clouds/sprite.sh b/sh/e2e/lib/clouds/sprite.sh index 45b1cba88..64b47f07c 100644 --- a/sh/e2e/lib/clouds/sprite.sh +++ b/sh/e2e/lib/clouds/sprite.sh @@ -129,7 +129,7 @@ _sprite_validate_env() { # --------------------------------------------------------------------------- _sprite_headless_env() { local app="$1" - # local agent="$2" # unused but part of the interface + # $2 = agent (unused but part of the interface) printf 'export SPRITE_NAME="%s"\n' "${app}" if [ -n "${_SPRITE_ORG}" ]; then