Update/proton ocaml driver bump #2252
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!2252
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/2252/head"
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?
Imported from GitHub pull request.
Original GitHub pull request: #1672
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/pull/1672
Original created: 2025-09-29T16:16:29Z
Original updated: 2025-09-29T16:18:36Z
Original head: carverauto/serviceradar:update/proton_ocaml_driver_bump
Original base: main
Original merged: 2025-09-29T16:18:32Z by @mfreeman451
PR Type
Enhancement
Description
Bump proton OCaml driver from 1.0.16 to 1.0.17
Remove vendored proton dependency files
Switch from local path pins to opam registry
Simplify Docker build configurations
Diagram Walkthrough
File Walkthrough
MODULE.bazel
Update proton version in Bazel moduleMODULE.bazel
srql-translator.opam
Update proton version constraint in opam fileocaml/srql-translator.opam
opam
Remove vendored proton 1.0.16 opam packagethird_party/vendor/tools_opam/extensions/opam/overrides_repo/packages/proton/proton.1.0.16/opam
url
Remove vendored proton 1.0.16 URL filethird_party/vendor/tools_opam/extensions/opam/overrides_repo/packages/proton/proton.1.0.16/url
Dockerfile.srql-builder
Simplify proton installation in builder Dockerdocker/builders/Dockerfile.srql-builder
Dockerfile.rpm.srql
Remove vendored proton setup in RPM Dockerdocker/rpm/Dockerfile.rpm.srql
Dockerfile
Remove vendored proton setup in SRQL Dockerocaml/srql/Dockerfile
Imported GitHub PR comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/1672#issuecomment-3347913478
Original created: 2025-09-29T16:17:07Z
PR Reviewer Guide 🔍
Here are some key observations to aid the review process:
Version Consistency
Ensure all build and runtime environments consistently use proton 1.0.17 and that no remaining tooling still assumes 1.0.16 (including cached pins or transitive constraints).
Pin Strategy
Using opam pin with a plain version is unusual; consider opam install proton=1.0.17 to avoid creating a pin unless pinning is intentional.
Lower Bound Check
Verify proton >= 1.0.17 is sufficient and that no upper bound is needed to prevent future breaking changes from newer major/minor releases.
Imported GitHub PR comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/1672#issuecomment-3347921276
Original created: 2025-09-29T16:18:10Z
PR Code Suggestions ✨
Explore these optional code suggestions:
Install package directly instead of pinning
Replace
opam pin addwithopam installto ensure theprotonpackage isinstalled, not just pinned.
docker/builders/Dockerfile.srql-builder [28-29]
Suggestion importance[1-10]: 8
__
Why: The suggestion correctly identifies that
opam pin add <package> <version>only pins the package without installing it, which would likely cause a build failure, and proposes a correct fix.