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

Đang mở
#517 2 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@irfadkp đang làm issue này rồi.

Từ ngày 15/11/2026.

  • #527 của @irfadkp — đã đóng, không merge
  • #528 của @irfadkp — đang mở

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
51/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, python
Lĩnh vực
ci-cd, devops, security

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
JavaScript
Star
7
Fork
23
Merge trung bình
15 giờ 46 phút
Pull request đã merge (30 ngày)
41

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của open-telemetry/shared-workflows

Tất cả issue của open-telemetry/shared-workflows

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.