livepeer / task-runner

Background service that executes tasks from the Livepeer API. Mainly used for VOD.
MIT License
3 stars 2 forks source link

Fix IPFS export for recordings #201

Closed mjh1 closed 1 year ago

mjh1 commented 1 year ago

Previously we were assuming the source file video would always be available, but for recordings this doesn't get generated. To fix we now check for a static mp4 output as well as the video file (mp4s are always generated for recordings https://github.com/livepeer/task-runner/blob/d7580fa/task/upload.go#L525).

codecov[bot] commented 1 year ago

Codecov Report

Merging #201 (7f96194) into main (5bfc222) will decrease coverage by 0.05955%. The diff coverage is 0.00000%.

Impacted file tree graph

@@                 Coverage Diff                 @@
##                main        #201         +/-   ##
===================================================
- Coverage   13.72549%   13.66594%   -0.05955%     
===================================================
  Files             18          18                 
  Lines           2295        2305         +10     
===================================================
  Hits             315         315                 
- Misses          1956        1966         +10     
  Partials          24          24                 
Impacted Files Coverage Δ
task/export.go 0.00000% <0.00000%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5bfc222...7f96194. Read the comment docs.

Impacted Files Coverage Δ
task/export.go 0.00000% <0.00000%> (ø)