Dependabot uv job times out and tries to update workspace members
Les mainteneurs répondent en général sous 3 jours
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 45/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- github-actions, python, yaml
- Domaine
- build-system, devops
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Python
- Étoiles
- 579
- Forks
- 369
- Merge moyen
- 3 j 5 h
- PR mergées (30 j)
- 139
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de mozilla/bugbug
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 3 jours
-
Replace the direct useag of `recorder.record()` in agent with the tool usagePeut-être pris @SanyaKor l’a pris il y a 11 jours. Ouvertehackbot
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 3 jours
-
hackbot
Difficulté 2/5 1-3 heures Accessibilité débutants 73/100
Les mainteneurs répondent en général sous 3 jours
-
hackbot
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
Les mainteneurs répondent en général sous 3 jours
-
Fix ASYNC109 Ruff violationsPeut-être pris @reginaldalfret l’a pris il y a 44 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
mozilla/bugbug#6987 · 1 commentaire ·
Les mainteneurs répondent en général sous 3 jours
Toutes les issues de mozilla/bugbug
Issues similaires
-
Difficulté 1/5 1-3 heures Accessibilité débutants 76/100
samuelclay/NewsBlur#2214 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 1 jour
-
MODEL_NOT_FOUND gives no suggestion for a model listed only as model:profilePeut-être pris @ShaiShmuel l’a pris aujourd’hui. Ouverteenhancement rust
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
superlinked/sie#985 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
readthedocs/readthedocs-builder#73 ·
Les mainteneurs répondent en général sous 1 jour