Dependabot uv job times out and tries to update workspace members
Mantenedores costumam responder em até 3 dias
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 45/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- github-actions, python, yaml
- Domínio
- build-system, devops
Direção de pesquisa
Start by reading .github/dependabot.yml and the root pyproject.toml workspace configuration; the linked Dependabot run shows the failure and timeout. Compare the two proposed approaches: renaming internal distributions or generating and validating the ignore list. Done means Dependabot skips workspace members and the weekly uv update completes without timing out.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
The weekly Dependabot uv update for / has been timing out or failing since early November (e.g. https://github.com/mozilla/bugbug/network/updates/1694419512).
Two causes:
- Dependabot treats uv workspace members as PyPI packages.
testrail-clientexists on PyPI (0.1.2), so Dependabot tries to "update" our 0.1.0 workspace member and fails withdependency_file_not_resolvable. Same foragent-tools. Dependabot does not honor{ workspace = true }sources, even when declared in the rootpyproject.toml. - The job is right at the ~55 min timeout. Each check re-resolves the whole workspace (~16s each) and a run does 200-250 checks; ~30 of those are on workspace members, which we never want updated.
Ignoring the workspace members in .github/dependabot.yml fixes both, but an explicit list of names would have to be kept in sync manually as members are added. Options to avoid that:
Option 1: rename internal packages under a common prefix
Most members are already hackbot-*. Rename the remaining ones (agent-tools, autowebcompat-tools, bugzilla-client, lando-client, phabricator-client, phabricator-proxy, testrail-client) to e.g. hackbot-agent-tools, hackbot-testrail-client, ... so the ignore block becomes a fixed pair of wildcards:
ignore:
- dependency-name: "hackbot-*"
- dependency-name: "bugbug*"
Only distribution names change (pyproject.toml files and uv.lock); import names like testrail_client stay the same. It also removes a dependency-confusion risk: anything installing these outside the workspace (Docker builds, plain pip install) could currently pull an unrelated package from PyPI.
Option 2: generate the ignore list automatically
Add a pre-commit hook that reads the workspace member names and rewrites (or validates) the ignore block in dependabot.yml. No renames needed, but it adds a script to maintain and the PyPI name collisions remain.
- Linguagem predominante
- Python
- Estrelas
- 579
- Forks
- 369
- Merge médio
- 3d 5h
- PRs com merge (30d)
- 139
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de mozilla/bugbug
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 3 dias
-
Replace the direct useag of `recorder.record()` in agent with the tool usageTalvez já em andamento @SanyaKor assumiu há 11 dias. Abertahackbot
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 3 dias
-
hackbot
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 73/100
Mantenedores costumam responder em até 3 dias
-
hackbot
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 3 dias
-
Fix ASYNC109 Ruff violationsTalvez já em andamento @reginaldalfret assumiu há 44 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
mozilla/bugbug#6987 · 1 comentário ·
Mantenedores costumam responder em até 3 dias
Todas as issues de mozilla/bugbug
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
ip-tools/patzilla#219 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
EPSSClient commits to its SQLite cache once per score: a 100-CVE bulk fetch makes 101 disk flushesAbertapriority:p3 technical-debt
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
jimmy058910/jmo-security-repo#1673 ·
Mantenedores costumam responder em até 1 dia
-
enhancement ready
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
-
integration: frontier_silicon
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
home-assistant/core#193176 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
task create and task update take --body-file and --stdinTalvez já em andamento @JuanBarriosS assumiu hoje. Abertacli enhancement good first issue help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 92/100
pyrite-wiki/pyrite#1687 · 1 comentário ·
Mantenedores costumam responder em até 1 dia