Repair weekly community-base release advisory uv bootstrap

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả 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

Hướng nghiên cứu

Read .github/workflows/release-advisory.yml alongside scripts/check_community_base_release.py; inspect the comparison step and its exit-code handling first. Check how the workflow bootstraps uv and Python on a bare GitHub-hosted runner, then verify exits 0, 2, and an error preserve the documented outputs and advisory path. Done means the bootstrap works while the release decision, error behavior, schedule, permissions, and deduplication remain unchanged.

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

Mô tả

bug infra operations P1

Problem and operator outcome

Hub intake d264d7b9-d93a-41c0-b00d-1190462433a5: the weekly Community-base Release Advisory has failed before inspecting releases since at least 2026-09-28. Run 40330880123 fails in Compare the pinned tag with the latest release with uv: command not found and exit 127. Restore the advisory on a bare GitHub-hosted runner without changing its release-decision or error contract.

Normative references

  • DTC fixed requirements: Python commands use uv.
  • Development process: independent engineer, tester and PM gates; on-call owns post-push observation.
  • Verification policy: versioned verification plan and explicit evidence dispositions; screenshots are inapplicable to CI-only changes.
  • Existing workflow and stdlib-only inspection script define the preserved advisory behavior.
  • The operator explicitly authorizes this job's direct worktree HEAD:main push and dispatch, overriding the usual local-main merge route. No PR is requested.

Scope

Repair the bootstrap in .github/workflows/release-advisory.yml so uv and a compatible Python interpreter are available before invoking the comparison script. The inspected script uses only Python's standard library; installing application dependencies or changing the lockfile is unnecessary unless implementation demonstrates a concrete need. Keep any regression verification focused on this workflow contract.

Non-goals

  • No community-base adoption, dependency pin changes, script feature changes, or new runtime packages.
  • No schedule, permission, runner, deduplication, advisory-content, or unrelated CI policy changes.
  • No product pages, deployment, database, infrastructure provisioning, or AWS access. Never use the main-temp AWS profile or static key for this job.

Dependencies

None. This is an independent workflow repair. GitHub repository push/dispatch authority is already provided by the operator; no AWS credential is needed.

Acceptance criteria

  • Community-base Release Advisory installs uv before scripts/check_community_base_release.py runs and provides the interpreter/dependencies the script needs on a bare runner; other workflow behavior is preserved.
  • Comparison exit 0 still emits result=already and follows Already latest; exit 2 still emits result=newer and the correct latest, and reaches the existing deduplicated advisory path. Any other exit remains an error and fails the job without masquerading as either result.
  • After pushing the approved fix to main, dispatch this workflow on main. Record the exact commit and run URL. The run must finish green when already current, or finish through the intended newer-release advisory path; a genuine error does not satisfy acceptance.
  • Work starts in an isolated worktree based on current origin/main; push directly to main with no PR after independent tester and PM approval, then remove the task worktree and branch.
  • Finish the report under ~/tmp/agent-reports/, publish the sanitized Hub result requested by intake, and announce/release the claim on the messaging bus. Do not expose credentials or use main-temp AWS credentials.

Verification scenarios

Repository and operations
  1. Independently inspect step order and uv bootstrap. Run the advisory script in an isolated standard-library environment without project sync, confirming its real interpreter needs are met.
  2. Exercise the actual comparison shell for ALREADY_LATEST/0, NEWER/2, and an error exit. Verify output fields and exit status, including absence of advisory output on genuine errors. Confirm the schedule, permissions and deduplication condition are unchanged.
  3. Generate the repository verification plan and retain the exact base/head, graph/plan digests and component dispositions. Use focused workflow checks; do not manufacture screenshot evidence for this CI-only change. Explain any graph-driven broader requirements explicitly in the role handoff.
  4. After the authorized direct push, on-call dispatches/observes the workflow on main and verifies step results and the intended outcome. An error, cancellation or missing final verdict remains unresolved.
Browser and Django

No public HTML, Django runtime, model, view or browser flow changes. Screenshots and product-browser scenarios are not_applicable with that reason. No new Django feature test is needed for a workflow bootstrap.

Ngôn ngữ chính
Python
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

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 DataTalksClub/website

Tất cả issue của DataTalksClub/website

Issue tương tự

Thêm issue về Python

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.