Repository navigation
Refresh the local node's inventory on the refresh tick - #34
Merged
Merged
Conversation
Browse events re-enrich every peer but deliberately never self, and the local entry was enriched only at startup, on a service (un)registration and after an identity or address change. Its GPU memory, CPU and memory figures in the discovery snapshot, the one the scheduler reads, stayed at their startup values: load a model and every peer's view of this node moved, but this node's own did not. The live telemetry loop refreshes only utilization. Re-enrich self over loopback on the existing 15 s peer-refresh tick, and emit only when the entry changed beyond its LastSeen stamp, so an idle node adds no notification per tick. Fixes NVIDIA#4; adapted from NVIDIA#5, which emitted on every tick. Co-authored-by: canja006 <82221082+canja006@users.noreply.github.com> Signed-off-by: Jared Ping <13906915+JaredP94@users.noreply.github.com>
JaredP94
force-pushed
the
fix/self-inventory-refresh
branch
from
November 2, 2026 18:54
74dcf9a to
46ac6e0
Compare
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
Browse events re-enrich every peer but deliberately never self, and self was enriched only at startup, on service (un)registration and after identity/address changes. The local node's VRAM, CPU and memory in the discovery snapshot — the one the scheduler reads — stayed at startup values while every peer's view of it moved. The fork's live telemetry loop refreshes only utilization.
Self is now re-enriched over loopback on the existing 15 s peer-refresh tick, and emits only when the entry changed beyond
LastSeen, so an idle node adds no notifications.Fixes NVIDIA#4; adapted from NVIDIA#5, which emitted every tick.
Validation
go test ./...innvpair-node-scanner, with a new test: unchanged → no emit, VRAM change → refreshed and one emit.Risk
Low. scanner 1.2.1.
Checklist
git commit -s), certifying the Developer Certificate of Origin.services/versions.json, and described user-visible changes above so they reach the release notes.Part of the upstream issue/PR review. Each branch is independent off
main; they all bumpservices/versions.json, so the second one merged will need a trivial conflict resolution there.