Added Bazel aliases, Alias and Bazel documentation #2306
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!2306
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/2306/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: #1745
Original author: @marvin-hansen
Original URL: https://github.com/carverauto/serviceradar/pull/1745
Original created: 2025-10-12T06:26:44Z
Original updated: 2025-10-12T16:27:42Z
Original head: main
Original base: main
Original merged: 2025-10-12T16:27:42Z by @mfreeman451
User description
This PR add:
Recommend squash merge as somehow this PR piggy backs all commits from the last PR
and these can all be squashed into one.
PR Type
Enhancement, Documentation
Description
Added Bazel aliases for all packages in
alias/folderUpdated all
cmd/targets to use aliases instead of direct pathsAdded comprehensive Bazel documentation with usage examples
Updated release documentation with detailed publishing workflow
Diagram Walkthrough
File Walkthrough
3 files
Added comprehensive Bazel usage documentationExpanded release documentation with detailed workflowAdded alias system documentation and rationale13 files
Created Bazel aliases for all packagesUpdated dependencies to use aliasesUpdated dependencies to use aliasesUpdated dependencies to use aliasesUpdated dependencies to use aliasesUpdated dependencies to use aliasesUpdated dependencies to use aliasesUpdated dependencies to use aliasesUpdated dependencies to use aliasesUpdated dependencies to use aliasesUpdated dependencies to use aliasesUpdated dependencies to use aliasesUpdated dependencies to use aliases1 files
Fixed source file name reference2 files
Imported GitHub PR comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/1745#issuecomment-3393982121
Original created: 2025-10-12T06:27:20Z
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/1745#issuecomment-3393982530
Original created: 2025-10-12T06:28:12Z
PR Code Suggestions ✨
Explore these optional code suggestions:
Adopt namespaced aliases for scalability
The current implementation of Bazel aliases uses a single flat namespace, which
contradicts the new documentation's recommendation for a more scalable,
namespaced structure using subdirectories. It is suggested to refactor the
aliases into subdirectories like
alias/core/andalias/checkers/to preventfuture name collisions and improve organization.
Examples:
alias/BUILD.bazel [1-226]
alias/README.md [23-43]
alias/
service/
client/
test_tools/
Solution Walkthrough:
Before:
After:
Suggestion importance[1-10]: 9
__
Why: The suggestion correctly identifies a major inconsistency where the implemented flat alias structure in
alias/BUILD.bazelcontradicts the namespaced approach recommended in the newalias/README.md, which impacts the scalability and maintainability of the new dependency system.Imported GitHub PR comment.
Original author: @marvin-hansen
Original URL: https://github.com/carverauto/serviceradar/pull/1745#issuecomment-3394009859
Original created: 2025-10-12T07:13:05Z
CI tests pass, but there is still the same permission denied error as last time. In other words, the PR can be merged.
Probably a good idea to ask in the BB slack here this error is coming from as its not so clear to me what is causing it.
[1A^[[K(01:49:50) ^[[31m^[[1mERROR: ^[[0mThe Build Event Protocol upload failed: Not retrying publishBuildEvents, no more attempts left: status='Status{code=PERMISSION_DENIED, description=Anonymous access disabled, permission denied., cause=null}' PERMISSION_DENIED: PERMISSION_DENIED: Anonymous access disabled, permission denied. PERMISSION_DENIED: PERMISSION_DENIED: Anonymous access disabled, permission denied.