feat(addons): native add-on manifest schema + validator + build-hygiene gates (#3425) #3463
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!3463
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/native-addon-build-signing"
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
The validation & build-hygiene gates slice of
add-native-addon-build-signing(#3425) — a single additive commit (37be0ebd1, +1796).go/tools/addon-manifest-validator/): a from-scratch draft-2020-12 subset interpreter (type/required/enum/pattern/min-max/uniqueItems/additionalProperties/nested), driven by the embedded canonical schema (addons/native-addon-manifest.schema.json). CLI globsaddons/*/addon.yamland fails closed.scripts/check-addon-*.sh): no-stdlib-plugin, dependency-isolation (go list -depsover the agent), and a binary-size check; aggregated asmake addon_build_gates.build/native_addons/assemble_addon_bundle.py(deterministic zip + sha256 + per-archmetadata.json).Verification
go build+go test ./go/tools/addon-manifest-validator/...pass (5 test funcs incl. 7 targeted-violation subtests);go vetclean.Scope / merge notes
add-native-addon-build-signingproposal (4/13 tasks): the validation/hygiene half. The publish/ingest half — Cosign signing, ed25519 upload-signature, discovery index, verify-before-release CI, and the Elixir control-plane importer — is not in this PR and remains to be built (it needs the Cosign + ed25519 CI secrets).build/native_addons/binary-size-baseline.jsonis committed.feat/native-addon-rust-sdk) contains this commit. Merge this PR first; #3460's diff will then reduce to just its Rust-SDK commits.🤖 Generated with Claude Code
lgtm