mozilla / mozilla/bugbug

Include queue position in 202 response for test scheduling

Open
#5,494 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

http_service
Dominant language
Python
Stars
570
Forks
351
Avg merge
2d 13h
Merged PRs (30d)
65

Description

When returning a 202 response for test scheduling, it would be helpful to include the position in the queue in the response. It can be used to show helpful logging messages, especially when running tests locally with ./mach test --auto.

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

Start by locating the test-scheduling entry point that returns the 202 response and trace how queue position is calculated. Use ./mach test --auto to observe the scheduling flow; the work is done when the response exposes the position so local logging can report it.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.