fix(build): point rdp-adapter at the resolved serde_json crate target (#3425) #3485
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!3485
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/rdp-adapter-serde-json-crate-ref"
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?
Summary
Hotfix for a broken
bazel buildon staging. The Rust add-on SDK commit (bb01022b9, #3425) bumped the mainCargo.lockserde_jsonto1.0.150, butrust/rdp-adapter/BUILD.bazelstill pinned the now-nonexistent versioned target@rust_crates//:serde_json-1.0.149, so analysis fails:(Invocation
093d87f5-d7da-4765-bca0-fef38601f89f.)Fix
Bump the two
serde_jsonpins inrdp-adapter/BUILD.bazelfrom1.0.149→1.0.150to match the lock.Why a versioned pin (not the versionless alias)
serde/zeroizebeside it use the versionless@rust_crates//:<crate>alias, butserde_jsonis pinned to a versioned target on purpose: the main crate repo carries two serde_json versions (0.8.6transitively + the1.xline), so crate_universe emits no unambiguous versionless@rust_crates//:serde_jsonalias. The pin just went stale on the patch bump.Validation
bazel query "deps(//rust/rdp-adapter:rdp_adapter_lib)"now resolves the dep to@rust_crates//:serde_json-1.0.150(target exists; no "no such target"). Bothrdp_adapter_libandrdp_adapter_ironrdp_libdeps lists are updated.Note
This pattern (versioned
@rust_crates//:<crate>-<x.y.z>pins) is repo-wide and will re-break on any future serde_json bump until rdp-adapter is migrated to a single serde_json version or the pin is regenerated by the crate tooling — out of scope for this hotfix.🤖 Generated with Claude Code
lgtm