Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Scriptworker hangs if script writes really long line

Open
#362 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
devops

Research direction

Start by reading client/balrogclient/api.py lines 155-160 and tracing the Balrogscript log-writing path described in the issue. Re-run the balrogworker submit-toplevel scenario with the roughly 600k output blob, then verify that scriptworker log processing completes without hanging.

Written by the indexing model from the issue text.

Description

If a balrogworker submit-toplevel task is re-run after all the balrog submit jobs, then the blob printed out by balrogclient here is on the order of 600k. This cause the log processing on scriptworker to hang (or something). Balrogscript currently writes logs synchronously, which meant it hung trying to write the log.

Dominant language
Python
Stars
5
Forks
40
Avg merge
22h 14m
Merged PRs (30d)
10

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mozilla-releng/scriptworker

All issues in mozilla-releng/scriptworker

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.