Skip to content

fix(serverless): allow GET status requests - #572

Open
tgolob wants to merge 1 commit into
runpod:mainfrom
tgolob:fix/status-endpoint-get
Open

fix(serverless): allow GET status requests#572
tgolob wants to merge 1 commit into
runpod:mainfrom
tgolob:fix/status-endpoint-get

Conversation

@tgolob

@tgolob tgolob commented Aug 22, 2026

Copy link
Copy Markdown

Closes #369

Summary

  • allow the local FastAPI /status/{job_id} endpoint to accept GET requests, matching the public RunPod API
  • keep POST compatibility and add a route-registration regression test

Validation

  • pytest tests/test_serverless/test_modules/test_fastapi.py -q --no-cov (9 passed)
  • python -m compileall -q runpod tests/test_serverless/test_modules/test_fastapi.py
  • git diff --check
  • Ruff was not available in the local test environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The serverless fast_api endpoint does not support GET for /status/{job_id} endpoints

1 participant