Skip to content

RHIDP-15899: rebrand lightspeed to intelligent-assistant - #3375

Merged
openshift-merge-bot[bot] merged 4 commits into
redhat-developer:mainfrom
Jdubrick:intelligent-assistant-rebrand
Aug 27, 2026
Merged

openshift-merge-bot[bot] merged 4 commits into
redhat-developer:mainfrom
Jdubrick:intelligent-assistant-rebrand

Conversation

@Jdubrick

Copy link
Copy Markdown
Member

Description

  • Renames Lightspeed to Intelligent Assistant in all references, including plugins, flavours, and examples.

Which issue(s) does this PR fix or relate to

https://redhat.atlassian.net/browse/RHIDP-15899

PR acceptance criteria

  • Tests
  • Documentation

How to test changes / Special notes to the reviewer

Building Container Images for Testing

Need to test container images from this PR?

For Maintainers: To trigger a test image build, review the code and comment /build-images.
This always builds the HEAD of the PR branch.

For Contributors: Ask a maintainer to run /build-images.

Images will be built and pushed to Quay with links posted in comments.

@Jdubrick
Jdubrick requested review from a team as code owners August 21, 2026 20:40
@rhdh-qodo-merge

Copy link
Copy Markdown

PR Summary by Qodo

Rebrand Lightspeed flavour to Intelligent Assistant

✨ Enhancement 📝 Documentation ⚙️ Configuration changes 🧪 Tests 🕐 40+ Minutes

Grey Divider

AI Description

• Rename the lightspeed flavour identifier to intelligent-assistant across operator assets.
• Enable Intelligent Assistant flavour by default and update plugin/image references.
• Replace Lightspeed docs/examples with Intelligent Assistant equivalents and update sync
 automation/tests.
Diagram

graph TD
  CR["Backstage CR"] --> OP["RHDH Operator"] --> DEP["Backstage Deployment"]
  OP --> FLV[("IA flavour config")]
  FLV --> DEP --> PLG["IA dynamic plugins"]
  FLV --> LS["Lightspeed Core sidecar"]
  DOC[/"Docs & examples"/] --> CR

  subgraph Legend
    direction LR
    _cm[("ConfigMap")]
    _cmp["Component"]
    _doc[/"Doc"/]
    _cm ~~~ _cmp ~~~ _doc
  end
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Support `lightspeed` as a deprecated alias
  • ➕ Avoids breaking existing Backstage CRs that still reference name: lightspeed
  • ➕ Enables a smoother migration path with warnings/metrics
  • ➖ Adds branching/compatibility logic in reconciliation and documentation
  • ➖ Extends the time both identifiers must be tested and supported
2. Keep a stub `docs/lightspeed.md` redirect page
  • ➕ Prevents broken links from bookmarks/search results and external references
  • ➕ Provides an explicit migration notice in the old location
  • ➖ Slight doc maintenance overhead until removal
  • ➖ May cause confusion if both pages appear in search results
3. Add a migration note/check in operator status/conditions
  • ➕ Surfaces actionable feedback in-cluster when a user sets an old flavour name
  • ➕ Reduces support burden by making the failure mode obvious
  • ➖ Requires additional operator logic and tests
  • ➖ Not strictly necessary if upstream consumers update quickly

Recommendation: Current approach (rename everywhere and update defaults) is coherent and keeps the operator tree consistent. The main potential improvement is backward compatibility: consider recognizing lightspeed as a deprecated alias (at least for one release) and/or leaving a stub docs/lightspeed.md redirect to reduce upgrade friction.

Files changed (24) +258 / -88

Tests (1) +15 / -19
rhdh-config_test.goUnskip and update integration test expectations for IA default flavour +15/-19

Unskip and update integration test expectations for IA default flavour

• Updates comments/strings from lightspeed to intelligent-assistant and changes the default initContainer expectation to reflect the flavour being enabled by default; also updates source annotation checks.

integration_tests/rhdh-config_test.go

Documentation (6) +171 / -12
backstage_types.goUpdate flavour API comments to Intelligent Assistant naming +2/-2

Update flavour API comments to Intelligent Assistant naming

• Replaces Lightspeed references in Flavour documentation comments and examples to use intelligent-assistant.

api/v1alpha5/backstage_types.go

configuration.mdRename Lightspeed flavour documentation references +3/-3

Rename Lightspeed flavour documentation references

• Renames the Lightspeed section to Intelligent Assistant, updates the doc link, and updates the sample Backstage CR to use 'name: intelligent-assistant'.

