Skip to content

LCORE-2547: rename llama_stack config key to ogx with deprecated alias - #2560

Open
asimurka wants to merge 1 commit into
lightspeed-core:mainfrom
asimurka:rename-llama-stack-config-key-to-ogx
Open

LCORE-2547: rename llama_stack config key to ogx with deprecated alias#2560
asimurka wants to merge 1 commit into
lightspeed-core:mainfrom
asimurka:rename-llama-stack-config-key-to-ogx

Conversation

@asimurka

Copy link
Copy Markdown
Contributor

Description

Rename the root Lightspeed Core Stack configuration YAML key from llama_stack: to ogx:.

  • Configuration.ogx replaces Configuration.llama_stack in the Pydantic model and runtime accessors.
  • Deprecated alias: configs using llama_stack: still load (ogx takes precedence; otherwise llama_stack is mapped to ogx with a deprecation warning).
  • Update examples, test configs, telemetry snapshot paths, and user config docs/schema to use ogx.
  • Nested fields (url, config, library_client_config_path, etc.) are unchanged.

Type of change

  • Refactor
  • New feature
  • Bug fix
  • CVE fix
  • Optimization
  • Documentation Update
  • Configuration Update
  • Bump-up service version
  • Bump-up dependent library [pyproject.toml + uv.lock]
  • Bump-up dependent library [requirements.*.txt for Konflux]
  • Bump-up library or tool used for development (does not change the final image)
  • CI configuration change
  • Konflux configuration change
  • Unit tests improvement
  • Integration tests improvement
  • End to end tests improvement
  • Benchmarks improvement

Tools used to create PR

Identify any AI code assistants used in this PR (for transparency and review context)

  • Assisted-by: Cursor
  • Generated by: N/A

Related Tickets & Documents

Checklist before requesting a review

  • I have performed a self-review of my code.
  • PR has passed all pre-merge test jobs.
  • If it is a core feature, I have added thorough tests.

Testing

  • Please provide detailed steps to perform tests related to this code change.
  • How were the fix/results from this change verified? Please provide relevant screenshots or results.
  1. Unit tests

    uv run pytest tests/unit/models/config/test_llama_stack_configuration.py
    uv run pytest tests/unit/test_configuration.py -k "native_override or llama_stack"
    uv run pytest tests/unit/telemetry/test_configuration_snapshot.py
    uv run make test-unit
  2. Integration tests

    uv run pytest tests/integration/test_configuration.py
    uv run pytest tests/integration/test_unified_synthesis.py
  3. Linting

    uv run make format
    uv run make black pylint pyright ruff docstyle

    Note: uv run make verify still fails on pre-existing mypy errors in unrelated files (test_otel_tracing.py, test_a2a.py, test_conversations*.py).

  4. Manual verification

    • Load a config with ogx: — service starts normally.
    • Load a config with deprecated llama_stack: only — loads with deprecation warning; ogx section is populated.
    • Load a config with both keys — ogx is used.

@coderabbitai

coderabbitai Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Too many files!

This PR contains 119 files, which is 19 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: ffeb2256-8f39-4bdc-b759-4997cbf077b9

📥 Commits

Reviewing files that changed from the base of the PR and between 4efd50d and 784c5f8.

