Start cloning as soon as possible in bot tasks
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Trace the bot task setup to find where repository cloning is invoked and what work currently happens before it. Review the task's ordering and interactions with other services, then verify that cloning starts earlier without disrupting those steps and that the roughly 20-second wait is reduced.
Written by the indexing model from the issue text.
Description
We are currently doing a few things before starting to clone the repo, which starts around 20 seconds in the task.
We could start cloning earlier in the background while we do other stuff, so we save the 20 seconds (assuming what we're doing is not I/O bound and mostly waiting for other services to respond).
- Dominant language
- Python
- Stars
- 67
- Forks
- 53
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 77
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from mozilla/code-review
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
mozilla/code-review#3399 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
mozilla/code-review#3710 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
mozilla/code-review#3674 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
mozilla/code-review#3673 ·
Maintainers usually reply within 1 day
-
Investigate avoiding cloning the repo when there are no publishable issuesPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 3/5 1-2 days Newbie friendliness 65/100
mozilla/code-review#3671 · 2 comments ·
Maintainers usually reply within 1 day
All issues in mozilla/code-review
Similar issues
-
docs pydanty:is-working
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
pydantic/pydantic-ai#9800 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
[Bug]: With --api-server-count > 1, gauges such as vllm:num_requests_running have no samples until the first requestPossibly taken @roy6n23 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
vllm-project/vllm#59988 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
pymc-devs/pymc-examples#897 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 91/100