[Test] Exercise Workbench git-ops push scenarios in the nightly suite

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

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

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/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ệ
git, github-actions
Lĩnh vực
ci-cd, testing

Hướng nghiên cứu

Start in the workflow file workbench-smoke.yml, where the vip.toml is generated, and add an https-token [workbench.git_test] block only for the nightly and dispatch runs. Then check that test_push_rstudio, test_push_vscode and test_push_positron no longer skip with auth_method='none'. This needs a writable test repository and a VIP_GIT_TOKEN secret from a maintainer, so confirm access before starting.

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

Mô tả

team: workbench

Nightly Workbench Smoke Tests never push. The vip.toml that workbench-smoke.yml generates has no [workbench.git_test] block, so VIP falls back to an anonymous clone of a public repo, and test_push_rstudio, test_push_vscode and test_push_positron all skip with "auth_method='none' is anonymous (read-only)". Clones run on three Workbench versions every night; pushes have never run in CI.

To cover them we need a test repository the CI token can write to, that token stored as a repository secret (for example VIP_GIT_TOKEN), and an https-token [workbench.git_test] block in the generated vip.toml. The block should only go into the full suite (nightly and dispatch), not the PR gate.

Ngôn ngữ chính
Python
Star
9
Fork
1
Merge trung bình
15 giờ 31 phút
Pull request đã merge (30 ngày)
44

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 posit-dev/vip

Tất cả issue của posit-dev/vip

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.