Repository navigation
sites/dp: build dp in the base environment with local links, for its cutover (QuantEcon/project-monorepo#85) - #150
Conversation
…cutover dp's cutover build (QuantEcon/project-monorepo#85): `environment: base`, `local_links: true`, and `extra_packages: [jax]` retired, as the base list carries jax. The same change ran as the closed draft #142, whose builds compared with dp's own showed no defect (QuantEcon/project-monorepo#26). The docs that described dp as the one site in `series` say it moved; dp keeps quantecon.github.io/lecture-dp/, its custom address to be discussed on QuantEcon/lecture-dp#2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WT8bMZgWD7YpiaGifkbm62
☁️ Cloudflare Preview Ready! (intro)Preview URL: https://pr-150.qe-preview-intro.pages.dev Commit: Build Info
|
☁️ Cloudflare Preview Ready! (advanced)Preview URL: https://pr-150.qe-preview-advanced.pages.dev Commit: Build Info
|
☁️ Cloudflare Preview Ready! (dp)Preview URL: https://pr-150.qe-preview-dp.pages.dev Commit: Build Info
|
☁️ Cloudflare Preview Ready! (intermediate)Preview URL: https://pr-150.qe-preview-intermediate.pages.dev Commit: Build Info
|
☁️ Cloudflare Preview Ready! (programming)Preview URL: https://pr-150.qe-preview-programming.pages.dev Commit: Build Info
|
☁️ Cloudflare Preview Ready! (jax)Preview URL: https://pr-150.qe-preview-jax.pages.dev Commit: Build Info
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified in the dp build configuration, local-link, and documentation changes.
No open issues 🎉
What changed in this PR
Prepares dp’s cutover by aligning its build with the shared base environment and enabling local lecture links, while retaining its current GitHub Pages address.
Changes:
- Sets dp to
environment: baseandlocal_links: true, removing the redundant jax extra package. - Updates documentation and workflow comments to reflect dp’s build settings and address decision.
| File | Description |
|---|---|
| sites/README.md | Documents dp’s environment transition and retained address. |
| sites/dp/site.yml | Enables the base environment and local links; removes extra jax installation. |
| README.md | Replaces the planned domain with the pending custom-address discussion. |
| .github/workflows/site-build.yml | Updates comments only to reflect all sites using base. |
Review effort: Balanced (adaptive)
dp's cutover build, for QuantEcon/project-monorepo#85 (the first cutover, targeted for Tuesday 8 December 2026).
sites/dp/site.ymlgainsenvironment: baseandlocal_links: true, and dropsextra_packages: [jax], since the base list (_base/update/environment.yml) carries jax. dp then builds as every other site does: in the full image with the one package list, and with its links to lectures it carries rewritten within the site (tools/stage-site --local-links), as the owner decided on 2026-11-26.This is the change the closed draft #142 ran, without its do-not-merge comments. Its two builds were compared with dp's own build at its pin with no defect (QuantEcon/project-monorepo#26; #85 comment 7395851667), with dp's expected list from #143.
The docs that described dp as the one site in
seriesnow say it moved:site-build.yml's header and its extra-packages note, andsites/README.md'senvironment,extra_packagesandurlnotes. README.md's site table now says dp keeps https://quantecon.github.io/lecture-dp/, with a custom address to be discussed on QuantEcon/lecture-dp#2 (the owner, 2026-12-04: "Keep GitHub io for now and discuss with jstac"), replacing the planned dynamic-programming.quantecon.org.tools/site-matrix dpbefore and after:environmentseries → base,imagequantecon-build → quantecon,env_filemirror/dp/environment.yml →_base/update/environment.yml,cache_tag"" →base-,extra_packages[jax] → [],local_linksfalse → true. Nothing else changes, and no other site's matrix changes.The first build is cold: no
jb1-dp-base-cache exists, and #142's dp builds took about 43 minutes each, inside the 190-minute job limit. This PR's build and its merge build both run cold. The merge build saves the cache that the deciding comparison and Tuesday's publish use.Checks: the suite (1215 passed, 1 skipped) and
tools/pool-check(clean). After this PR's build, itshtml-dpis compared with dp's own build (run 47058981580), expecting the 0 defects of #142.🤖 Generated with Claude Code
https://claude.ai/code/session_01WT8bMZgWD7YpiaGifkbm62