docs/configuration.md

intelligent-assistant.mdAdd Intelligent Assistant install/config documentation +157/-0

Add Intelligent Assistant install/config documentation

• Adds a new end-to-end guide covering enabling/disabling the flavour, manual plugin configuration, secret injection for lightspeed-core, and upstream sync workflow for Lightspeed Core configs.

docs/intelligent-assistant.md

intelligent-assistant-disabled.yamlUpdate disable example names and flavour identifier +2/-2

Update disable example names and flavour identifier

• Renames the example Backstage resource and changes the flavour name from lightspeed to intelligent-assistant for disabling the feature.

examples/intelligent-assistant-disabled.yaml

intelligent-assistant.yamlRename secret + enable IA flavour in example manifest +6/-4

Rename secret + enable IA flavour in example manifest

• Renames the Secret to intelligent-assistant-secrets, updates the Backstage resource name, explicitly enables the intelligent-assistant flavour, and wires the secret into the lightspeed-core container.

examples/intelligent-assistant.yaml

default-config.goUpdate flavour object naming comment example +1/-1

Update flavour object naming comment example

• Refreshes the inline documentation comment to use an intelligent-assistant-prefixed example for flavour-generated objects.

pkg/model/default-config.go

Other (17) +72 / -57
CODEOWNERSAssign IA flavour/docs ownership to rhdh-ai +4/-3

Assign IA flavour/docs ownership to rhdh-ai

• Updates CODEOWNERS entries from the old Lightspeed flavour/examples to the new intelligent-assistant paths, and adds ownership for the new Intelligent Assistant doc page.

.github/CODEOWNERS

sync-lightspeed-configs.yamlSync workflow targets intelligent-assistant flavour paths +5/-5

Sync workflow targets intelligent-assistant flavour paths

• Keeps the workflow but clarifies it syncs Lightspeed Core configs, and updates the diff checks and PR body to reference intelligent-assistant flavour files and examples.

.github/workflows/sync-lightspeed-configs.yaml

backstage-operator.clusterserviceversion.yamlRegenerate CSV metadata timestamp +1/-1

Regenerate CSV metadata timestamp

• Updates the 'createdAt' timestamp in the Backstage Operator CSV (generated metadata).

bundle/backstage.io/manifests/backstage-operator.clusterserviceversion.yaml

rhdh.redhat.com_backstages.yamlCRD bundle docs rebrand flavour example strings +2/-2

CRD bundle docs rebrand flavour example strings

• Updates embedded CRD descriptions/examples in the bundle to reference Intelligent Assistant and the 'intelligent-assistant' flavour name.

bundle/backstage.io/manifests/rhdh.redhat.com_backstages.yaml

backstage-operator.clusterserviceversion.yamlMount IA flavour config and rename configmap references +5/-5

Mount IA flavour config and rename configmap references

• Renames the mounted flavour path and ConfigMap volume names from lightspeed to intelligent-assistant in the RHDH operator CSV, and updates the generated timestamp.

bundle/rhdh/manifests/backstage-operator.clusterserviceversion.yaml

rhdh-flavour-intelligent-assistant-config_v1_configmap.yamlSwitch flavour ConfigMap to IA plugins and enable by default +7/-8

Switch flavour ConfigMap to IA plugins and enable by default

• Updates the flavour ConfigMap data to use Intelligent Assistant plugin packages, flips enabledByDefault to true, and renames the ConfigMap to 'rhdh-flavour-intelligent-assistant-config'.

bundle/rhdh/manifests/rhdh-flavour-intelligent-assistant-config_v1_configmap.yaml

rhdh.redhat.com_backstages.yamlCRD bundle rebrand to Intelligent Assistant +2/-2

CRD bundle rebrand to Intelligent Assistant

• Updates the embedded CRD schema descriptions/examples to reference Intelligent Assistant instead of Lightspeed.

bundle/rhdh/manifests/rhdh.redhat.com_backstages.yaml

rhdh.redhat.com_backstages.yamlCRD base rebrand flavour description and examples +2/-2

CRD base rebrand flavour description and examples

• Replaces Lightspeed mentions in the CRD base schema with Intelligent Assistant, including the example flavour name string.

config/crd/bases/rhdh.redhat.com_backstages.yaml

configmap-files.yamlAdd vendored Lightspeed Core + Llama Stack config for IA flavour +0/-0

Add vendored Lightspeed Core + Llama Stack config for IA flavour