⛔ Files ignored due to path filters (1)
  • docs/user_doc/config.svg is excluded by !**/*.svg
📒 Files selected for processing (119)
  • .github/workflows/e2e_tests.yaml
  • .github/workflows/e2e_tests_lightspeed_evaluation.yaml
  • .github/workflows/e2e_tests_providers.yaml
  • docs/basic_info/getting_started.md
  • docs/devel_doc/openapi.json
  • docs/user_doc/config.html
  • docs/user_doc/config.json
  • docs/user_doc/config.md
  • docs/user_doc/config.puml
  • examples/lightspeed-stack-a2a-state-pg.yaml
  • examples/lightspeed-stack-a2a-state-sqlite.yaml
  • examples/lightspeed-stack-api-key-auth.yaml
  • examples/lightspeed-stack-azure-entraid-lib.yaml
  • examples/lightspeed-stack-azure-entraid-service.yaml
  • examples/lightspeed-stack-byok-okp-rag.yaml
  • examples/lightspeed-stack-conversation-cache-pg.yaml
  • examples/lightspeed-stack-conversation-cache-sqlite.yaml
  • examples/lightspeed-stack-lls-external.yaml
  • examples/lightspeed-stack-lls-library.yaml
  • examples/lightspeed-stack-mcp-servers.yaml
  • examples/lightspeed-stack-quota-limiter-pg.yaml
  • examples/lightspeed-stack-quota-limiter-sqlite.yaml
  • examples/lightspeed-stack-rh-identity.yaml
  • examples/lightspeed-stack-rlsapi-cla.yaml
  • examples/lightspeed-stack-shields.yaml
  • examples/lightspeed-stack-skills.yaml
  • examples/quota-limiter-configuration-pg.yaml
  • examples/quota-limiter-configuration-sqlite.yaml
  • lightspeed-stack.yaml
  • scripts/generate_openapi_schema.py
  • src/app/main.py
  • src/configuration.py
  • src/lightspeed_stack.py
  • src/llama_stack_configuration.py
  • src/models/api/responses/successful/configuration.py
  • src/models/config.py
  • src/telemetry/configuration_snapshot.py
  • tests/configuration/benchmarks-postgres.yaml
  • tests/configuration/benchmarks-sqlite.yaml
  • tests/configuration/lightspeed-stack-proper-name.yaml
  • tests/configuration/lightspeed-stack.yaml
  • tests/configuration/rh-identity-config.yaml
  • tests/e2e/configuration/library-mode/lightspeed-stack-authorized.yaml
  • tests/e2e/configuration/library-mode/lightspeed-stack-byok-pdf.yaml
  • tests/e2e/configuration/library-mode/lightspeed-stack-default.yaml
  • tests/e2e/configuration/library-mode/lightspeed-stack-mcp-api-auth.yaml
  • tests/e2e/configuration/library-mode/lightspeed-stack-mcp-client-auth.yaml
  • tests/e2e/configuration/library-mode/lightspeed-stack-mcp-file-auth.yaml
  • tests/e2e/configuration/library-mode/lightspeed-stack-mcp-invalid.yaml
  • tests/e2e/configuration/library-mode/lightspeed-stack-mcp-kubernetes-auth.yaml
  • tests/e2e/configuration/library-mode/lightspeed-stack-mcp-oauth-auth.yaml
  • tests/e2e/configuration/library-mode/lightspeed-stack-mcp.yaml
  • tests/e2e/configuration/library-mode/lightspeed-stack-negative.yaml
  • tests/e2e/configuration/library-mode/lightspeed-stack-rbac.yaml
  • tests/e2e/configuration/library-mode/lightspeed-stack-rh-identity.yaml
  • tests/e2e/configuration/library-mode/lightspeed-stack-skills-directory.yaml
  • tests/e2e/configuration/library-mode/lightspeed-stack-skills.yaml
  • tests/e2e/configuration/library-mode/lightspeed-stack.yaml
  • tests/e2e/configuration/server-mode/lightspeed-stack-authorized.yaml
  • tests/e2e/configuration/server-mode/lightspeed-stack-default.yaml
  • tests/e2e/configuration/server-mode/lightspeed-stack-degraded.yaml
  • tests/e2e/configuration/server-mode/lightspeed-stack-mcp-api-auth.yaml
  • tests/e2e/configuration/server-mode/lightspeed-stack-mcp-client-auth.yaml
  • tests/e2e/configuration/server-mode/lightspeed-stack-mcp-file-auth.yaml
  • tests/e2e/configuration/server-mode/lightspeed-stack-mcp-invalid.yaml
  • tests/e2e/configuration/server-mode/lightspeed-stack-mcp-kubernetes-auth.yaml
  • tests/e2e/configuration/server-mode/lightspeed-stack-mcp-oauth-auth.yaml
  • tests/e2e/configuration/server-mode/lightspeed-stack-mcp.yaml
  • tests/e2e/configuration/server-mode/lightspeed-stack-negative.yaml
  • tests/e2e/configuration/server-mode/lightspeed-stack-rbac.yaml
  • tests/e2e/configuration/server-mode/lightspeed-stack-rh-identity.yaml
  • tests/e2e/configuration/server-mode/lightspeed-stack-rhelai.yaml
  • tests/e2e/configuration/server-mode/lightspeed-stack-rhoai.yaml
  • tests/e2e/configuration/server-mode/lightspeed-stack-skills-directory.yaml
  • tests/e2e/configuration/server-mode/lightspeed-stack-skills.yaml
  • tests/e2e/configuration/server-mode/lightspeed-stack-tls.yaml
  • tests/e2e/configuration/server-mode/lightspeed-stack.yaml
  • tests/e2e/features/environment.py
  • tests/e2e/features/steps/health.py
  • tests/integration/test_configuration.py
  • tests/integration/test_unified_synthesis.py
  • tests/unit/__init__.py
  • tests/unit/app/endpoints/test_a2a.py
  • tests/unit/app/endpoints/test_conversations.py
  • tests/unit/app/endpoints/test_info.py
  • tests/unit/app/endpoints/test_mcp_auth.py
  • tests/unit/app/endpoints/test_mcp_servers.py
  • tests/unit/app/endpoints/test_models.py
  • tests/unit/app/endpoints/test_query.py
  • tests/unit/app/endpoints/test_rags.py
  • tests/unit/app/endpoints/test_responses.py
  • tests/unit/app/endpoints/test_responses_otel.py
  • tests/unit/app/endpoints/test_responses_splunk.py
  • tests/unit/app/endpoints/test_saved_prompts.py
  • tests/unit/app/endpoints/test_shields.py
  • tests/unit/app/endpoints/test_streaming_query.py
  • tests/unit/app/endpoints/test_tools.py
  • tests/unit/app/endpoints/test_vector_stores.py
  • tests/unit/authentication/test_k8s.py
  • tests/unit/authentication/test_trusted_proxy.py
  • tests/unit/conftest.py
  • tests/unit/models/config/test_approvals_configuration.py
  • tests/unit/models/config/test_authentication_configuration.py
  • tests/unit/models/config/test_dump_configuration.py
  • tests/unit/models/config/test_llama_stack_configuration.py
  • tests/unit/models/config/test_model_context_protocol_server.py
  • tests/unit/models/config/test_rlsapi_v1_configuration.py
  • tests/unit/models/config/test_shields_configuration.py
  • tests/unit/models/responses/test_successful_responses.py
  • tests/unit/models/test_saved_prompts_config.py
  • tests/unit/telemetry/conftest.py
  • tests/unit/telemetry/test_configuration_snapshot.py
  • tests/unit/test_configuration.py
  • tests/unit/test_lightspeed_stack.py
  • tests/unit/test_llama_stack_configuration.py
  • tests/unit/test_llama_stack_synthesize.py
  • tests/unit/utils/test_models_dumper.py
  • tests/unit/utils/test_prompts.py
  • tests/unit/utils/test_transcripts.py

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


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.

@asimurka
asimurka force-pushed the rename-llama-stack-config-key-to-ogx branch from 16f9231 to 43effb8 Compare August 27, 2026 13:07
@asimurka
asimurka force-pushed the rename-llama-stack-config-key-to-ogx branch from 43effb8 to 784c5f8 Compare August 27, 2026 13:15
@asimurka

asimurka commented Aug 27, 2026

Copy link
Copy Markdown
Contributor Author

E2E test fails are expected due to a change in workflow. See CI on fork here: https://github.com/asimurka/lightspeed-stack/actions/runs/33075918947/job/98533239026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant