Commit 8532ee7
committed
fix: structured error tests, GPU leaks, TooManyJobs code field
- Fix 4 broken test_route_smoke.py mocks (wrong path opencut.routes.search.footage_search → opencut.core.footage_search.search_footage)
- Fix TooManyJobsError in @async_job returning plain {error} without code/suggestion — now matches global error handler format
- Fix TooManyJobs test: mock validate_filepath so filepath check doesn't short-circuit before _new_job
- Fix WhisperX GPU leak in base captions.py — model + align_model freed in finally block
- Fix multimodal_diarize GPU leak — face detection models freed in finally block1 parent f4d2192 commit 8532ee7
4 files changed
Lines changed: 68 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
534 | 548 | | |
535 | 549 | | |
536 | 550 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
232 | 247 | | |
233 | 248 | | |
234 | 249 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
339 | 343 | | |
340 | 344 | | |
341 | 345 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1370 | 1370 | | |
1371 | 1371 | | |
1372 | 1372 | | |
1373 | | - | |
1374 | | - | |
| 1373 | + | |
1375 | 1374 | | |
1376 | 1375 | | |
1377 | 1376 | | |
| |||
1383 | 1382 | | |
1384 | 1383 | | |
1385 | 1384 | | |
1386 | | - | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
1387 | 1389 | | |
1388 | 1390 | | |
1389 | 1391 | | |
| |||
1641 | 1643 | | |
1642 | 1644 | | |
1643 | 1645 | | |
1644 | | - | |
1645 | | - | |
| 1646 | + | |
1646 | 1647 | | |
1647 | 1648 | | |
1648 | 1649 | | |
| |||
1655 | 1656 | | |
1656 | 1657 | | |
1657 | 1658 | | |
1658 | | - | |
1659 | | - | |
| 1659 | + | |
1660 | 1660 | | |
1661 | 1661 | | |
1662 | 1662 | | |
1663 | 1663 | | |
1664 | 1664 | | |
1665 | 1665 | | |
1666 | 1666 | | |
1667 | | - | |
1668 | | - | |
1669 | | - | |
1670 | | - | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
1671 | 1670 | | |
1672 | 1671 | | |
1673 | 1672 | | |
1674 | 1673 | | |
1675 | | - | |
| 1674 | + | |
| 1675 | + | |
1676 | 1676 | | |
| 1677 | + | |
1677 | 1678 | | |
1678 | 1679 | | |
1679 | 1680 | | |
1680 | 1681 | | |
1681 | | - | |
| 1682 | + | |
| 1683 | + | |
1682 | 1684 | | |
1683 | 1685 | | |
1684 | 1686 | | |
1685 | 1687 | | |
1686 | | - | |
1687 | | - | |
1688 | | - | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
1689 | 1691 | | |
1690 | 1692 | | |
1691 | 1693 | | |
| |||
0 commit comments