Skip to content

OLS-3515: Use Konflux :main tag for Otel and adapter, and fix OTEL config - #414

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
blublinsky:fixed-quickstart
Aug 4, 2026
Merged

OLS-3515: Use Konflux :main tag for Otel and adapter, and fix OTEL config#414
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
blublinsky:fixed-quickstart

Conversation

@blublinsky

Copy link
Copy Markdown
Contributor
  • Switch deploy-otel.sh and deploy-alerts-adapter.sh from runtime Quay API resolution to Konflux :main defaults, matching the other quickstart images.
  • Fix OTEL routing condition in deploy-otel.sh: attributes["service.name"] == "lightspeed-agentic" → resource.attributes["service.name"] == "lightspeed-agentic-sandbox" (service.name is a resource attribute, not a log record attribute).
  • Update install.sh help text and README.md accordingly.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Aug 4, 2026
@openshift-ci-robot

openshift-ci-robot commented Aug 4, 2026

Copy link
Copy Markdown

@blublinsky: This pull request references OLS-3515 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set.

Details

In response to this:

  • Switch deploy-otel.sh and deploy-alerts-adapter.sh from runtime Quay API resolution to Konflux :main defaults, matching the other quickstart images.
  • Fix OTEL routing condition in deploy-otel.sh: attributes["service.name"] == "lightspeed-agentic" → resource.attributes["service.name"] == "lightspeed-agentic-sandbox" (service.name is a resource attribute, not a log record attribute).
  • Update install.sh help text and README.md accordingly.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci
openshift-ci Bot requested review from joshuawilson and onmete August 4, 2026 11:50
@coderabbitai

coderabbitai Bot commented Aug 4, 2026

Copy link
Copy Markdown
📝 Walkthrough

Summary by CodeRabbit

  • Documentation

    • Updated quickstart guidance to reflect Konflux :main image defaults for the alerts adapter and OTEL collector.
    • Clarified image resolution and deployment options.
  • Bug Fixes

    • Improved OTEL log routing for Postgres deployments by targeting the correct service name.
  • Chores

    • Simplified deployment image selection while retaining support for custom image overrides.
    • Updated quickstart prerequisites to require OpenSSL and no longer require cURL.

Walkthrough

Quickstart deployment removes dynamic Quay image resolution. Alerts-adapter and OTEL images now default to fixed Konflux :main tags. Postgres log routing updates for OTEL. Prerequisites require openssl unconditionally.

Changes

Quickstart image and routing updates

Layer / File(s) Summary
Alerts-adapter and OTEL Konflux defaults
hack/quickstart/README.md, hack/quickstart/deploy-alerts-adapter.sh, hack/quickstart/deploy-otel.sh, hack/quickstart/install.sh
Alerts-adapter and OTEL scripts remove automatic Quay tag resolution via curl and Python. Images now default to fixed Konflux :main tags. Usage text and help documentation describe the new defaults. Prerequisite checks remove the curl requirement and make openssl unconditional. Image-resolution documentation identifies all quickstart images as Konflux-built with floating :main tags.
OTEL Postgres log routing
hack/quickstart/deploy-otel.sh
Postgres log routing matches the resource attribute service.name == "lightspeed-agentic-sandbox" instead of the previous attribute value for lightspeed-agentic.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title directly reflects the main changes: switching to Konflux :main tags for OTEL and alerts adapter, and fixing OTEL config.
Description check ✅ Passed The description details all major changes: Konflux :main defaults, OTEL routing condition fix, and documentation updates.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@blublinsky

Copy link
Copy Markdown
Contributor Author

/approve

@openshift-ci

