preview-workers: the pilot checks for the first lecture repository that adopts it
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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 nogh-pagestree 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.devpreviews, for a repository that needs gated drafts.preview-workershas novisibilityinput 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
- Dominant language
- Shell
- Stars
- 0
- Forks
- 1
- Avg merge
- 20h 3m
- Merged PRs (30d)
- 48
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from QuantEcon/actions
-
low-priority
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
documentation
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
bug infrastructure
Difficulty 3/5 1-2 days Newbie friendliness 48/100
Maintainers usually reply within 1 day
-
enhancement low-priority
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Maintainers usually reply within 1 day
All issues in QuantEcon/actions
Similar issues
-
status: ready
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
melodic-software/claude-code-plugins#15008 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 60/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
nxtg-ai/forge-orchestrator#105 ·
Maintainers usually reply within 1 day
-
bug CLI
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
openai/codex#60494 · 1 comment ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
LucasSantana-Dev/Lucky#2983 · 1 comment ·
Maintainers usually reply within 1 day