bazel updates / dockerfile cleanup for flowger #2289
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!2289
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/2289/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: #1718
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/pull/1718
Original created: 2025-10-06T02:13:08Z
Original updated: 2025-10-06T02:42:53Z
Original head: carverauto/serviceradar:chore/bazel_flowgger_build_fix
Original base: main
Original merged: 2025-10-06T02:42:50Z by @mfreeman451
PR Type
Enhancement
Description
Replace default features with explicit feature flags
Improve Docker build caching and dependency management
Add locked dependency resolution for reproducible builds
Diagram Walkthrough
File Walkthrough
BUILD.bazel
Replace default features with explicit flagscmd/flowgger/BUILD.bazel
Dockerfile
Improve Docker build caching and reproducibilitycmd/flowgger/Dockerfile
Imported GitHub PR comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/1718#issuecomment-3369701966
Original created: 2025-10-06T02:13:26Z
PR Compliance Guide 🔍
Below is a summary of compliance checks for this PR:
No security concerns identified
No security vulnerabilities detected by AI analysis. Human verification advised for critical code.🎫 No ticket provided
Codebase context is not defined
Follow the guide to enable codebase context checks.
No custom compliance provided
Follow the guide to enable custom compliance check.
Compliance status legend
🟢 - Fully Compliant🟡 - Partial Compliant
🔴 - Not Compliant
⚪ - Requires Further Human Verification
🏷️ - Compliance label
Imported GitHub PR comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/1718#issuecomment-3369703334
Original created: 2025-10-06T02:14:28Z
PR Code Suggestions ✨
Explore these optional code suggestions:
Unify build configuration to avoid duplication
The list of crate features is duplicated in both
BUILD.bazeland theDockerfile,creating a maintenance risk. To resolve this, consider using Bazel as the single
source of truth for building the Docker image.
Examples:
cmd/flowgger/BUILD.bazel [50-58]
cmd/flowgger/Dockerfile [36]
Solution Walkthrough:
Before:
After:
Suggestion importance[1-10]: 8
__
Why: The suggestion correctly identifies significant configuration duplication for crate features between
BUILD.bazeland theDockerfile, which introduces a maintenance risk for build consistency.