feat(server): add get-process-memory without changing sys-info - #23
Open
Ashura006 wants to merge 7 commits into
Open
feat(server): add get-process-memory without changing sys-info#23Ashura006 wants to merge 7 commits into
Ashura006 wants to merge 7 commits into
Conversation
Expose the Pumpkin process resident set size alongside the existing system-wide memory fields so plugins can report server RAM usage without reading host-wide used memory.
Ashura006
force-pushed
the
feat/sys-info-process-memory
branch
from
July 26, 2026 10:35
fc83aa3 to
7e3b4ff
Compare
Keep the existing sys-info record layout stable for already-built v0.1 plugins. Expose process RSS through a new server method instead, so old components do not fail type-checking at instantiate time.
Author
|
Updated after review feedback on the Pumpkin PR: instead of extending the |
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.
Description
Adds
get-process-memoryon theserverresource, returning the Pumpkin process RSS in bytes when the plugin hassys.infoorsys.info.ram.sys-infois intentionally left unchanged. Extending that record in v0.1 would break already-built plugins at component instantiate time, because WIT records are not currently extensible.Testing
WIT-only additive change (new method). Host implementation is in the companion Pumpkin PR.