mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-07-18 00:44:29 -05:00
[PR #1859] [MERGED] fix(ci): stage mlsysbook-labs wheel for the WASM browser smoke test #36479
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/harvard-edge/cs249r_book/pull/1859
Author: @profvjreddi
Created: 6/15/2026
Status: ✅ Merged
Merged: 6/16/2026
Merged by: @profvjreddi
Base:
dev← Head:fix/labs-smoke-wheel-pr📝 Commits (1)
7a24342fix(ci): stage mlsysbook-labs wheel for the WASM browser smoke test📊 Changes
1 file changed (+10 additions, -1 deletions)
View changed files
📝
.github/workflows/labs-validate-dev.yml(+10 -1)📄 Description
What
The
🔮 Labs · ✅ Validate (Dev)workflow has been failing at the Browser smoke test (real Chromium + Pyodide) step. All four smoke labs boot, then fail with:Root cause
The labs bootstrap with two micropip installs:
The WASM smoke job in
labs-validate-dev.ymlonly built and served the mlsysim engine wheel. When the exported lab boots in headless Chromium, micropip 404s onmlsysbook_labs-0.1.0-py3-none-any.whl, gets an HTML error page instead of a zip, and Pyodide raisesBadZipFile.The Node-Pyodide step still passes because it installs only the mlsysim wheel directly via
file://and never runs the lab's own bootstrap — only the real-browser step exercises both wheels, which is exactly the gap it exists to catch.It surfaced now (last green: 2026-06-07) because the canonical-lab-track work added the
mlsysbook_labsmicropip line to the smoke labs after that run.Fix
Build the
mlsysbook-labshelper wheel and copy it next to the engine wheel in the smoke wheels dir, mirroring whatlabs/tools/build_site.shalready does for the production/preview builds.Scope / risk
labs/tools/build_site.sh) already build both wheels, so the live labs site is unaffected.python -m build --wheel labsandpython -m build --wheel mlsysimproducemlsysbook_labs-0.1.0-py3-none-any.whlandmlsysim-0.1.2-py3-none-any.whl— the exact filenames the labs request.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.