preview-workers: the pilot checks for the first lecture repository that adopts it

Đang mở
#299 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/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, github-actions, shell
Lĩnh vực
ci-cd, devops

Hướng nghiên cứu

Start by reading #298's preview-workers action, the canary workflow, and scripts/preview-decide.sh; the issue names these entry points and the pilot checks. Work through the five checks with the first lecture repository that adopts the action, including limits, retention, racing uploads, and the trust gate. Done means the listed checks are resolved and documented; Access gating is optional.

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

Mô tả

enhancement

preview-workers (#298, for #145) previews a pull request on a Cloudflare Worker. It is tested in this repository's harness, which has no Cloudflare account, and on the canary's own Worker, qe-preview-canary. Five things in #145's "Verify during pilot" list can only be checked once a real lecture repository uses it. The maintainer decided on 2026-11-10 that #145 closes with the action, and these move here for the first lecture repository that adopts it.

  • Limits per Worker version. Static assets have a file-count limit and a 25 MiB per-file limit per version. Check them against the largest site's _build/html. It's unclear whether Workers got the larger file count that Pages received in January 2026. The lecture sites publish through GitHub's Pages deploy, so no gh-pages tree exists to count from here.
  • Version retention. How long old versions and their aliased URLs persist, and how they are pruned. This differs from Pages deployments.
  • Alias stability across many pushes to one pull request, and what happens when two uploads race. The concurrency cancellation from #92's phase 1 should be in the repository's workflow first.
  • The trust gate on a real repository. Fork and Dependabot pull requests must deploy nothing, as with the other two preview actions (scripts/preview-decide.sh).
  • Optional: Cloudflare Access in front of preview URLs, which works on workers.dev previews, for a repository that needs gated drafts. preview-workers has no visibility input for now. Adding the check later, as an input that defaults to off, would break no caller.

The canary run of #298 covers a pull request's placeholder and deploy, a second push to the same alias, a dispatch alias, and a wrong account-subdomain failing, on one small site. It doesn't cover the items above.

Claude Code (on behalf of mmcky), organiser session

Ngôn ngữ chính
Shell
Star
0
Fork
1
Merge trung bình
18 giờ 51 phút
Pull request đã merge (30 ngày)
58

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 QuantEcon/actions

Tất cả issue của QuantEcon/actions

Issue tương tự

Thêm issue về Shell/Bash

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.