• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

EsupPortail / Esup-Pod / 23433297814
69%
main: 71%

Build:
Build:
LAST BUILD BRANCH: dev_v4
DEFAULT BRANCH: main
Ran 23 Mar 2026 10:59AM UTC
Jobs 1
Files 274
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Mar 2026 10:42AM UTC coverage: 68.068% (+0.001%) from 68.067%
23433297814

push

github

web-flow
Fix Thumbnail Persistence and Completion Alert (#1409)

## Summary

This PR fixes a frontend safety issue and hardens the transcript/remote-encoding workflow to prevent unintended field overwrites.

## Changes

- Frontend (`completion.js`):
  - Safely remove `formalertdiv` only when it exists, preventing a client-side error in the error-rendering path.

- Backend (`video_encode_transcript`):
  - Replaced several full model `save()` calls with targeted `QuerySet.update()` calls for `encoding_in_progress`, `duration`, and `is_video`.
  - Prevented stale object saves from overwriting unrelated fields, especially `thumbnail`.
  - Added thumbnail persistence diagnostics (selected vs persisted thumbnail IDs).
  - Added a fallback thumbnail assignment path when persistence unexpectedly returns `NULL`.
  - Added warning logs when a thumbnail is still missing after remote import.

## Why

Using full-object saves in long workflows could overwrite fields set by other steps. This change reduces that risk and improves traceability when thumbnail persistence fails.

1 of 24 new or added lines in 3 files covered. (4.17%)

8 existing lines in 4 files now uncovered.

12922 of 18984 relevant lines covered (68.07%)

0.68 hits per line

Uncovered Changes

Lines Coverage ∆ File
20
15.34
-0.55% pod/video_encode_transcript/runner_manager_utils.py
2
38.76
-0.34% pod/video_encode_transcript/transcript.py
1
35.09
0.26% pod/video_encode_transcript/runner_manager.py

Coverage Regressions

Lines Coverage ∆ File
3
69.03
0.44% pod/meeting/views.py
2
15.34
-0.55% pod/video_encode_transcript/runner_manager_utils.py
2
38.76
-0.34% pod/video_encode_transcript/transcript.py
1
73.32
0.8% pod/meeting/models.py
Jobs
ID Job ID Ran Files Coverage
1 23433297814.1 23 Mar 2026 10:59AM UTC 274
68.07
GitHub Action Run
Source Files on build 23433297814
  • Tree
  • List 274
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c5607c5c on github
  • Prev Build on dev_v4 (#22766471732)
  • Next Build on dev_v4 (#23595957378)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc