Skip to content

docs: explain local serverless job execution - #747

Open
cloudgpuapp wants to merge 1 commit into
runpod:mainfrom
cloudgpuapp:docs/local-job-lifecycle
Open

cloudgpuapp wants to merge 1 commit into
runpod:mainfrom
cloudgpuapp:docs/local-job-lifecycle

Conversation

@cloudgpuapp

Copy link
Copy Markdown

The local WorkerAPI documentation currently tells readers to use GET /status/{job_id} and describes POST /run as starting execution. In the local simulator, POST /run stores the input and returns an ID. POST /status/{job_id} executes and consumes that job, while POST /stream/{job_id} collects chunks from a generator handler.

I verified both flows through the FastAPI test client, including the HTTP 405 on GET and the response to a second request for a consumed ID. All 8 existing FastAPI tests also passed. This change updates the architecture guide and leaves the simulator behavior intact.

Refs #304. This documentation change was prepared with AI assistance.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-21T21:04:50.095375Z 28e9d6d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch has not been deployed

No deployments
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.

1 participant