Skip to content

Stop cost accrual for already-deleted RunPod workers (0.13.1) - #84

Merged
nielsrolf merged 1 commit into
mainfrom
codex/cost-termination-fix
Sep 22, 2026
Merged

nielsrolf merged 1 commit into
mainfrom
codex/cost-termination-fix

Conversation

@nielsrolf

Copy link
Copy Markdown
Collaborator

The production GPU cost smoke test found that a worker can delete its own pod before marking its database record terminated. RunPod then rejects the manager’s repeat termination request with Unauthorized, leaving costs accruing indefinitely.

Confirm pod absence with a successful provider lookup after a failed termination request. A missing pod now closes the worker accounting interval; an existing pod or failed lookup keeps it open for retry. Add regression tests for all three outcomes and prepare 0.13.1. No additional schema migration is required.

@nielsrolf
nielsrolf merged commit e75ccfd into main Sep 22, 2026
1 check passed
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