changing to latest tags #2665
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!2665
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/2665/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: #2285
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/pull/2285
Original created: 2026-01-14T06:23:49Z
Original updated: 2026-01-14T06:25:31Z
Original head: carverauto/serviceradar:chore/switch-to-latest-tags
Original base: staging
Original merged: 2026-01-14T06:24:57Z by @mfreeman451
User description
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
PR Type
Enhancement, Documentation
Description
Switch default image tags from pinned versions to
latestfor dev environmentsAdd validation script to enforce
latesttag defaults across configsUpdate documentation to clarify
latestdefaults and optional pinning workflowMark all implementation tasks as complete in openspec checklist
Diagram Walkthrough
File Walkthrough
2 files
New validation script for image tag defaultsAdd check-dev-image-tags validation target2 files
Update default APP_TAG to latestChange imageTag from pinned SHA to latest6 files
Document latest tag defaults and APP_TAG pinningAdd Helm latest tag default documentationSimplify startup and update version referencesClarify default latest tag behaviorUpdate Helm dev deployment examplesMark all implementation tasks as completeImported GitHub PR comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/2285#issuecomment-3747988487
Original created: 2026-01-14T06:24:27Z
PR Compliance Guide 🔍
Below is a summary of compliance checks for this PR:
Mutable image tag risk
Description: Switching the demo-staging deployment to a mutable
latestimage tag combined withimagePullPolicy: Alwayscan enable supply-chain/rollback risk (e.g., a compromisedregistry account or overwritten
latestcan introduce unintended/unreviewed code into theenvironment on restart/redeploy).
values-demo-staging.yaml [7-8]
Referred Code
🎫 No ticket provided
Codebase context is not defined
Follow the guide to enable codebase context checks.
Generic: Comprehensive Audit Trails
Objective: To create a detailed and reliable record of critical system actions for security analysis
and compliance.
Status: Passed
Generic: Meaningful Naming and Self-Documenting Code
Objective: Ensure all identifiers clearly express their purpose and intent, making code
self-documenting
Status: Passed
Generic: Robust Error Handling and Edge Case Management
Objective: Ensure comprehensive error handling that provides meaningful context and graceful
degradation
Status: Passed
Generic: Secure Error Handling
Objective: To prevent the leakage of sensitive system information through error messages while
providing sufficient detail for internal debugging.
Status: Passed
Generic: Secure Logging Practices
Objective: To ensure logs are useful for debugging and auditing without exposing sensitive
information like PII, PHI, or cardholder data.
Status: Passed
Generic: Security-First Input Validation and Data Handling
Objective: Ensure all data inputs are validated, sanitized, and handled securely to prevent
vulnerabilities
Status: Passed
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/2285#issuecomment-3747989230
Original created: 2026-01-14T06:24:43Z
CI Feedback 🧐
A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
Action: build
Failed stage: Configure SRQL fixture database for tests [❌]
Failed test name: ""
Failure summary:
The action failed during environment/setup because a required secret for the test database TLS was
not provided.
- The job explicitly aborts with:
SRQL_TEST_DATABASE_CA_CERT secret must be configuredto verify SRQL fixture TLS.- The step then exits with code
1, causing the workflow to fail.Relevant error logs:
Imported GitHub PR comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/2285#issuecomment-3747992309
Original created: 2026-01-14T06:25:31Z
PR Code Suggestions ✨
Explore these optional code suggestions:
Defaulting to 'latest' tag risks inconsistencies
Instead of defaulting to the mutable 'latest' tag, use immutable, per-commit
tags (e.g.,
sha-) to ensure reproducible development environments. A helperscript could be provided for developers to easily update to the latest commit's
tag.
Examples:
.env.example [8-10]
helm/serviceradar/values-demo-staging.yaml [6-7]
Solution Walkthrough:
Before:
After:
Suggestion importance[1-10]: 8
__
Why: The suggestion addresses a fundamental design choice in the PR, highlighting the significant risk of non-reproducible builds by using the mutable
latesttag and proposing a robust alternative.Prevent false positives in script
To prevent false positives in the
check-dev-image-tags.shscript, add a check toensure the
matchedvariable is not empty before filtering its content.scripts/check-dev-image-tags.sh [18-20]
Suggestion importance[1-10]: 7
__
Why: The suggestion correctly identifies a subtle bug in the new validation script that could lead to false-positive failures, and the proposed fix is accurate.
invoke script with bash
In the
Makefile, invoke thecheck-dev-image-tags.shscript explicitly withbashfor better portability.
Makefile [118]
Suggestion importance[1-10]: 4
__
Why: This is a good practice that improves the robustness and portability of the
Makefiletarget by removing the dependency on the script's executable bit.broaden anchor regex match
In
check-dev-image-tags.sh, update thergregex to be more flexible regardingwhitespace and optional quotes to prevent validation failures from minor
formatting changes.
scripts/check-dev-image-tags.sh [6]
Suggestion importance[1-10]: 3
__
Why: The suggestion makes the regex in the validation script more robust against minor formatting changes, which is a minor improvement for maintainability.