Skip to content

sites/dp: build dp in the base environment with local links, for its cutover (QuantEcon/project-monorepo#85) - #150

Merged
mmcky merged 1 commit into
mainfrom
dp-cutover-build
Dec 4, 2026
Merged

mmcky merged 1 commit into
mainfrom
dp-cutover-build

Conversation

@mmcky

@mmcky mmcky commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

dp's cutover build, for QuantEcon/project-monorepo#85 (the first cutover, targeted for Tuesday 8 December 2026). sites/dp/site.yml gains environment: base and local_links: true, and drops extra_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 series now say it moved: site-build.yml's header and its extra-packages note, and sites/README.md's environment, extra_packages and url notes. 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 dp before and after: environment series → base, image quantecon-build → quantecon, env_file mirror/dp/environment.yml → _base/update/environment.yml, cache_tag "" → base-, extra_packages [jax] → [], local_links false → 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, its html-dp is compared with dp's own build (run 47058981580), expecting the 0 defects of #142.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WT8bMZgWD7YpiaGifkbm62

…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
@mmcky
mmcky requested an adaptive review from Copilot December 4, 2026 08:40
@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

☁️ Cloudflare Preview Ready! (intro)

Preview URL: https://pr-150.qe-preview-intro.pages.dev

Commit: 939f231


Build Info

@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

☁️ Cloudflare Preview Ready! (advanced)

Preview URL: https://pr-150.qe-preview-advanced.pages.dev

Commit: 939f231


Build Info

@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

☁️ Cloudflare Preview Ready! (dp)

Preview URL: https://pr-150.qe-preview-dp.pages.dev

Commit: 939f231


Build Info

@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

☁️ Cloudflare Preview Ready! (intermediate)

Preview URL: https://pr-150.qe-preview-intermediate.pages.dev

Commit: 939f231


Build Info

@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

☁️ Cloudflare Preview Ready! (programming)

Preview URL: https://pr-150.qe-preview-programming.pages.dev

Commit: 939f231


Build Info

@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

☁️ Cloudflare Preview Ready! (jax)

Preview URL: https://pr-150.qe-preview-jax.pages.dev

Commit: 939f231


Build Info

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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: base and local_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)

@mmcky
mmcky merged commit 42e1dec into main Dec 4, 2026
22 checks passed
@mmcky
mmcky deleted the dp-cutover-build branch December 4, 2026 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants