mozilla-releng / mozilla-releng/scriptworker

catch more exceptions

Open
#229 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
5
Forks
39
Avg merge
4h 18m
Merged PRs (30d)
6

Description

Somewhat open ended.

Currently:

  • CoT verification timeouts aren't caught: this results in scriptworker crashing and the task claim expiring, which is a slow way of rerunning the task. Ideally we'd catch the timeout and retry or explicitly exit intermittent-task.

  • CoT artifact unicode results in scriptworker crashing. #216

  • We have some uncaught exceptions while running a task - some around max timeout. Ideally we'd catch the currently-uncaught and gracefully either exit the task or otherwise handle it. This might involve worker-shutdown or exponential retry backoff; either way it would be wonderful to upload the logs-in-progress.

Contributor guide

Open the contributing guide

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.

Research direction

No files, tests, or entry points are named. Start by reviewing the timeout, CoT artifact Unicode failure in #216, and uncaught task exceptions described here, then trace how scriptworker handles task failure and shutdown. Done means the affected failures no longer crash the worker and have an explicitly defined retry, exit, or in-progress log behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devops
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.