test(core): DB-backed end-to-end test for the native add-on importer (#3425) #3477
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!3477
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/native-addon-importer-db-test"
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
DB-backed end-to-end coverage of
ServiceRadar.Plugins.NativeAddonImporter.import_entry/4(build-signing §4) — theAddonPackagepersist path the merged pure-unit suite (#3476) could only inject around.The test verifies the per-arch ed25519 signatures, mirrors (faked), and creates a real staged
AddonPackage, asserting:artifactsmap keyed"os/arch" => {object_key, sha256, signature}(exactly whatAgentConfigGenerator.select_addon_artifact/3reads);kind/delivery/supervisionatoms +binary+source_release_tag;Ash.get);:by_addon_id→[]).@moduletag :integration.Verified
Ran against an srql-fixtures scratch CNPG database (per the
srql-fixtures-db-testsskill): created a scratch DB, applied the branch migrations, thenmix test --include integration→ 2 tests, 0 failures. Scratch DB dropped afterward; no secrets printed.🤖 Generated with Claude Code
lgtm