Skip to content

feat(gce): add --force flag to vllm down to ignore not-found errors#887

Merged
starpit merged 1 commit intoIBM:mainfrom
starpit:feat/vllm-down-force
Feb 19, 2026
Merged

feat(gce): add --force flag to vllm down to ignore not-found errors#887
starpit merged 1 commit intoIBM:mainfrom
starpit:feat/vllm-down-force

Conversation

@starpit
Copy link
Copy Markdown
Member

@starpit starpit commented Feb 19, 2026

Summary

  • Adds -f/--force flag to spnl vllm down that treats "not found" errors as success (instance already gone)
  • Detects not-found via HTTP 404 status code and "was not found" in the GCE error message (covers both NOT_FOUND and UNKNOWN error codes)
  • Updates vllm-gce.yml CI workflow to use --force in the if: always() cleanup step

Test plan

  • cargo check --features gce passes
  • spnl vllm down --force --target=gce <nonexistent> exits 0
  • spnl vllm down --target=gce <nonexistent> still errors without --force
  • spnl vllm down --force --target=gce <existing> still deletes normally

🤖 Generated with Claude Code

When tearing down a GCE instance that may not exist (e.g. in CI cleanup
with `if: always()`), the command now accepts -f/--force to treat
"not found" errors as success rather than failing the workflow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Nick Mitchell <nickm@us.ibm.com>
@starpit starpit force-pushed the feat/vllm-down-force branch from d3ddfe2 to 45530c5 Compare February 19, 2026 17:39
@starpit starpit merged commit 1f2e7e3 into IBM:main Feb 19, 2026
36 checks passed
@starpit starpit deleted the feat/vllm-down-force branch February 19, 2026 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant