Skip to content

Commit 64c2483

Browse files
la14-1spawn-qa-botclaude
authored andcommitted
refactor(e2e): normalize unused-arg comments in headless_env functions (#3113)
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: spawn-qa-bot <qa@openrouter.ai> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent d98f67e commit 64c2483

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

sh/e2e/lib/clouds/digitalocean.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ _digitalocean_validate_env() {
7373
# ---------------------------------------------------------------------------
7474
_digitalocean_headless_env() {
7575
local app="$1"
76-
# local agent="$2" # unused but part of the interface
76+
# $2 = agent (unused but part of the interface)
7777

7878
printf 'export DO_DROPLET_NAME="%s"\n' "${app}"
7979
printf 'export DO_DROPLET_SIZE="%s"\n' "${DO_DROPLET_SIZE:-${_DO_DEFAULT_SIZE}}"

sh/e2e/lib/clouds/gcp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ process.stdout.write(d.GCP_ZONE || '');
9292
# ---------------------------------------------------------------------------
9393
_gcp_headless_env() {
9494
local app="$1"
95-
# local agent="$2" # unused but part of the interface
95+
# $2 = agent (unused but part of the interface)
9696

9797
printf 'export GCP_INSTANCE_NAME="%s"\n' "${app}"
9898
printf 'export GCP_PROJECT="%s"\n' "${GCP_PROJECT:-}"

sh/e2e/lib/clouds/sprite.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ _sprite_validate_env() {
129129
# ---------------------------------------------------------------------------
130130
_sprite_headless_env() {
131131
local app="$1"
132-
# local agent="$2" # unused but part of the interface
132+
# $2 = agent (unused but part of the interface)
133133

134134
printf 'export SPRITE_NAME="%s"\n' "${app}"
135135
if [ -n "${_SPRITE_ORG}" ]; then

0 commit comments

Comments
 (0)