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>
This commit is contained in:
A 2026-03-30 13:51:07 -07:00 committed by GitHub
parent f2f981bd0a
commit b0f9f4e7af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -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}}"

View file

@ -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:-}"

View file

@ -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