Skip to content

fix(examples): exit langchain example to prevent NAPI event loop hang#786

Merged
chaliy merged 1 commit intomainfrom
claude/bindings-parity-fixes-8TC6w
Mar 22, 2026
Merged

fix(examples): exit langchain example to prevent NAPI event loop hang#786
chaliy merged 1 commit intomainfrom
claude/bindings-parity-fixes-8TC6w

Conversation

@chaliy
Copy link
Copy Markdown
Contributor

@chaliy chaliy commented Mar 22, 2026

Summary

  • Add process.exit(0) at the end of langchain_integration.mjs to prevent the native NAPI tokio runtime from keeping the Node event loop alive indefinitely
  • This was causing all 4 Node CI jobs to hang on the "Run examples (self-contained)" step

Test plan

  • Node CI jobs should complete within normal timeframe
  • Example output remains unchanged (just exits cleanly)

The native NAPI tokio runtime keeps the Node event loop alive,
causing the CI step to hang indefinitely.
@chaliy chaliy merged commit 7fd5605 into main Mar 22, 2026
16 checks passed
@chaliy chaliy deleted the claude/bindings-parity-fixes-8TC6w branch March 22, 2026 22:37
yonas pushed a commit to yonasBSD/bashkit that referenced this pull request Mar 23, 2026
## Summary

Release v0.1.13 — patch release with 5 PRs since v0.1.12.

### Highlights

- **First contribution from @achicu!** Fixed `find` with multiple paths
silently discarding results when one path is missing (everruns#781)
- **Python/Node binding parity** — both bindings now expose the same API
surface (everruns#785)
- **Live mount/unmount** on running `Bash` instances for dynamic
filesystem composition (everruns#784)

### What's Changed

* fix(examples): exit langchain example to prevent NAPI event loop hang
(everruns#786) by @chaliy
* feat(bindings): add Python/Node binding parity (everruns#785) by @chaliy
* feat(fs): expose live mount/unmount on running Bash instance (everruns#784) by
@chaliy
* chore: add cargo-vet exemptions for jni-sys 0.3.1, 0.4.1 and
jni-sys-macros 0.4.1 (everruns#783) by @chaliy
* fix: find with multiple paths no longer discards results on missing
path (everruns#781) by @achicu
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