feat(agent): surface netprobe as addon:netprobe in capability status (#3425) #3490
No reviewers
Labels
No labels
1week
2weeks
Failed compliance check
IP cameras
NATS
Possible security concern
Review effort 1/5
Review effort 2/5
Review effort 3/5
Review effort 4/5
Review effort 5/5
UI
aardvark
accessibility
amd64
api
arm64
auth
back-end
bgp
blog
bug
build
checkers
ci-cd
cleanup
cnpg
codex
core
dependencies
device-management
documentation
duplicate
dusk
ebpf
enhancement
eta 1d
eta 1hr
eta 3d
eta 3hr
feature
fieldsurvey
github_actions
go
good first issue
help wanted
invalid
javascript
k8s
log-collector
mapper
mtr
needs-triage
netflow
network-sweep
observability
oracle
otel
plug-in
proton
python
question
reddit
redhat
research
rperf
rperf-checker
rust
sdk
security
serviceradar-agent
serviceradar-agent-gateway
serviceradar-web
serviceradar-web-ng
siem
snmp
sysmon
topology
ubiquiti
wasm
wontfix
zen-engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
carverauto/serviceradar!3490
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/netprobe-addon-status"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
migrate-netprobe-to-native-addon§2.3 (partial). netprobe is supervised as asystemd-service, not via the go-plugin addon manager, so it reported under the bare"netprobe"sidecar name — which the coreAddonStatusIngestor(ingests onlyaddon:<id>entries) skips. Result: netprobe never appeared in theAddonStatusread model, so Edge Ops drift couldn't show it.buildAgentCapabilityGatewayStatusnow synthesizes anaddon:netprobecapability entry when netprobe is installed as a systemd add-on (installedSystemdAddonsnon-empty):netprobesidecar entry (elsestopped= installed-not-running),currentsymlink (versions/<version>),runtime.GOARCH(the agent runs the arch-matching artifact).agentaddon.ToProtoStatusesfor theaddon:prefix + version/arch mapping (built on #3489).state+last_error.Why partial / capture status
Explicit capture-active reporting (the "+ capture status" in §2.3) needs a netprobe IPC signal — none exists today (
Ping/PingAckonly;StartRemoteCaptureis a Phase-5 TODO). That's a focused follow-up (netprobe-side signal + proto + agent). This PR delivers the read-model integration + state/version/arch, which is what the Edge Ops drift card (Agent C) needs to render netprobe.Validation
go build ./go/pkg/agent/...+go vet— cleango test ./go/pkg/agent/— new tests (not-installed→nil; installed+running→active w/ version+arch+pid; installed+no-sidecar→stopped) + the existing capability test green.bazellib is pre-existing-broken onstaging—push_loop_state.gois missing from thego_librarysrcs (identical failure without this PR's changes). Fixed in a separatefix(ci)PR; this PR adds nogo_libraryfiles and no new deps.🤖 Generated with Claude Code
lgtm