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

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

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

まだ誰も着手していません。

評価

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

調査の方向性

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.

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

説明

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

主要言語
Shell
スター
0
フォーク
1
平均マージ
20時間 3分
マージ済み PR(30日)
48

環境構築

はじめの一歩

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

QuantEcon/actions のほかの issue

QuantEcon/actions の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

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

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