Repository navigation
fix(apps): identify jobs in status lookup errors - #712
Merged
KAJdev merged 2 commits intoNov 10, 2026
Merged
Conversation
deanq
approved these changes
Nov 10, 2026
KAJdev
deleted the
zeke/con-2066-job-status-404s-report-an-admitted-jobs
branch
November 10, 2026 22:52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A job that was already accepted could fail with "not deployed" when its status lookup kept returning 404.
Before, after seven 404s from the status route (about 32 s of retries):
The job was admitted, so the endpoint exists. A 404 on a status lookup only says the job wasn't found.
Now:
JobStatusErroris anAppErrorexported fromrunpod.apps, withjob_id,status,methodandurlattributes. The URL has any credentials, query string and fragment removed, and the message never includes request headers or the response body, so no API key or task token ends up in it.It applies wherever the SDK reads a job's status:
job.status(),job.result(), and the polling behind.remote(). Other HTTP errors on a status lookup (401, 503 and so on) now raiseJobStatusErrortoo, instead of a bareaiohttp.ClientResponseError.Retries are unchanged. A status 404 is still retried up to seven times with the same backoff, and a failed submission is still never resent. A 404 on the submission itself still raises
EndpointNotFound, and so do cancel, retry and stream.Refs CON-2066.