feat(agent): report per-add-on version + arch in capability status (#3425) #3489
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!3489
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/addon-status-version-arch"
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
Task 7.1 (
add-agent-feature-sets) — the add-on capability status reported per-add-on state/health but dropped the version the manager already computes, and never reported arch. So theAddonStatusread model'sversion/archcolumns stayed null and the Edge Ops drift card couldn't surface them.SidecarStatus: addversion(7) +arch(8); regenerate the Go stub. Wire-compatible (new optional scalar fields) — existing Go/Rust/Elixir consumers are unaffected.addon.Status: addArch(set toruntime.GOARCHat manager init, since the agent runs the arch-matching artifact);ToProtoStatusesnow mapsVersion+Arch.AddonStatusIngestor: populate the (already-accepted, already-nullable)version/archcolumns from the sidecar payload.ToProtoStatusesasserts version/arch; ingestor test asserts they land in the read model.Why
Foundation for
migrate-netprobe-to-native-addon§2.3 (netprobe sidecar-path version/arch + capture status) and theadd-native-addon-edge-opsdrift card — the per-add-onAddonStatusshape the Edge Ops UI consumes.Validation
go test ./go/pkg/agent/addon/(ToProtoStatuses) — greengo vet— cleanbazel build //proto:proto //go/pkg/agent/addon:addon— green (proto regen + newruntimestdlib import need no BUILD changes)version/arch, the change passes two more map keys through the existing helper.🤖 Generated with Claude Code
lgtm