• Introduces the intelligent-assistant flavour ConfigMaps that mount upstream Llama Stack config, Lightspeed Core stack config, and the RHDH prompt profile into the 'lightspeed-core' sidecar.

config/profile/rhdh/default-config/flavours/intelligent-assistant/configmap-files.yaml

deployment.yamlAdd Lightspeed Core sidecar deployment overlay for IA flavour +0/-0

Add Lightspeed Core sidecar deployment overlay for IA flavour

• Defines the init container and sidecar container (lightspeed-core) wiring, including RAG content initialization and required volumes for the Intelligent Assistant flavour.

config/profile/rhdh/default-config/flavours/intelligent-assistant/deployment.yaml

dynamic-plugins.yamlAdd IA dynamic plugin config pointing at new OCI packages +13/-0

Add IA dynamic plugin config pointing at new OCI packages

• Adds a dynamic plugins ConfigMap enabling the intelligent-assistant frontend and backend packages from quay.io.

config/profile/rhdh/default-config/flavours/intelligent-assistant/dynamic-plugins.yaml

metadata.yamlEnable IA flavour by default +3/-0

Enable IA flavour by default

• Adds metadata declaring the intelligent-assistant flavour enabled by default.

config/profile/rhdh/default-config/flavours/intelligent-assistant/metadata.yaml

kustomization.yamlGenerate IA flavour ConfigMap instead of lightspeed +6/-6

Generate IA flavour ConfigMap instead of lightspeed

• Updates the kustomize configMapGenerator entries to build the flavour config from the intelligent-assistant folder and renames the generator output accordingly.

config/profile/rhdh/kustomization.yaml

deployment-patch.yamlMount IA flavour config in deployment patch +4/-4

Mount IA flavour config in deployment patch

• Renames volume and mount references from flavour-lightspeed-config to flavour-intelligent-assistant-config in the deployment patch.

config/profile/rhdh/patches/deployment-patch.yaml

install.yamlRebrand CRD text in dist install manifests +2/-2

Rebrand CRD text in dist install manifests

• Updates distributed install YAML to reference Intelligent Assistant and the 'intelligent-assistant' flavour name in schema descriptions/examples.

dist/backstage.io/install.yaml

install.yamlUpdate dist install: IA flavour name, configmap name, mounts, plugins +13/-14

Update dist install: IA flavour name, configmap name, mounts, plugins

• Updates the dist manifest to use the intelligent-assistant flavour naming, mounts/ConfigMap names, and switches dynamic plugin packages + enabledByDefault metadata to the new IA defaults.

dist/rhdh/install.yaml

sync-lightspeed-configs.shSync script writes into intelligent-assistant flavour files +3/-3

Sync script writes into intelligent-assistant flavour files

• Clarifies the script syncs Lightspeed Core configs and updates output targets to the intelligent-assistant flavour configmap-files.yaml and example secret YAML.

hack/sync-lightspeed-configs.sh

@rhdh-qodo-merge

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (1) 📘 Rule violations (1) 🔗 Cross-repo conflicts (1) 📜 Skill insights (0)

Grey Divider


Action required

1. Legacy flavour name breaks 🐞 Bug ≡ Correctness
Description
Backstage CRs that still specify spec.flavours: - name: lightspeed will now fail reconciliation
because the operator errors on unknown flavour names and the lightspeed flavour is no longer
shipped in the default-config flavours directory. This is a breaking upgrade behavior and also
contradicts the docs claim that flavours are backward compatible.
Code

config/profile/rhdh/kustomization.yaml[R52-56]

+  - default-config/flavours/intelligent-assistant/metadata.yaml
+  - default-config/flavours/intelligent-assistant/configmap-files.yaml
+  - default-config/flavours/intelligent-assistant/deployment.yaml
+  - default-config/flavours/intelligent-assistant/dynamic-plugins.yaml
+  name: flavour-intelligent-assistant-config
Relevance

●●● Strong

Recent precedent accepted upgrade-path fixes when renaming shipped identifiers and subscriptions.

PR-#2036

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
The operator rejects unknown flavours, and this PR stops shipping the lightspeed flavour
(kustomize generation now only includes intelligent-assistant), so any existing CRs still
referencing lightspeed will hit the unknown-flavour error. The docs simultaneously claim backward
compatibility while also noting the identifier change is required, demonstrating the breaking
behavior.

pkg/model/flavour.go[49-56]
config/profile/rhdh/kustomization.yaml[49-56]
docs/intelligent-assistant.md[55-56]
docs/configuration.md[309-314]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

