Skip to content

fix(scheduler): split ImageCleanupTask prune (idempotent) from docuum launch#1023

Open
jinbai340997 wants to merge 1 commit into
alibaba:masterfrom
jinbai340997:fix/image-cleanup-prune-gate
Open

fix(scheduler): split ImageCleanupTask prune (idempotent) from docuum launch#1023
jinbai340997 wants to merge 1 commit into
alibaba:masterfrom
jinbai340997:fix/image-cleanup-prune-gate

Conversation

@jinbai340997
Copy link
Copy Markdown
Collaborator

Summary

  • Extract _launch_docuum() (idempotent-gated) and _run_prune() (always runs)
  • Override run_on_worker() to always call prune, then conditionally launch docuum
  • Add tests covering both code paths and the regression scenario

Test plan

@jinbai340997 jinbai340997 force-pushed the fix/image-cleanup-prune-gate branch from e36ca5b to f76f48d Compare May 27, 2026 12:18
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.

[Bug] ImageCleanupTask gates idempotent prune behind non-idempotent docuum launch

1 participant