Skip to content

Support orphaned resources cleanup for RunPod - #4404

Merged
r4victor merged 6 commits into
masterfrom
pr_runpod_orphaned_instances
Oct 23, 2026
Merged

r4victor merged 6 commits into
masterfrom
pr_runpod_orphaned_instances

Conversation

@r4victor

Copy link
Copy Markdown
Collaborator

Follow-up to #4401 for #3453, which implemented orphan cleanup only for AWS.

  • Support orphan cleanup for RunPod: pod names now encode provider_ref, and pods are listed via the cursor-paginated v2 GET /pods, which excludes cluster pods as run_jobs() is not covered yet.
  • Add parse_datetime() to utils/common.py, parsing like the API via pydantic, and use it in parse_since(), the Fluent Bit logs storage, and the CLI presets output, which fixes --since with a Z timestamp and Fluent Bit timestamps with nanoseconds on Python 3.10.
  • Add an internal DSTACK_SERVER_ORPHAN_CLEANUP_ENROLLMENT_INTERVAL_SECONDS setting to speed up enrollment in e2e tests.
  • Document that orphan reports are not deduplicated.

@r4victor
r4victor merged commit e99ed86 into master Oct 23, 2026
29 checks passed
@r4victor
r4victor deleted the pr_runpod_orphaned_instances branch October 23, 2026 09:07
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