### Issue description
The PR removes the `lightspeed` flavour directory and updates config generation to only include `intelligent-assistant`. The operator currently treats unknown flavour names as a hard error, so existing Backstage CRs that reference `lightspeed` will fail after upgrade.

### Issue Context
- `GetEnabledFlavours()` returns an error if a requested flavour name is not found.
- This PR removes `lightspeed` from the shipped flavours and documents a required manual change, but `docs/configuration.md` still states flavours are backward compatible.

### Fix approach (choose one)
1) **Backward-compatible alias (recommended):** Treat `lightspeed` as an alias for `intelligent-assistant` during a deprecation window.
  - Map requested flavour names before the existence check (e.g., `lightspeed -> intelligent-assistant`).
  - Optionally emit a warning log/condition/event so users know to migrate.
  - Add a unit test ensuring `name: lightspeed` still enables the IA flavour.

2) **Hard break but consistent docs:** If breaking behavior is intended, update docs to remove/qualify the "Backward Compatible" claim and add an explicit upgrade/migration section.

### Fix Focus Areas
- pkg/model/flavour.go[49-59]
- pkg/model/flavour_test.go[29-90]
- docs/configuration.md[307-316]
- docs/intelligent-assistant.md[55-56]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


2. Inherit fails across registries 🔗 Cross-repo conflict ≡ Correctness
Description
The PR changes Intelligent Assistant flavour plugin packages to
oci://quay.io/rhdh/...:{{inherit}}, but install-dynamic-plugins (from rhdh-plugins) resolves
{{inherit}} by exact match on OCI image name + plugin path from included configs (typically
dynamic-plugins.default.yaml). RHDH docs/examples use oci://registry.access.redhat.com/rhdh/...
in dynamic-plugins.default.yaml-based setups, so the registry-host mismatch can prevent
inheritance resolution and break plugin installation in deployments that include defaults from the
catalog index image.
Code

config/profile/rhdh/default-config/flavours/intelligent-assistant/dynamic-plugins.yaml[R8-12]

+      # Intelligent Assistant Plugins
+      - package: oci://quay.io/rhdh/red-hat-developer-hub-backstage-plugin-intelligent-assistant:{{inherit}}
+        enabled: true
+
+      - package: oci://quay.io/rhdh/red-hat-developer-hub-backstage-plugin-intelligent-assistant-backend:{{inherit}}
Relevance

●●● Strong

Accepted OCI/plugin configuration correctness findings support fixing registry and inheritance key
mismatches.

PR-#2231
PR-#3215

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
PR changes IA plugins to quay.io with :{{inherit}}, while rhdh-plugins resolves {{inherit}}
only when a prior included plugin config exists for the *same image name*. RHDH docs/examples show
operator/default setups using dynamic-plugins.default.yaml and registry.access.redhat.com OCI
references, and rhdh-plugins explicitly documents and enforces the image-name+path key match for
inheritance.

config/profile/rhdh/default-config/flavours/intelligent-assistant/dynamic-plugins.yaml[8-13]
External repo: redhat-developer/rhdh, docs/index.md [69-107]
External repo: redhat-developer/rhdh, docs/dynamic-plugins/installing-plugins.md [173-207]
External repo: redhat-developer/rhdh-plugins, workspaces/install-dynamic-plugins/packages/install-dynamic-plugins/src/oci-key.ts [71-99]
External repo: redhat-developer/rhdh-plugins, workspaces/install-dynamic-plugins/packages/install-dynamic-plugins/src/merger.ts [221-233]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

### Issue description
The Intelligent Assistant flavour sets plugin packages to `oci://quay.io/rhdh/...:{{inherit}}`. The `install-dynamic-plugins` merger in **rhdh-plugins** resolves `{{inherit}}` by matching an existing plugin configuration key derived from the OCI **image name + plugin path** found in included configs (usually `dynamic-plugins.default.yaml`). If the included defaults use `oci://registry.access.redhat.com/rhdh/...` (as shown in RHDH docs/examples), then the host mismatch (`quay.io` vs `registry.access.redhat.com`) prevents the key match and `{{inherit}}` resolution can error out.

### Issue Context
- This impacts operator deployments because the operator’s generated dynamic plugins config typically includes `dynamic-plugins.default.yaml` (from the catalog index image) and then overlays flavour configs that use `:{{inherit}}`.

### Fix Focus Areas
- config/profile/rhdh/default-config/flavours/intelligent-assistant/dynamic-plugins.yaml[8-13]

