[RHIDP-11653] Include Lightspeed By Default#202
Conversation
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
… scripts 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>
…ault Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Code Review by Qodo
Context used✅ Tickets:
RHIDP-11653 1. Sync push may fail
|
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Review Summary by Qodo(Agentic_describe updated until commit a304a06)Include Lightspeed by Default in RHDH Local with Compose Profile
WalkthroughsDescription• Integrates Lightspeed into default RHDH Local installation via compose profile • Moves Lightspeed configs from developer-lightspeed directory to root-level configs • Disables FAB plugin due to conflict with Lightspeed FAB, marks as deprecated • Splits Lightspeed documentation into user and maintainer guides • Updates CI tests to remove dedicated Lightspeed compose test • Adds nightly GitHub workflow for syncing upstream Lightspeed configs • Updates plugin catalog index image to 1.10 to include Lightspeed support Diagramflowchart LR
A["developer-lightspeed<br/>directory"] -->|consolidate| B["configs/extra-files<br/>root level"]
C["Lightspeed compose<br/>services"] -->|integrate| D["compose.yaml<br/>with profile"]
E["Separate docs"] -->|split| F["working-with-lightspeed.md<br/>maintaining-lightspeed.md"]
G["CI tests"] -->|remove| H["dedicated Lightspeed<br/>compose test"]
I["Nightly sync<br/>workflow"] -->|added| J["sync-lightspeed-configs.yaml"]
D -->|enable with| K["--profile lightspeed<br/>flag"]
File Changes2. configs/app-config/app-config.yaml
|
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
|
Comment about rag init is not the case, functioning as expected. |
|
IIRC UI team had an interest in the FAB pieces, previously we set it aside to merge the PR |
|
/cc @karthikjeeyar |
|
Even though it works, I have noticed this double slash in the embedding_model |
@karthikjeeyar That unfortunately has to be there, the way Llama Stack references the embedding model since its mounted locally and not remote needs that for the pathing :/ |
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
|
@karthikjeeyar I updated the config for notebooks. I think tests are failing because of changes to the default plugins (non lightspeed) @JslYoon can you confirm the config I added? |
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
| # Default plugin catalog index image | ||
| # Requires RHDH 1.9+ to be handled. | ||
| CATALOG_INDEX_IMAGE=quay.io/rhdh/plugin-catalog-index:1.9 | ||
| CATALOG_INDEX_IMAGE=quay.io/rhdh/plugin-catalog-index:1.10 |
There was a problem hiding this comment.
Since main should point to a stable GA release of RHDH, this PR should target the release-1.10 branch first (once it is created), and only be cherry-picked to main once 1.10 is out.
/hold
There was a problem hiding this comment.
Updated target to release-1.10
| ## Disabling Lightspeed | ||
|
|
||
| Developer Lightspeed is included by default. If you don't configure an LLM provider, Lightspeed will remain in an unconfigured/dormant state and not affect your RHDH experience. | ||
|
|
||
| To fully remove Lightspeed from your setup: | ||
|
|
||
| 1. **Remove the Lightspeed plugins** from `configs/dynamic-plugins/dynamic-plugins.yaml` (or your `dynamic-plugins.override.yaml` if using one). Delete or comment out the two Lightspeed plugin entries (the frontend and backend packages). | ||
|
|
||
| 2. **Remove the Lightspeed services** from `compose.yaml`. Delete or comment out the `rag-init` and `lightspeed-core` service blocks, and the `rag_embeddings` and `rag_vector_db` volume declarations. | ||
|
|
||
| 3. **Remove the Lightspeed configuration** from `configs/app-config/app-config.yaml`. Delete or comment out the `lightspeed:` section at the bottom of the file. |
There was a problem hiding this comment.
We strive to avoid making users modify version-controlled files. Otherwise they might run into conflicts when pulling the latest changes.
To make the opt-out experience seamless, I'd suggest taking a look at Compose profiles and/or an env-var-driven approach (or any other approach that doesn't require modifying any version-controlled files).
There was a problem hiding this comment.
I added a lightspeed profile and updated the documentation / compose files to reflect it in this commit: 448555f
| # - package: 'oci://quay.io/rhdh/red-hat-developer-hub-backstage-plugin-global-floating-action-button:{{inherit}}' | ||
| - package: ./dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-global-floating-action-button | ||
| disabled: false | ||
| disabled: true # disabled as conflicts with Lightspeed FAB |
There was a problem hiding this comment.
It conflicts with Lightspeed FAB, but is this re-enabled if users disable Lightspeed ?
There was a problem hiding this comment.
@karthikjeeyar is it still the case that this plugin (global FAB) is being deprecated? I recall a thread in the UI Slack channel about it. If so, is the plan to keep it for 1.10 and workaround this conflict with Lightspeed, or is it removeable?
There was a problem hiding this comment.
Yes, it is removable. We discussed this with PMs earlier that we should stop using FAB and eventually remove it in 2.1 or later. FAB in rhdh-local contains a few links but most of it is already available global header's application launcher, so it is safe to remove from 1.10.
There was a problem hiding this comment.
I removed the pluginConfig to shorten to file down, but left it present as disabled. It is enabled by default in https://github.com/redhat-developer/rhdh/blob/main/default.packages.yaml#L20 so if I don't intentionally disable it, it could be present.
Ref commit: 51f7f72
|
@rm3l marking this as a draft to make the changes you suggested as well as wait for the 1.10 release, since we need the catalog index updated to take advantage of the |
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>
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
|
|
Persistent review updated to latest commit a304a06 |




Description
compose.yaml/configs/developer-lightspeeddirectory{{inherit}}for lightspeed plugin1.10to include lightspeed. Also resolves CI errors for other default pluginsWhich issue(s) does this PR fix or relate to
https://redhat.atlassian.net/browse/RHIDP-11653
https://redhat.atlassian.net/browse/RHIDP-11654
PR acceptance criteria
How to test changes / Special notes to the reviewer