Hash-lock pull request dashboard Python dependencies (move to uv)

Aperta
#517 2 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@irfadkp ci sta già lavorando.

Dal 15/11/2026.

  • #527 di @irfadkp — chiusa senza merge
  • #528 di @irfadkp — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
51/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, python
Ambito
ci-cd, devops, security

Direzione di ricerca

Start with .github/scripts/pull-request-dashboard/requirements.txt and the three listed install sites: execution_code.py, promote-pull-request-dashboard.yml, and pull-request-dashboard-test.yml. Read the follow-up discussion and inspect the existing lock and Renovate configuration to understand the intended migration. Done means dependencies are locked with hashes and all current install sites use the lock, with redundant configuration or lock files removed if applicable.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

dashboard dependencies

Follow-up from https://github.com/open-telemetry/shared-workflows/pull/516#discussion_r4493632193.

#516 added a hash-locked requirements-telemetry.lock for the telemetry install in the dashboard workflows, but the main .github/scripts/pull-request-dashboard/requirements.txt is still only == pinned and gets installed without hash checking. In that PR I loosely followed what was already there, so I'd like to close the gap here.

Places that install requirements.txt today:

  • execution_code.py (venv for the drain children)
  • promote-pull-request-dashboard.yml
  • pull-request-dashboard-test.yml

What I'm thinking:

  • Move the dashboard scripts to uv for dependency management so we get locking + hashes for free (transitive deps included).
  • Install from the lock with hash checking everywhere we install today.
  • Update the Renovate config to keep the lock up to date (and drop the pip-compile rule / requirements-telemetry.lock if they become redundant).

cc @Kielek

Lingua principale
JavaScript
Stelle
7
Fork
23
Merge medio
15h 46m
PR unite (30g)
41

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di open-telemetry/shared-workflows

Tutte le issue di open-telemetry/shared-workflows

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.