Skip to content

fix(build): remove stale guest dir reference in clean script#431

Merged
DorianZheng merged 1 commit intomainfrom
fix/clean-stale-guest-dir
Apr 4, 2026
Merged

fix(build): remove stale guest dir reference in clean script#431
DorianZheng merged 1 commit intomainfrom
fix/clean-stale-guest-dir

Conversation

@DorianZheng
Copy link
Copy Markdown
Member

Summary

  • Removed stale [ -d "guest" ] && (cd guest && cargo clean) from scripts/clean.sh
  • The guest crate is now a workspace member at src/guest/, so root cargo clean already handles it
  • The old reference caused make clean to fail with exit 1 due to set -e + && pitfall when the top-level guest directory doesn't exist

Test plan

  • make clean completes successfully (exit 0)
  • All clean stages run to completion (runtime, venv, cargo, python, c, node, cache, wheels, temp, dist)

The guest crate moved into the workspace (src/guest/) but clean.sh
still referenced a top-level "guest" directory. The [ -d "guest" ] &&
pattern fails with set -e when the directory doesn't exist, causing
make clean to exit 1 before completing all clean stages.

The root cargo clean already handles src/guest as a workspace member,
so the separate clean was unnecessary.
@DorianZheng DorianZheng merged commit 892e64e into main Apr 4, 2026
@DorianZheng DorianZheng deleted the fix/clean-stale-guest-dir branch April 4, 2026 11:16
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.

1 participant