Closed chrisjkhan closed 1 year ago
Merging #225 (4cdb0ab) into main (b00f378) will increase coverage by
0.28%
. The diff coverage is95.91%
.
@@ Coverage Diff @@
## main #225 +/- ##
==========================================
+ Coverage 72.40% 72.68% +0.28%
==========================================
Files 64 64
Lines 3541 3581 +40
==========================================
+ Hits 2564 2603 +39
- Misses 977 978 +1
Impacted Files | Coverage Δ | |
---|---|---|
...ckend/tests/pipeline/test_event_gather_pipeline.py | 99.17% <88.88%> (-0.83%) |
:arrow_down: |
cdp_backend/utils/file_utils.py | 87.94% <92.30%> (+0.68%) |
:arrow_up: |
cdp_backend/pipeline/event_gather_pipeline.py | 84.74% <100.00%> (+0.03%) |
:arrow_up: |
cdp_backend/tests/utils/test_file_utils.py | 100.00% <100.00%> (ø) |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
Looks good to me! @dphoria can you also check this. Will merge soon!
@evamaxfield actually, it's not working right now. I was wanting to reach out to see if you knew what might be wrong. The temporary video file exists in the context of the convert_video_and_handle_host
function, after the resource_copy_task
, but it does not exist in the context of the file_utils.clip_and_reformat_video
function, with no other commands called in between. I'm starting to think it's something small, like a typo. I thought maybe it had to do with the Prefect architecture, but I don't think so now. It is essentially the same architectural form as before any changes were made for trimming, so it seems like it must be a minor issue.
File exists here: https://github.com/CouncilDataProject/cdp-backend/blob/01595c3d6653649c4fab376ac686cfd5ada91f9a/cdp_backend/pipeline/event_gather_pipeline.py#L358 But not here: https://github.com/CouncilDataProject/cdp-backend/blob/01595c3d6653649c4fab376ac686cfd5ada91f9a/cdp_backend/utils/file_utils.py#L724
@dphoria let me know if you have any ideas
:rofl: I have failed as a reviewer. Anyway, good catch Chris. I'm preoccupied with some other stuff today; will try to debug when I can later today. Hopefully you'll figure it out soon. :sweat_smile:
I will also try to take a look asap
Thanks for making all the changes @chrisjkhan!
Merging and releasing new version. Upgrade should rollout in ~2 hours.
This pull request resolves #226
Use content hash for temp video file naming to prevent collisions across