openshift-ci Bot commented Aug 4, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: blublinsky

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 4, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@hack/quickstart/README.md`:
- Around line 93-98: Remove the obsolete python3 and curl prerequisite from the
Quickstart prerequisites near the image-resolution documentation, since images
now use Konflux’s floating :main tag and no longer require automatic Quay
resolution. Only retain the requirement if an existing script still performs
that lookup, and document that script’s continued use.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: f49716dd-893f-4272-a7bc-70c706b5a7c4

📥 Commits

Reviewing files that changed from the base of the PR and between 5c54dce and 01dce3c.

📒 Files selected for processing (4)
  • hack/quickstart/README.md
  • hack/quickstart/deploy-alerts-adapter.sh
  • hack/quickstart/deploy-otel.sh
  • hack/quickstart/install.sh
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • openshift/lightspeed-agentic-sandbox (manual)

Comment thread hack/quickstart/README.md

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@hack/quickstart/install.sh`:
- Around line 79-80: Make the openssl prerequisite check in the install script
conditional on the --postgres option, while keeping the python3 check
unconditional. Reuse the script’s existing argument-parsing state or option
variable to guard the command -v openssl validation, ensuring non-Postgres
quickstarts do not require openssl.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 5a817733-1cf9-4b48-aa82-35d0b973f0db

📥 Commits

Reviewing files that changed from the base of the PR and between 01dce3c and b13f22e.

📒 Files selected for processing (4)
  • hack/quickstart/README.md
  • hack/quickstart/deploy-alerts-adapter.sh
  • hack/quickstart/deploy-otel.sh
  • hack/quickstart/install.sh
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • openshift/lightspeed-agentic-sandbox (manual)
🚧 Files skipped from review as they are similar to previous changes (2)
  • hack/quickstart/README.md
  • hack/quickstart/deploy-otel.sh

Comment on lines +79 to +80
command -v python3 >/dev/null 2>&1 || fail "python3 not found. Required by deploy scripts."
command -v openssl >/dev/null 2>&1 || fail "openssl not found. Required by deploy scripts."

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

rg -n -P '(^|[^[:alnum:]_])(curl|openssl)([^[:alnum:]_]|$)|--postgres' \
  hack/quickstart --glob '*.sh'

Repository: openshift/lightspeed-agentic-operator

Length of output: 1295


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

printf '--- install.sh outline ---\n'
ast-grep outline hack/quickstart/install.sh --view expanded || true

printf '\n--- install.sh relevant lines ---\n'
sed -n '1,140p' hack/quickstart/install.sh

printf '\n--- deploy scripts ---\n'
for f in hack/quickstart/deploy-otel.sh hack/quickstart/deploy-postgres.sh; do
  printf '\n### %s\n' "$f"
  sed -n '1,120p' "$f"
done

printf '\n--- curl/openssl occurrences under hack/quickstart ---\n'
rg -n --word-regexp 'curl|openssl' hack/quickstart --glob '*.sh' || true

Repository: openshift/lightspeed-agentic-operator

Length of output: 266


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

printf '%s\n' '--- install.sh outline ---'
ast-grep outline hack/quickstart/install.sh --view expanded || true

printf '%s\n' ''
printf '%s\n' '--- install.sh relevant lines ---'
sed -n '1,140p' hack/quickstart/install.sh

printf '%s\n' ''
printf '%s\n' '--- deploy scripts ---'
for f in hack/quickstart/deploy-otel.sh hack/quickstart/deploy-postgres.sh; do
  printf '%s\n' ""
  printf '%s\n' "### $f"
  sed -n '1,120p' "$f"
done

printf '%s\n' ''
printf '%s\n' '--- curl/openssl occurrences under hack/quickstart ---'
rg -n --word-regexp 'curl|openssl' hack/quickstart --glob '*.sh' || true

Repository: openshift/lightspeed-agentic-operator

Length of output: 13197


Make the Top-level openssl prerequisite conditional.

openssl is required only when --postgres is passed: hack/quickstart/deploy-otel.sh:54 checks it before Postgres deployment, and hack/quickstart/deploy-postgres.sh:32 uses openssl rand -base64 16. Keep this check conditional in hack/quickstart/install.sh:80, or document openssl as a global quickstart prerequisite.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@hack/quickstart/install.sh` around lines 79 - 80, Make the openssl
prerequisite check in the install script conditional on the --postgres option,
while keeping the python3 check unconditional. Reuse the script’s existing
argument-parsing state or option variable to guard the command -v openssl
validation, ensuring non-Postgres quickstarts do not require openssl.

@openshift-ci

openshift-ci Bot commented Aug 4, 2026

Copy link
Copy Markdown

@blublinsky: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@vimalk78

vimalk78 commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Aug 4, 2026
@openshift-merge-bot
openshift-merge-bot Bot merged commit 4ad343d into openshift:main Aug 4, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants