2999 chore fix bazel container builds #3019
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!3019
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/3019/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: #3000
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/pull/3000
Original created: 2026-03-07T08:29:03Z
Original updated: 2026-03-07T17:01:18Z
Original head: carverauto/serviceradar:2999-chore-fix-bazel-container-builds
Original base: staging
Original merged: 2026-03-07T17:01:17Z by @mfreeman451
IMPORTANT: Please sign the Developer Certificate of Origin
Thank you for your contribution to ServiceRadar. Please note, when contributing, the developer must include
a DCO sign-off statement indicating the DCO acceptance in one commit message. Here
is an example DCO Signed-off-by line in a commit message:
Describe your changes
Issue ticket number and link
Code checklist before requesting a review
Imported GitHub PR comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/3000#issuecomment-4015958994
Original created: 2026-03-07T08:29:55Z
Review Summary by Qodo
Refactor Bazel-native container builds with helper macros and PostgreSQL 18 upgrade
✨ Enhancement📝 DocumentationWalkthroughs
Description
Diagram
File Changes
1. build/buildbuddy/release_pipeline.sh
✨ Enhancement+14/-42. docker/images/cnpg_image.bzl
✨ Enhancement+301/-03. docker/images/service_images.bzl
✨ Enhancement+469/-0View more (30)
4. docker/images/release_images.bzl
✨ Enhancement+431/-05. docker/images/apk.bzl
✨ Enhancement+61/-26. MODULE.bazel
Dependencies+81/-137. docker/Dockerfile.rbe
⚙️ Configuration changes+5/-58. docker/Dockerfile.rbe-ora9
⚙️ Configuration changes+5/-59. openspec/changes/refactor-bazel-native-container-builds/design.md
📝 Documentation+95/-010. openspec/changes/refactor-bazel-native-container-builds/specs/container-image-builds/spec.md
📝 Documentation+68/-011. openspec/changes/refactor-bazel-native-container-builds/tasks.md
📝 Documentation+35/-012. openspec/changes/refactor-bazel-native-container-builds/proposal.md
📝 Documentation+27/-013. .github/workflows/release.yml
✨ Enhancement+11/-214. .github/workflows/docker-build.yml
✨ Enhancement+11/-415. docs/GHCR_PUBLISHING.md
📝 Documentation+3/-416. docs/RELEASE_PUBLISHING.md
📝 Documentation+2/-317. RELEASE.md
📝 Documentation+2/-318. .github/workflows/clang-tidy.yml
✨ Enhancement+9/-019. .github/workflows/main.yml
✨ Enhancement+9/-020. build/bazel/README.md
📝 Documentation+4/-821. .github/workflows/tests-rust.yml
✨ Enhancement+9/-022. docker-compose.yml
⚙️ Configuration changes+1/-123. Bazel.md
📝 Documentation+4/-224. tools/bazel/bazel
✨ Enhancement+17/-025. k8s/srql-fixtures/README.md
⚙️ Configuration changes+1/-126. k8s/demo/base/spire/README.md
📝 Documentation+1/-127. BUILD.md
📝 Documentation+2/-028. tools/bazel/README.md
📝 Documentation+11/-029. docs/docs/tools.md
📝 Documentation+1/-130. go/pkg/mapper/BUILD.bazel
✨ Enhancement+1/-031. docker/images/BUILD.bazel
✨ Enhancement+136/-118532. .buildbuddy/workflows.yaml
Additional files+0/-133. BUILD.bazel
Additional files+0/-6Imported GitHub PR comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/3000#issuecomment-4015959108
Original created: 2026-03-07T08:29:56Z
Code Review by Qodo
🐞 Bugs (2)📘 Rule violations (2)📎 Requirement gaps (0)1.
Markdown added outside docs/docs☑📘 Rule violation✓ Correctness2. Non-ASCII in srql README
📘 Rule violation✓ Correctness3. BuildBuddy release broken
🐞 Bug⛯ Reliability4. Docs use absolute paths
🐞 Bug✓ CorrectnessImported GitHub PR review comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/3000#discussion_r2899314318
Original created: 2026-03-07T08:34:41Z
Original path: tools/bazel/README.md
Original line: 11
1. Markdown added outside docs/docs
📘 Rule violation✓ CorrectnessAgent Prompt
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation toolsImported GitHub PR review comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/3000#discussion_r2899314319
Original created: 2026-03-07T08:34:41Z
Original path: k8s/srql-fixtures/README.md
Original line: 10
2. Non-ascii in srql readme
📘 Rule violation✓ CorrectnessAgent Prompt
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation toolsImported GitHub PR review comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/3000#discussion_r2899314320
Original created: 2026-03-07T08:34:41Z
Original path: build/buildbuddy/release_pipeline.sh
Original line: 37
3. Buildbuddy release broken
🐞 Bug⛯ Reliability//build/buildbuddy:release_pipeline now tries to execute ${REPO_ROOT}/buildbuddy_setup_docker_auth.sh and use ${REPO_ROOT}/tools/bazel/bazel, but when launched via bazel run those repo-root paths are not present in the target’s runfiles (and the target declares no data deps), so Docker auth bootstrapping and wrapper selection will be skipped/fail and publishing will break in BuildBuddy.Agent Prompt
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation toolsImported GitHub PR comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/3000#issuecomment-4016882009
Original created: 2026-03-07T16:40:46Z
CI Feedback 🧐
(Feedback updated until commit
github.com/carverauto/serviceradar@b55d4bba25)A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
Action: build-and-push
Failed stage: Build and push Docker image [❌]
Failed test name: ""
Failure summary:
The action failed during the Docker/buildx image build because a
dnf installstep could not resolvedependencies:
-
dnfreported:cannot install the best candidate for the jobbecauselibbpf-devel-2:1.5.0-2.0.2.el9.x86_64(from repool9_developer) requireslibbpf = 2:1.5.0-2.0.2.el9,but no repository provided that exact
libbpfpackage version (lines 936-940).- This caused the
build step (
RUN dnf ... && dnf install -y ... libbpf-devel ...) to exit with code1, andbuildxaborted with
failed to solve(lines 940-1015).A later warning during post-job cleanup shows a Git
submodule configuration issue:
-
fatal: No url found for submodule pathswift/FieldSurvey/LocalPackages/arrow-swift in .gitmodules(line 1063), but this appears after theprimary
buildxfailure and is not the root cause of the action failure.Relevant error logs: