fix(core): bundle endpoint-inventory addon schema in priv so Elixir releases build (#3425) #3517
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!3517
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/endpoint-inventory-seeder-priv-schema"
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?
fix(core): bundle endpoint-inventory addon schema in priv so Elixir releases build (#3425)
ServiceRadar.Plugins.EndpointInventoryAddonPackageSeeder embedded its config schema
via a compile-time
@external_resourceFile.read!of a repo-root-relative path(
../../../../../addons/endpoint-inventory/config.schema.json). That path is outsideelixir/serviceradar_core, so the bazelmix_releasesandbox — which stages onlyserviceradar_core/**— cannot see it. This breaks the release build of every Elixirimage that compiles serviceradar_core: serviceradar-core-elx, serviceradar-web-ng, and
serviceradar-agent-gateway. CI invocation 43010645 fails on all three with
File.Error ... addons/endpoint-inventory/config.schema.json: no such file or directory.Fix: bundle the schema at
serviceradar_core/priv/endpoint_inventory/config.schema.json(staged into the release by the
**glob) and read it from there. The priv copy mirrorsthe canonical
addons/endpoint-inventory/config.schema.json; follow-up should copy it atbuild time to keep a single source of truth.
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
lgtm