-
Notifications
You must be signed in to change notification settings - Fork 18
Node v22.15.1 nsolid v5.7.2 release #310
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
santigimeno
merged 17 commits into
node-v22.x-nsolid-v5.x
from
node-v22.15.1-nsolid-v5.7.2-release
May 15, 2025
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
3f5899f
Working on v22.15.1
UlisesGascon 9f403e9
fs: add missing call to uv_fs_req_cleanup
Justin-Nietzel edaf54d
fs: added test for missing call to uv_fs_req_cleanup
Justin-Nietzel f4494d3
src: fix error handling on async crypto operations
RafaelGSS 7039b12
2025-05-14, Version 22.15.1 'Jod' (LTS)
RafaelGSS 67d2107
Revert "agents: support `contCpuProfile` command in the GRPC interface"
santigimeno 4a015a9
Revert "agents: fix cont profiling timestamp calculation"
santigimeno 9a01f03
Revert "test: add gRPC continuous profiling tests"
santigimeno 9d2cfe3
Revert "agents: add continuous profiling to gRPC agent"
santigimeno 9bb461b
Revert "agents: grow AssetStream to support cont profiling"
santigimeno a82c77d
Revert "agents: add ExportContinuousProfile rpc"
santigimeno e5287ac
Revert "test: add continuous profiling configuration tests"
santigimeno f6a70b0
Revert "src: integrate ContinuousProfiler with EnvList"
santigimeno 761b4a4
Revert "lib: add continuous CPU profiling configuration"
santigimeno c798195
Revert "src: implement ContinuousProfiler class"
santigimeno 255e93f
Merge tag 'v22.15.1' into node-v22.x-nsolid-v5.x
santigimeno 2065869
2025-05-15, Version 22.15.1-nsolid-v5.7.2 'Jod'
santigimeno 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
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
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Timestamp captured from a non-loop thread can be stale
uv_now(&loop_)is evaluated while pushing theProfileStorfrom any thread (JS or agent).uv_now()is only updated byuv_run()or an explicituv_update_time(&loop_).If this call happens outside the agent’s event-loop thread the stored timestamp might lag behind, producing negative or wildly large durations later.
Suggestion:
and immediately before assigning
prof_stor.streamindo_start_prof_end():This guarantees the call runs on the agent’s loop thread after a recent
uv_update_time().🏁 Script executed:
Length of output: 5898
🏁 Script executed:
Length of output: 259
🏁 Script executed:
Length of output: 358
Ensure timestamps are captured on the agent’s loop thread to avoid stale values
Capturing
uv_now(&loop_)indo_start_prof_initmay run off the loop thread—uv_now()is only refreshed byuv_run()or an explicituv_update_time(). This can lead to negative or unexpectedly large profile durations. Defer timestamping to the loop thread indo_start_prof_end().Locations to update:
do_start_prof_initinitializer (agents/grpc/src/grpc_agent.cc:1932–1934)do_start_prof_end(agents/grpc/src/grpc_agent.cc:1402)Suggested diff:
This change ensures
uv_now()is invoked immediately after anuv_update_time()in the loop, preventing stale timestamps.🤖 Prompt for AI Agents