-
Notifications
You must be signed in to change notification settings - Fork 2
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
Remove unused tasks Import and Transcode #215
Conversation
Import was previously used for recordings v1
Codecov Report
@@ Coverage Diff @@
## main #215 +/- ##
===================================================
+ Coverage 15.35565% 17.70833% +2.35268%
===================================================
Files 19 17 -2
Lines 2390 1920 -470
===================================================
- Hits 367 340 -27
+ Misses 1997 1555 -442
+ Partials 26 25 -1
Continue to review full report in Codecov by Sentry.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great cleanup!
BTW, one thing you also have to do is remove the creation of such deleted tasks from the Studio API. Both for cleaning up that code as well but also to avoid weird errors in case these APIs eventually get called
maxStartTime = math.Max(maxStartTime, startTime) | ||
} | ||
} | ||
glog.Infof("Probed video file assetId=%s filename=%q format=%q width=%d height=%d bitrate=%s startTime=%v maxStreamStartTime=%v %s", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mjh1 I guess this alert is not needed since this line got removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah i'd remove, must not be relevant anymore, I'm not aware we're checking for that condition on the alert anymore
Import was previously used for recordings v1
Transcode was another legacy flow, for creating a "mutation" of existing assets e.g. to ask for a different profile for the master rendition