-
Notifications
You must be signed in to change notification settings - Fork 12
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
Delete a Transform #521
Delete a Transform #521
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #521 +/- ##
==========================================
+ Coverage 83.05% 86.14% +3.09%
==========================================
Files 27 27
Lines 1670 1747 +77
==========================================
+ Hits 1387 1505 +118
+ Misses 283 242 -41
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
So, to bring up the language issue again here ... nothing here removes the local copies of transform results, yes? Is "delete" the correct keyword then? Not maybe "archive" or something similar? I assume we have an equivalent command to clear a transform from the local cache - do we want to connect the two commands in some way? |
Good call on the deleting the cache... pushed a new commit to do so |
I'd like @gordonwatts and @kyungeonchoi to comment on the contract here:
|
To be honest, this feature was mostly a stepping stone to the automated lifecycle management, but if you are a polite user and you ran a transform and realized you made a mistake and will never use the results, you can issue this command and it will delete the files locally and off of the server. If you don't do this, then yes eventually the lifecycle ops will delete this for you |
This probably is best brainstormed at the retreat, but - the issue as I see it is that a very typical pattern is users just running many different variants of a transform to develop it, so at the end they have a lot of old versions, but they haven't kept track of the obsolete development ones, and they aren't likely to go hunt down the old transform IDs one by one. If I had to envision a more user-friendly scenario, it would be
|
Problem
Users can't delete unused transform requests to free up disk space
Approach
This PR goes along with ServiceX PR 915 to provide a command line tool to delete transforms on the server