Skip to content

Fix dying worker during file extraction#6462

Draft
Floppy wants to merge 1 commit into
mainfrom
fix-dying-worker-during-file-extraction
Draft

Fix dying worker during file extraction#6462
Floppy wants to merge 1 commit into
mainfrom
fix-dying-worker-during-file-extraction

Conversation

@Floppy

@Floppy Floppy commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

If the worker process dies during uploaded file processing, for whatever reason, the resulting model is left in a bad state. The job will not be marked as completed, so it's often retried, but leaves half a model lying around.

Need to solve this by a combination of:

  • Improving memory efficiency of file extraction, to avoid the OOM reaper which might be what's killing it.
  • Make the job resumable somehow

Should help resolve #6293

@Floppy Floppy added the bug Something isn't working label Jun 22, 2026
@codacy-production

codacy-production Bot commented Jun 22, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics -4 complexity

Metric Results
Complexity -4

View in Codacy

🟢 Coverage 100.00% diff coverage · +0.02% coverage variation

Metric Results
Coverage variation +0.02% coverage variation (-1.00%)
Diff coverage 100.00% diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (a0e959f) 7421 6210 83.68%
Head commit (fbc331e) 7430 (+9) 6219 (+9) 83.70% (+0.02%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#6462) 9 9 100.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@Floppy Floppy force-pushed the fix-dying-worker-during-file-extraction branch from 43b5697 to fbc331e Compare June 22, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Zip Uploads Creates Multiple Models

1 participant