-
Notifications
You must be signed in to change notification settings - Fork 5k
serve: trace every server-level callback from the JS wrapper instead of rooting them as Strong #34346
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
Jarred-Sumner
merged 21 commits into
main
from
claude/farm/ebef6d1a/server-strong-callbacks-to-cached-values
Jul 18, 2026
Merged
serve: trace every server-level callback from the JS wrapper instead of rooting them as Strong #34346
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
fb45958
server: store node:http onClientError/onConnection as cached JS value…
robobun 8d939a4
[autofix.ci] apply automated fixes
autofix-ci[bot] 352a558
server: collapse cached-value dispatch into one macro; run GC guard i…
robobun f4f9a0b
serve: root every server-level callback via the wrapper's WriteBarrie…
robobun 4975d1b
serve(ws): clear m_server in on_close; extend deinit drain to 30 passes
robobun cdc76c9
test: skip exit-time LeakSan for websocket-syscall-fault.test.ts
robobun 5eb38aa
serve(ws): copy on_error to the stack before dispatching into user JS
robobun 36c4321
test(bun-server): scope server so the on_error regression is load-bea…
robobun b9d3676
test: replace whole-file leaksan skip with a targeted on_web_socket_u…
robobun bbde0db
serve(ws): zero the Request JS cell's stack slot after on_request ret…
robobun 5c69128
serve(ws): document the ConservativeScan proof for the args[0] scrub;…
robobun 529e3c4
Merge branch 'main' into claude/farm/ebef6d1a/server-strong-callbacks…
Jarred-Sumner 55790e0
test(bake/deinitialization): yield via setImmediate in drainServerWra…
robobun f94e6f3
vm: bring the VM refcount to 0 in destructOnExit so ~VM runs from pro…
robobun d2d09c5
server: protect_handler_shadows in on_reload too; fix misplaced wrap_…
robobun c1abfeb
test(bun-server): surface stderr/exitCode before parsed-field asserti…
robobun 633ecab
server: js_value_for_dispatch returns the wrapper while Weak too
robobun 6373191
server: refuse server.upgrade() once handler.server is cleared; fix s…
robobun 2690175
serve(ws): fix stale ServerWebSocket::init comment (both callers go t…
robobun 67e51d0
serve: fix last stale is-Strong comment in on_saved_request
robobun 34df4a4
ci: retrigger
robobun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.