fix(build): include netprobe add-on schema in Elixir releases (#3425) #3504
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!3504
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/netprobe-elixir-release-schema-input"
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
My netprobe AddonPackage seeder (#3502) reads
addons/netprobe/config.schema.jsonat compile time (@config_schema File.read!(...)module attribute, mirroring the Bumblebee seeder). Butaddons/netprobewasn't a declared input to the Elixirmix_releasetargets, so in the hermetic bazel sandbox the file is absent andserviceradar_corefails to compile:That broke
//elixir/{serviceradar_core_elx,serviceradar_agent_gateway,web-ng}:release_taron the staging bazel-test lane (seen in invocation8c6dcc71).Fix
Mirror
ef1f46dea(which did this forbumblebee-scan): addaddons/netprobetoextra_dirsand//addons/netprobe:netprobe_manifesttoextra_dir_srcsin the threemix_releaseBUILDs, so the schema is staged in the sandbox at the path the seeder reads. (addons/netprobe/BUILD.bazelalready exposes thenetprobe_manifestfilegroup.)Validation
bazel build --nobuild— all threerelease_tars analyze clean.bazel cquery 'deps(//elixir/serviceradar_core_elx:release_tar)'→ now includes//addons/netprobe:config.schema.json.Note
The same staging run had two unrelated failures not addressed here:
//go/pkg/agent:agent_test'sTestPluginManagerOpenCameraRelayStreamWithWazeroPlugin(camera-relay/wazero) and//go/cmd/wasm-plugins/axis/internal/axisref:axisref_test.🤖 Generated with Claude Code
lgtm