Skip to content

Avoid fspy wait hangs from detached senders#495

Closed
wyf027 wants to merge 1 commit into
voidzero-dev:mainfrom
wyf027:codex/fspy-detached-sender-no-hang
Closed

Avoid fspy wait hangs from detached senders#495
wyf027 wants to merge 1 commit into
voidzero-dev:mainfrom
wyf027:codex/fspy-detached-sender-no-hang

Conversation

@wyf027

@wyf027 wyf027 commented Jun 28, 2026

Copy link
Copy Markdown

Summary

  • avoid blocking forever when fspy's IPC receiver cannot acquire the lock after the root child exits because a detached descendant still owns a sender
  • mark that run's path tracking as incomplete so vite-task skips cache updates instead of storing an unsafe fingerprint
  • add a regression test for a shell command that backgrounds a descendant process

Fixes #396

Tests

  • cargo fmt --all --check
  • cargo test -p fspy_shared ipc::channel::tests::forbid_new_senders_after_locked
  • cargo test -p fspy --test detached_child
  • cargo test -p vite_task_bin --test e2e_snapshots input_read_write_not_cached

@wyf027

wyf027 commented Jun 28, 2026

Copy link
Copy Markdown
Author

Closing this after seeing the maintainer request on #494 to stop submitting PRs unless an issue is assigned. Sorry for the noise.

@wyf027 wyf027 closed this Jun 28, 2026
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.

vp run <pkg>#test hangs with run.cache: true when test uses Vitest browser mode (Playwright + Chromium)

1 participant