### Suggested fix
Choose one consistent strategy:
1) **Keep registry host consistent with defaults**: switch Intelligent Assistant package URLs back to `oci://registry.access.redhat.com/rhdh/...:{{inherit}}` (matching how defaults are commonly referenced), relying on the installer’s runtime fallback to quay when needed.

OR
2) **Make defaults match quay**: ensure the included `dynamic-plugins.default.yaml` (produced by the catalog index image used by RHDH) also references the same `quay.io/rhdh/...` image names for these plugins.

OR
3) **Avoid inherit**: specify explicit version+path (or explicit `!<plugin-path>` and non-inherit version) for these Intelligent Assistant plugins so inheritance matching is not required.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools



Remediation recommended

3. Identifier change lacks version 📘 Rule violation § Compliance
Description
The documentation states the flavour identifier changed from lightspeed to intelligent-assistant
without an explicit version boundary in that sentence. This can confuse users upgrading across
versions because it’s unclear when the change took effect.
Code

docs/intelligent-assistant.md[55]

+> **Note:** The flavour identifier changed from `lightspeed` to `intelligent-assistant`. Existing Backstage CRs that list `name: lightspeed` must be updated.
Relevance

●●● Strong

Recent documentation precedent accepted adding explicit version boundaries for behavior changes.

PR-#3215

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
PR Compliance ID 13 requires behavior changes across versions to include an explicit version
boundary. The added note about the identifier change does not mention a version number in that
sentence.

Rule 13: Document version boundaries for behavior changes
docs/intelligent-assistant.md[55-55]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The doc sentence describing the flavour identifier change does not include a concrete version boundary (e.g., “Since v2.1”).

## Issue Context
Compliance requires that behavior changes across versions be tied to a specific version number in the sentence describing the change.

## Fix Focus Areas
- docs/intelligent-assistant.md[55-55]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

Context sources
⚠️ Tickets: not configured — ticket URL found in PR but could not be fetched — check ticket provider credentials
✅ Compliance rules (platform): 18 rules
✅ Cross-repo context — repo relationships
  Explored: repo: redhat-developer/rhdh (sha: fadb2c2f)
  Explored: repo: redhat-developer/rhdh-plugins (sha: a0a6177e)
ⓘ  2 issues published inline · 3 in summary

Grey Divider

Tip of the day
💡 Did you know, you can tweak Display preferences with a live preview to see your comment before it ships

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

Comment thread config/profile/rhdh/kustomization.yaml Resolved
@rhdh-qodo-merge rhdh-qodo-merge Bot added documentation Improvements or additions to documentation enhancement New feature or request Tests labels Aug 21, 2026
@rm3l

rm3l commented Aug 24, 2026

Copy link
Copy Markdown
Member

/build-images

@github-actions

Copy link
Copy Markdown
Contributor

❌ Image build failed

See workflow run for details: https://github.com/redhat-developer/rhdh-operator/actions/runs/32705758612

Triggered by @rm3l

Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
@Jdubrick
Jdubrick force-pushed the intelligent-assistant-rebrand branch from 6160799 to 275909d Compare August 25, 2026 14:14
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Aug 25, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.31%. Comparing base (af8cd53) to head (275909d).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3375   +/-   ##
=======================================
  Coverage   65.31%   65.31%           
=======================================
  Files          38       38           
  Lines        2465     2465           
=======================================
  Hits         1610     1610           
  Misses        705      705           
  Partials      150      150           
Flag Coverage Δ
nightly ?
unittests 65.31% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
pkg/model/default-config.go 86.48% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Jdubrick

Copy link
Copy Markdown
Member Author

/build-images

@github-actions

Copy link
Copy Markdown
Contributor

✅ PR images built successfully!

Images are available for testing:

  1. Operator: quay.io/rhdh-community/operator:2.0.0-pr-3375-275909d
  2. Bundle: quay.io/rhdh-community/operator-bundle:2.0.0-pr-3375-275909d
  3. Catalog: quay.io/rhdh-community/operator-catalog:2.0.0-pr-3375-275909d

Also available with PR number tag:

  • quay.io/rhdh-community/operator:2.0.0-pr-3375
  • quay.io/rhdh-community/operator-bundle:2.0.0-pr-3375
  • quay.io/rhdh-community/operator-catalog:2.0.0-pr-3375

Triggered by @Jdubrick

@openshift-ci openshift-ci Bot added the lgtm label Aug 27, 2026
@openshift-merge-bot
openshift-merge-bot Bot merged commit 65603ea into redhat-developer:main Aug 27, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request lgtm Tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants