Include queue position in 202 response for test scheduling
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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