fix(webui): reinstall locked dependencies when rebuilding source upgrades

This commit is contained in:
Xubin Ren committed 2026-10-28 16:54:41 +08:00
1 parent 897c8b013f
commit 89d35863d9
2 files changed
+5 -2

No files matched your search

+2 -1
View File
@@ -128,7 +128,8 @@ def test_ensure_webui_bundle_auto_builds_stale_dist(tmp_path: Path, monkeypatch)
)
assert status.stale is False
assert commands == [("bun", "install", "--frozen-lockfile"), ("bun", "--bun", "run", "build")]
assert commands == [("bun", "install", "--frozen-lockfile", "--force"),
("bun", "--bun", "run", "build")]
def test_pick_webui_build_runner_returns_resolved_executable(monkeypatch) -> None: