Skip to content

Fix test_prepost_run_dep after #24890 #24898

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 9, 2025

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Aug 9, 2025

  • Cleanup the test
  • Add and id to the addRunDependency call.
  • Add .unref to prevent the dependency watcher from keeping the node process alive. Prior to Require id in addRunDependency/removeRunDependency #24890 the lack of id in used in the test caused it to skip the dependency watcher.
  • Add --closure=1 to make sure closure doesn't minify the .unref call.
  • Add some RUNTIME_DEBUG logging to add/removeRunDependency.

@sbc100 sbc100 requested a review from kripken August 9, 2025 03:53
- Cleanup the test
- Add and `id` to the `addRunDependency` call.
- Add `.unref` to prevent the dependency watcher from keeping the
  node process alive.  Prior to emscripten-core#24890 the lack of `id` in used in the
  test caused it to skip the dependency watcher.
- Add some RUNTIME_DEBUG logging to add/removeRunDependency.
@sbc100 sbc100 force-pushed the fix_test_prepost_run_dep branch from 9ac23a3 to ab13ed1 Compare August 9, 2025 14:06
@sbc100
Copy link
Collaborator Author

sbc100 commented Aug 9, 2025

Landing TBR to green the tree

@sbc100 sbc100 merged commit af78792 into emscripten-core:main Aug 9, 2025
12 of 14 checks passed
@sbc100 sbc100 deleted the fix_test_prepost_run_dep branch August 9, 2025 14:28
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