Repository navigation
chore(desktop): bump version to 0.0.59 - #882
Merged
Merged
Conversation
Contributor
📝 WalkthroughWalkthroughThe desktop application version in package.json is incremented from 0.0.58 to 0.0.59. This is a straightforward version bump with no modifications to configuration, dependencies, or other metadata. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~1 minute Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
🧹 Preview Cleanup CompleteThe following preview resources have been cleaned up:
Thank you for your contribution! 🎉 |
3 tasks done
sasha1107
added a commit
to sasha1107/superset
that referenced
this pull request
Jul 20, 2026
node-pty 1.1.0's macOS pty_posix_spawn leaks one /dev/ptmx master fd on
every spawn: the low-fd workaround probes posix_openpt into low_fds, but
the cleanup loop ('for (; count > 0; count--)') never closes low_fds[0]
— and in practice the first probe always lands at fd >= 3, so nothing is
ever closed.
Each leaked master counts against the system-wide pty cap
(kern.tty.ptmx_max = 511 on macOS). A field machine showed a 28-day-old
pty-daemon holding 509 pty fds while tracking only 20 live sessions; at
the cap, PTY allocation fails machine-wide — Superset toasts 'Failed to
run preset', terminal spawns die with 'posix_spawnp failed. (errno=ok)',
and every other terminal app breaks too, until reboot (ParadevAI#5699).
Fixed upstream in microsoft/node-pty#882, which is unreleased (1.1.0 is
still latest stable; the fix only exists in 1.2.0 betas). Backport the
fd hygiene as a bun patch: close all low_fds probes and the parent's
slave copy after posix_spawn.
Regression tests count the process's open pty fds across spawn/exit
cycles (mirroring upstream's ParadevAI#882 test); they run with the node-based
integration suite. Verified end-to-end: an unpatched daemon leaks +1
ptmx per session (15/15 across clean-exit, background-child, and held-
tty scenarios); the patched build leaks 0 and the full pty-daemon
integration suite (52 tests) passes.
Fixes ParadevAI#5699
sasha1107
added a commit
to sasha1107/superset
that referenced
this pull request
Jul 21, 2026
node-pty 1.1.0's macOS pty_posix_spawn leaks one /dev/ptmx master fd on
every spawn: the low-fd workaround probes posix_openpt into low_fds, but
the cleanup loop ('for (; count > 0; count--)') never closes low_fds[0]
— and in practice the first probe always lands at fd >= 3, so nothing is
ever closed.
Each leaked master counts against the system-wide pty cap
(kern.tty.ptmx_max = 511 on macOS). A field machine showed a 28-day-old
pty-daemon holding 509 pty fds while tracking only 20 live sessions; at
the cap, PTY allocation fails machine-wide — Superset toasts 'Failed to
run preset', terminal spawns die with 'posix_spawnp failed. (errno=ok)',
and every other terminal app breaks too, until reboot (ParadevAI#5699).
Fixed upstream in microsoft/node-pty#882, which is unreleased (1.1.0 is
still latest stable; the fix only exists in 1.2.0 betas). Backport the
fd hygiene as a bun patch: close all low_fds probes and the parent's
slave copy after posix_spawn.
Regression tests count the process's open pty fds across spawn/exit
cycles (mirroring upstream's ParadevAI#882 test); they run with the node-based
integration suite. Verified end-to-end: an unpatched daemon leaks +1
ptmx per session (15/15 across clean-exit, background-child, and held-
tty scenarios); the patched build leaks 0 and the full pty-daemon
integration suite (52 tests) passes.
Fixes ParadevAI#5699
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps desktop app version to 0.0.59.
This PR was automatically created by the release script.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.