GenAsset ComfyUI tutorial

Clean up disposable versions

Delete test-only versions safely after confirming they are not the current version or part of a handoff.

Goal

OPSCloud Run validated

Delete temporary test versions safely after proving they are not needed.

Setup

  • Never delete the current version unless the team explicitly intends that.
  • Create disposable test branches for cleanup drills.
  • List versions first so the operator can verify the exact target.
Safety habit
For production work, prefer metadata like archived or rejected before hard deletion unless storage policy requires cleanup.

Steps

  1. Create a disposable branch or identify a test-only version.
  2. List versions and confirm it is not current.
  3. Use Delete Version with the exact version_id.
  4. List versions again to confirm the target is gone.

Validated run

  • Cloud Run prompt b529d8fd-c9f5-4ff2-b0f8-6af18c735231 created disposable version 68cb21fe-2ce6-401d-b1b4-f73762c18478.
  • Cloud Run prompt 51e66f89-9918-4955-ad7b-1d95bd3f5e03 deleted that disposable version successfully.

Next