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

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

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/pillow-12.3.0
DEFAULT BRANCH: main
Ran 03 Jul 2026 03:34PM UTC
Jobs 1
Files 275
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

03 Jul 2026 03:20PM UTC coverage: 69.185%. First build
28669484862

Pull #1427

github

web-flow
Fix tag cleanup during v3 to v4 import (#1482)

## Summary

This fixes tag cleanup during the Pod v3 to v4 import command.

The import command could fail when rerun on a non-empty database because tag parent tables were deleted before their many-to-many relation tables. MySQL then raised a foreign key constraint error when existing rows in `video_video_tags` still referenced `video_tagulous_video_tags`.

## Changes

- Delete tag relation tables before deleting Tagulous tag tables.
- Apply the same cleanup order for video and recorder tags.
- Temporarily disable MySQL foreign key checks during tag cleanup.
- Re-enable foreign key checks in a `finally` block to avoid leaving them disabled after an error.

## Validation

- Ran Python syntax validation with:

```bash
python3 -m py_compile pod/video/management/commands/import_data_from_v3_to_v4.py
Pull Request #1427: [Release] 4.3.0

804 of 1118 new or added lines in 24 files covered. (71.91%)

13682 of 19776 relevant lines covered (69.18%)

0.69 hits per line

Uncovered Changes

Lines Coverage ∆ File
70
43.97
pod/import_video/utils.py
67
67.54
pod/video/utils.py
26
69.2
pod/recorder/views.py
21
72.6
pod/video/views.py
20
15.34
pod/video_encode_transcript/runner_manager_utils.py
17
64.04
pod/video_encode_transcript/Encoding_video.py
14
57.38
pod/import_video/views.py
13
63.97
pod/video_encode_transcript/Encoding_video_model.py
13
52.45
pod/video_encode_transcript/rest_views.py
11
93.49
pod/recorder/utils.py
11
74.64
pod/video_encode_transcript/utils.py
6
47.93
pod/ai_enhancement/views.py
6
64.84
pod/video_encode_transcript/admin.py
6
77.24
pod/video_encode_transcript/encoding_utils.py
4
85.19
pod/video_encode_transcript/task_queue.py
3
99.1
pod/video_encode_transcript/runner_manager.py
2
38.76
pod/video_encode_transcript/transcript.py
1
53.25
pod/completion/views.py
1
80.0
pod/main/models.py
1
77.84
pod/main/views.py
1
90.44
pod/video_encode_transcript/models.py
Jobs
ID Job ID Ran Files Coverage
1 28669484862.1 03 Jul 2026 03:34PM UTC 275
69.18
GitHub Action Run
Source Files on build 28669484862
  • Tree
  • List 275
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1427
  • Next Build on dev_v4 (#28854553906)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc