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

オープン
#517 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@irfadkp がすでに取り組んでいます。

2026年11月15日 から。

  • #527 @irfadkp による — マージされずにクローズ
  • #528 @irfadkp による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
51/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github-actions, python
領域
ci-cd, devops, security

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
JavaScript
スター
7
フォーク
23
平均マージ
15時間 46分
マージ済み PR(30日)
41

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

open-telemetry/shared-workflows のほかの issue

open-telemetry/shared-workflows の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。