Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply Image Status-Based Filtering and Exception Handling #3618

Open
jopemachine opened this issue Feb 10, 2025 — with Lablup-Issue-Syncer · 0 comments
Open

Apply Image Status-Based Filtering and Exception Handling #3618

jopemachine opened this issue Feb 10, 2025 — with Lablup-Issue-Syncer · 0 comments
Assignees

Comments

@jopemachine
Copy link
Member

Motivation  

  • Certain operations should not be performed on images marked as deleted.
  • Filtering logic is required to exclude deleted images from processes like rescanning or listing alive images.

Required Features

  • Update existing queries and services to exclude or handle deleted images appropriately.
  • Adjust error handling or exception cases to provide meaningful messages when an operation is attempted on a deleted image.

Impact

  • Ensures data consistency by preventing operations on images in the wrong state.
  • Minimizes the risk of unexpected behavior by clearly delineating valid status transitions.

Testing Scenarios  

  • Test filtering logic to ensure that deleted images do not appear in alive image lists.
  • Verify that operations on deleted images either fail with a specific exception or proceed with a warning, as designed.
  • Confirm that legitimate images (e.g., ready or pulled) are unaffected.
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

No branches or pull requests

1 participant