Skip to content

LCORE-2933: Maintenance doc restructuring#2171

Merged
tisnik merged 1 commit into
lightspeed-core:mainfrom
tisnik:lcore-2933-maintenance
Jul 19, 2026
Merged

LCORE-2933: Maintenance doc restructuring#2171
tisnik merged 1 commit into
lightspeed-core:mainfrom
tisnik:lcore-2933-maintenance

Conversation

@tisnik

@tisnik tisnik commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Description

LCORE-2933: Maintenance doc restructuring

Type of change

  • Refactor
  • New feature
  • Bug fix
  • CVE fix
  • Optimization
  • Documentation Update
  • Configuration Update
  • Bump-up service version
  • Bump-up dependent library
  • 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

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

Related Tickets & Documents

  • Related Issue #LCORE-2933

Summary by CodeRabbit

  • Documentation
    • Reorganized documentation navigation, grouping Models, Testing, Maintenance, Migration, and Releasing content more clearly.
    • Added Sentry error-tracking guidance to the User docs section.
    • Expanded the LTS process and release-engineering guides with workflows, checklists, and operational procedures.
    • Added a REST API sequence diagram covering key request and response flows.
    • Corrected LTS terminology and updated branching visualization links.

@coderabbitai

coderabbitai Bot commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 510fa37f-3290-42a4-b0c6-67924df18ac0

📥 Commits

Reviewing files that changed from the base of the PR and between 57a9687 and 988184a.

⛔ Files ignored due to path filters (10)
  • docs/maintenance/branching_1.svg is excluded by !**/*.svg
  • docs/maintenance/branching_2.svg is excluded by !**/*.svg
  • docs/maintenance/branching_3.svg is excluded by !**/*.svg
  • docs/maintenance/lts_flow.svg is excluded by !**/*.svg
  • docs/user_doc/both_services_in_container.svg is excluded by !**/*.svg
  • docs/user_doc/lcs_in_container.svg is excluded by !**/*.svg
  • docs/user_doc/llama_stack_as_library.svg is excluded by !**/*.svg
  • docs/user_doc/llama_stack_as_service.svg is excluded by !**/*.svg
  • docs/user_doc/rest_api.png is excluded by !**/*.png
  • docs/user_doc/rest_api.svg is excluded by !**/*.svg
📒 Files selected for processing (6)
  • docs/README.md
  • docs/index.md
  • docs/maintenance/branching.md
  • docs/maintenance/lts_flow.md
  • docs/maintenance/releasing.md
  • docs/user_doc/rest_api.uml
📜 Recent review details
⏰ Context from checks skipped due to timeout. (12)
  • GitHub Check: mypy
  • GitHub Check: unit_tests (3.12)
  • GitHub Check: unit_tests (3.13)
  • GitHub Check: integration_tests (3.12)
  • GitHub Check: Pylinter
  • GitHub Check: E2E: server mode / ci / group 2
  • GitHub Check: E2E: library mode / ci / group 2
  • GitHub Check: E2E: library mode / ci / group 1
  • GitHub Check: E2E: server mode / ci / group 1
  • GitHub Check: E2E: library mode / ci / group 3
  • GitHub Check: E2E: server mode / ci / group 3
  • GitHub Check: E2E Tests for Lightspeed Evaluation job
🧰 Additional context used
📓 Path-based instructions (1)
**/*

📄 CodeRabbit inference engine (Custom checks)

**/*: Flag meaningful O(n^2)+ algorithms on non-trivial inputs, including handlers and Kubernetes list operations.
Flag N+1 patterns that list items and then query once per item, including Kubernetes API and database access.
Flag expensive work inside loops, including API calls, JSON parsing, and regex compilation.
Flag unbounded growth in caches, watchers, or buffers when eviction or limits are missing.
Flag missing pagination or limits on list operations and API endpoints.
Flag secrets or tokens logged in plaintext or hardcoded in source.
Flag API endpoints missing authentication or authorization.
Flag injection vulnerabilities, including SQL injection, command injection, and path traversal.
Flag sensitive data leaked in API responses, WebSocket messages, or logs.
Flag Kubernetes Secrets and Red Hat secrets missing OwnerReferences.

Files:

  • docs/maintenance/branching.md
  • docs/maintenance/lts_flow.md
  • docs/user_doc/rest_api.uml
  • docs/maintenance/releasing.md
  • docs/README.md
  • docs/index.md
🪛 LanguageTool
docs/maintenance/lts_flow.md

[grammar] ~1-~1: Ensure spelling is correct
Context: # LTS Process Overview A modular, maintainable process for Long...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~61-~61: Ensure spelling is correct
Context: ...8. Post-release verification & rollback plan 9. Communication & documentation 10. Postmortem and metr...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~62-~62: Ensure spelling is correct
Context: ...tion & rollback plan 9. Communication & documentation 10. Postmortem and metrics ## Roles & Responsibilitie...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~65-~65: Ensure spelling is correct
Context: ... 10. Postmortem and metrics ## Roles & Responsibilities - Requester: reports issue/need. - Triage...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~78-~78: Ensure spelling is correct
Context: ...ponents (for implementation) 1. Intake Module - Inputs: user issue report (bug, CVE, fe...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~85-~85: Ensure spelling is correct
Context: ... system API, email, webhook. 2. Triage Module - Inputs: ticket. - Outputs: priority,...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~93-~93: Ensure spelling is correct
Context: ...lease calendar. 3. Planning & Approval Module - Inputs: triage decision, risk score. ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~99-~99: Ensure spelling is correct
Context: ...ranch names, milestone. 4. Development Module - Inputs: backport plan, target branches....

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~107-~107: Ensure spelling is correct
Context: ...review system. 5. Testing & Validation Module - Inputs: merge request/PR. - Outputs:...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~115-~115: Ensure spelling is correct
Context: ...nment provisioning. 6. Release Staging Module - Inputs: merged patches in LTS branches....

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~123-~123: Ensure spelling is correct
Context: ...ge registries. 7. Release & Deployment Module - Inputs: RC approval. - Outputs: publ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~131-~131: Ensure spelling is correct
Context: ...ries. 8. Communication & Documentation Module - Inputs: release artifacts, changelog, s...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~138-~138: Ensure spelling is correct
Context: ...al channels. 9. Post-release & Metrics Module - Inputs: deployment telemetry, incident ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[style] ~173-~173: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...s relevant. - Tagging: vX.Y.Z-lts or vX.Y.Z (use stable, consistent tags); includ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[grammar] ~178-~178: Ensure spelling is correct
Context: ...ave) - Lint + static analysis - Unit + integration - Backport-specific regression suite - Se...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~179-~179: Ensure spelling is correct
Context: ...egration - Backport-specific regression suite - Security scan (dependency, SAST) - Arti...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~181-~181: Ensure spelling is correct
Context: ...n (dependency, SAST) - Artifact signing step - Canary deployment + automated health ch...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~197-~197: Ensure spelling is correct
Context: ...s, rollback status. ## Observability & Auditing - Log every state transition for ticket (...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~237-~237: Ensure spelling is correct
Context: ...cture (for the final doc) 1. Purpose & scope 2. Roles & responsibilities 3. End-to-end ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~238-~238: Ensure spelling is correct
Context: ...nal doc) 1. Purpose & scope 2. Roles & responsibilities 3. End-to-end flow diagram (visual) 4. Det...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~410-~410: Ensure spelling is correct
Context: ...## LTS Process & Runbook ### Purpose & scope Provide a modular, maintainable process ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~414-~414: Ensure spelling is correct
Context: ...eceive LTS patch releases. ### Roles & responsibilities - Requester: reports issues; provides r...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~428-~428: Ensure spelling is correct
Context: ...icy changes. ### High-level end-to-end flow 1. Intake (ticket created/enriched) 2. Tri...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~462-~462: Ensure spelling is correct
Context: ...## Detailed module descriptions Intake Module - Purpose: standardize incoming reports a...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~474-~474: Ensure spelling is correct
Context: ...ds (CVE, security, regression). Triage Module - Purpose: quickly determine impact, scop...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~485-~485: Ensure spelling is correct
Context: .../medium/large) - Security flag set if relevant - Artefacts: triage comment, labels, dead...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~488-~488: Ensure spelling is correct
Context: ... labels, deadline. Planning & Approval Module - Purpose: create an actionable backport ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~502-~502: Ensure spelling is correct
Context: ...se Manager for fast-track. Development Module - Purpose: implement minimal, safe patch ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~515-~515: Ensure spelling is correct
Context: ...ackport branches. Testing & Validation Module - Purpose: ensure patch correctness and a...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~529-~529: Ensure spelling is correct
Context: ...producer if available. Release Staging Module - Purpose: produce reproducible artifacts...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~541-~541: Ensure spelling is correct
Context: ...h immutable tags. Release & Deployment Module - Purpose: publish artifacts to LTS chann...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~570-~570: Ensure spelling is correct
Context: ...t if necessary. Post-release & Metrics Module - Purpose: verify release success and col...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~641-~641: Ensure spelling is correct
Context: ...d versions: list - Impact: brief impact summary - Mitigation: upgrade instructions or ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~642-~642: Ensure spelling is correct
Context: ...y - Mitigation: upgrade instructions or workaround - Contact: security@your-org.example -...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~652-~652: Ensure spelling is correct
Context: ...a model (fields) - Ticket ID - Title & description - Reporter & contact - Affected versions ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~653-~653: Ensure spelling is correct
Context: ...t ID - Title & description - Reporter & contact - Affected versions (list) - Severity (en...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~657-~657: Ensure spelling is correct
Context: ...ID (if applicable) - Repro steps + test case - Proposed patch branch names - Target LT...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~659-~659: Ensure spelling is correct
Context: ...roposed patch branch names - Target LTS branches - Triage owner & date - Estimated effort ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~660-~660: Ensure spelling is correct
Context: ... - Target LTS branches - Triage owner & date - Estimated effort - Approvals (list with...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~661-~661: Ensure spelling is correct
Context: ...nches - Triage owner & date - Estimated effort - Approvals (list with timestamps and rol...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~664-~664: Ensure spelling is correct
Context: ...ersions & artifact IDs - Build manifest link - Post-release notes & metrics ### Obser...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~667-~667: Ensure spelling is correct
Context: ...se notes & metrics ### Observability & auditing - Record all ticket state transitions, ap...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~715-~715: Ensure spelling is correct
Context: ...ent and trigger postmortem. Postmortem runbook 1. Gather timeline from ticket and logs. 2...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~731-~731: Ensure spelling is correct
Context: ...et, update metrics. ### Implementation checklist - Create issue templates and ticket field...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

docs/maintenance/releasing.md

[style] ~31-~31: This is not the usual sequence for adjectives that have no special emphasis.
Context: ...atch-and-rc) * [Minor releases (new minor branch, e.g. 0.7)](#43-minor-releases-n...

(EN_ADJ_ORDER)


[style] ~34-~34: This is not the usual sequence for adjectives that have no special emphasis.
Context: ...rc) * [Minor release checklist (new minor branch)](#52-minor-release-checklist-ne...

(EN_ADJ_ORDER)


[style] ~58-~58: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ty in a backwards-compatible manner. * Increment PATCH when you make backwards-compatibl...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~95-~95: Consider a more concise word here.
Context: ... that is stored in docs/openapi.json. In order to do it, run the following command: ```b...

(IN_ORDER_TO_PREMIUM)


[style] ~95-~95: Consider a more expressive alternative.
Context: ...red in docs/openapi.json. In order to do it, run the following command: ```bash...

(DO_ACHIEVE)


[grammar] ~126-~126: Use a hyphen to join words.
Context: ...ion}-py3-none-any.whl ``` Please double check that the {version} really contai...

(QB_NEW_EN_HYPHEN)


[style] ~127-~127: Consider using a different verb to strengthen your wording.
Context: ...the correct version number. Also please make sure that the archive was really built to av...

(MAKE_SURE_ENSURE)


[grammar] ~170-~170: Ensure spelling is correct
Context: ... ### Update link in README.md At the beggining of README.md there's a line: ```text...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[style] ~255-~255: This is not the usual sequence for adjectives that have no special emphasis.
Context: ...dds a new Konflux application for a new minor release branch, they must also add a **...

(EN_ADJ_ORDER)


[style] ~322-~322: This is not the usual sequence for adjectives that have no special emphasis.
Context: ...this registry path." When you add a new minor release branch or change RC/GA tagging,...

(EN_ADJ_ORDER)


[uncategorized] ~408-~408: The official name of this software platform is spelled with a capital “H”.
Context: ...ns (Quay)**: If you push a git tag, .github/workflows/build_and_push_release.yaml ...

(GITHUB)


[style] ~417-~417: This is not the usual sequence for adjectives that have no special emphasis.
Context: ...asePlan` / RPA**. #### Minor releases (new minor branch, e.g. 0.7) A minor bump (e....

(EN_ADJ_ORDER)


[uncategorized] ~441-~441: The official name of this software platform is spelled with a capital “H”.
Context: ...wn cadence. 8. GitHub Actions The .github/workflows/build_and_push_release.yaml ...

(GITHUB)


[uncategorized] ~465-~465: The official name of this software platform is spelled with a capital “H”.
Context: ...lication via GitHub Actions is desired (.github/workflows/build_and_push_release.yaml)...

(GITHUB)


[style] ~475-~475: This is not the usual sequence for adjectives that have no special emphasis.
Context: ...covery). #### Minor release checklist (new minor branch) Use this when opening a new mi...

(EN_ADJ_ORDER)


[uncategorized] ~489-~489: The official name of this software platform is spelled with a capital “H”.
Context: ...es cover 0.7-* tag patterns. - Verify .github/workflows/build_and_push_release.yaml ...

(GITHUB)


[uncategorized] ~513-~513: The official name of this software platform is spelled with a capital “H”.
Context: ...componentTags | | GitHub Actions (.github/workflows/build_and_push_release.yaml)...

(GITHUB)


[uncategorized] ~516-~516: The official name of this software platform is spelled with a capital “H”.
Context: ...kflow also has a dev image variant (.github/workflows/build_and_push_dev.yaml) tha...

(GITHUB)

🪛 markdownlint-cli2 (0.23.0)
docs/maintenance/lts_flow.md

[warning] 45-45: Heading levels should only increment by one level at a time
Expected: h2; Actual: h3

(MD001, heading-increment)


[warning] 722-722: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


[warning] 731-731: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)

docs/maintenance/releasing.md

[warning] 18-18: Link fragments should be valid

(MD051, link-fragments)


[warning] 20-20: Link fragments should be valid

(MD051, link-fragments)


[warning] 21-21: Link fragments should be valid

(MD051, link-fragments)


[warning] 22-22: Link fragments should be valid

(MD051, link-fragments)


[warning] 23-23: Link fragments should be valid

(MD051, link-fragments)


[warning] 24-24: Link fragments should be valid

(MD051, link-fragments)


[warning] 25-25: Link fragments should be valid

(MD051, link-fragments)


[warning] 26-26: Link fragments should be valid

(MD051, link-fragments)


[warning] 27-27: Link fragments should be valid

(MD051, link-fragments)


[warning] 28-28: Link fragments should be valid

(MD051, link-fragments)


[warning] 29-29: Link fragments should be valid

(MD051, link-fragments)


[warning] 30-30: Link fragments should be valid

(MD051, link-fragments)


[warning] 31-31: Link fragments should be valid

(MD051, link-fragments)


[warning] 32-32: Link fragments should be valid

(MD051, link-fragments)


[warning] 33-33: Link fragments should be valid

(MD051, link-fragments)


[warning] 34-34: Link fragments should be valid

(MD051, link-fragments)


[warning] 35-35: Link fragments should be valid

(MD051, link-fragments)


[warning] 36-36: Link fragments should be valid

(MD051, link-fragments)


[warning] 183-183: Heading levels should only increment by one level at a time
Expected: h3; Actual: h4

(MD001, heading-increment)


[warning] 244-244: Blank line inside blockquote

(MD028, no-blanks-blockquote)


[warning] 383-383: Ordered list item prefix
Expected: 1; Actual: 3; Style: 1/1/1

(MD029, ol-prefix)


[warning] 398-398: Spaces inside emphasis markers

(MD037, no-space-in-emphasis)


[warning] 431-431: Ordered list item prefix
Expected: 1; Actual: 4; Style: 1/2/3

(MD029, ol-prefix)


[warning] 433-433: Ordered list item prefix
Expected: 2; Actual: 5; Style: 1/2/3

(MD029, ol-prefix)


[warning] 435-435: Ordered list item prefix
Expected: 3; Actual: 6; Style: 1/2/3

(MD029, ol-prefix)


[warning] 438-438: Ordered list item prefix
Expected: 1; Actual: 7; Style: 1/2/3

(MD029, ol-prefix)


[warning] 440-440: Ordered list item prefix
Expected: 2; Actual: 8; Style: 1/2/3

(MD029, ol-prefix)


[warning] 442-442: Ordered list item prefix
Expected: 3; Actual: 9; Style: 1/2/3

(MD029, ol-prefix)


[warning] 443-443: Spaces inside emphasis markers

(MD037, no-space-in-emphasis)

🛑 Comments failed to post (6)
docs/maintenance/lts_flow.md (1)

45-45: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Fix the LTS page heading structure.

Change Line 45 from ### Goals to ## Goals, and add blank lines around the headings at Lines 722 and 731. The current structure violates Markdown heading/spacing rules and can produce inconsistent navigation or rendering.

Also applies to: 722-731

🧰 Tools
🪛 markdownlint-cli2 (0.23.0)

[warning] 45-45: Heading levels should only increment by one level at a time
Expected: h2; Actual: h3

(MD001, heading-increment)

🤖 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 `@docs/maintenance/lts_flow.md` at line 45, Update the LTS flow document
heading structure: promote the “Goals” heading from level 3 to level 2, and add
blank lines before and after the headings at the sections around lines 722 and
731. Preserve the existing heading text and content while ensuring consistent
Markdown spacing.

Source: Linters/SAST tools

docs/maintenance/releasing.md (3)

5-14: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Fix user-facing release-guide typos.

Use PyPI consistently, change “an Python package” to “a Python package,” verify the apparent README.mds typo, and correct beggining to beginning.

Also applies to: 105-112, 168-170

🤖 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 `@docs/maintenance/releasing.md` around lines 5 - 14, Correct the release
guide’s user-facing typos: use “PyPI” consistently, change “an Python package”
to “a Python package,” verify and correct the apparent “README.mds” filename
typo, and replace “beggining” with “beginning.” Apply these fixes throughout the
affected sections, including the publishing and cleanup instructions.

Source: Linters/SAST tools


18-36: 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Correct the release-guide TOC anchors and heading hierarchy.

The TOC fragments such as #release-organization, #1-goals-of-the-layout, and #21-applications-and-components do not match the actual generated anchors. Also change #### Conventions on Line 183 to ### Conventions so the heading level does not skip from the h2 section.

Also applies to: 178-183

🧰 Tools
🪛 LanguageTool

[style] ~31-~31: This is not the usual sequence for adjectives that have no special emphasis.
Context: ...atch-and-rc) * [Minor releases (new minor branch, e.g. 0.7)](#43-minor-releases-n...

(EN_ADJ_ORDER)


[style] ~34-~34: This is not the usual sequence for adjectives that have no special emphasis.
Context: ...rc) * [Minor release checklist (new minor branch)](#52-minor-release-checklist-ne...

(EN_ADJ_ORDER)

🪛 markdownlint-cli2 (0.23.0)

[warning] 18-18: Link fragments should be valid

(MD051, link-fragments)


[warning] 20-20: Link fragments should be valid

(MD051, link-fragments)


[warning] 21-21: Link fragments should be valid

(MD051, link-fragments)


[warning] 22-22: Link fragments should be valid

(MD051, link-fragments)


[warning] 23-23: Link fragments should be valid

(MD051, link-fragments)


[warning] 24-24: Link fragments should be valid

(MD051, link-fragments)


[warning] 25-25: Link fragments should be valid

(MD051, link-fragments)


[warning] 26-26: Link fragments should be valid

(MD051, link-fragments)


[warning] 27-27: Link fragments should be valid

(MD051, link-fragments)


[warning] 28-28: Link fragments should be valid

(MD051, link-fragments)


[warning] 29-29: Link fragments should be valid

(MD051, link-fragments)


[warning] 30-30: Link fragments should be valid

(MD051, link-fragments)


[warning] 31-31: Link fragments should be valid

(MD051, link-fragments)


[warning] 32-32: Link fragments should be valid

(MD051, link-fragments)


[warning] 33-33: Link fragments should be valid

(MD051, link-fragments)


[warning] 34-34: Link fragments should be valid

(MD051, link-fragments)


[warning] 35-35: Link fragments should be valid

(MD051, link-fragments)


[warning] 36-36: Link fragments should be valid

(MD051, link-fragments)

🤖 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 `@docs/maintenance/releasing.md` around lines 18 - 36, Correct the release
guide TOC links to use the anchors generated from the document’s actual heading
text, including proper separators for numbered sections such as Goals of the
layout and Applications and components. In the release-organization section,
change the Conventions heading from h4 to h3 so it follows the surrounding h2
hierarchy without skipping a level.

Source: Linters/SAST tools


70-72: 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Fix the TestPyPI prerequisite URL.

The link currently ends in /py and returns 404; point it to the valid TestPyPI site or its token documentation instead. ()

🤖 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 `@docs/maintenance/releasing.md` around lines 70 - 72, Update the TestPyPI
prerequisite link in the releasing documentation to use the valid TestPyPI site
or token documentation URL, replacing the invalid URL ending in /py while
preserving the prerequisite wording.

Source: MCP tools

docs/user_doc/rest_api.uml (2)

13-16: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Find actual Python files for query, streaming_query, and conversations
fd -t f -e py '^(query|streaming_query|conversations).*\.py$' src

Repository: lightspeed-core/lightspeed-stack

Length of output: 618


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Show the relevant UML lines with numbers
sed -n '1,40p' docs/user_doc/rest_api.uml | nl -ba

# Re-list endpoint files to anchor the current names
fd -t f -e py '^(query|streaming_query|conversations).*\.py$' src/app/endpoints

Repository: lightspeed-core/lightspeed-stack

Length of output: 210


🏁 Script executed:

#!/bin/bash
set -euo pipefail

sed -n '1,220p' docs/user_doc/rest_api.uml | cat -n | sed -n '1,220p'

Repository: lightspeed-core/lightspeed-stack

Length of output: 6082


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Find the conversation endpoint modules and their route declarations
for f in src/app/endpoints/conversations_v1.py src/app/endpoints/conversations_v2.py; do
  echo "### $f"
  sed -n '1,220p' "$f" | grep -nE '`@router`|APIRouter|include_router|/v1/conversations|conversation_id|Conversation'
  echo
done

Repository: lightspeed-core/lightspeed-stack

Length of output: 5414


Update the endpoint module names in the diagram. query_v2.py, streaming_query_v2.py, and conversations_v3.py don’t match the current layout; use query.py, streaming_query.py, and the current conversation handlers (conversations_v1.py / conversations_v2.py) instead.

🤖 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 `@docs/user_doc/rest_api.uml` around lines 13 - 16, Update the endpoint module
declarations in the diagram to use query.py, streaming_query.py, and both
current conversation handlers conversations_v1.py and conversations_v2.py, while
preserving the existing rlsapi_v1.py declaration.

147-147: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Use consistent path parameter notation.

For consistency with the other endpoints in this diagram (such as /v1/conversations/{conversation_id}), consider standardizing the path parameter format.

♻️ Proposed fix
-Client->>API_server: GET /v1/rags/RAG_ID
+Client->>API_server: GET /v1/rags/{rag_id}
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Client->>API_server: GET /v1/rags/{rag_id}
🤖 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 `@docs/user_doc/rest_api.uml` at line 147, Update the GET /v1/rags/RAG_ID
endpoint in the REST API diagram to use brace-delimited path parameter notation,
matching the existing /v1/conversations/{conversation_id} convention.
🔇 Additional comments (5)
docs/README.md (1)

14-16: LGTM!

Also applies to: 55-56, 81-117, 169-169

docs/index.md (1)

21-23: LGTM!

Also applies to: 33-34, 62-63, 88-124, 175-176

docs/maintenance/branching.md (1)

160-168: LGTM!

docs/maintenance/lts_flow.md (1)

1-44: LGTM!

Also applies to: 46-721, 732-754

docs/maintenance/releasing.md (1)

1-4: LGTM!

Also applies to: 37-69, 73-104, 113-167, 171-177, 184-516


Walkthrough

Documentation navigation was reorganized, maintenance and release runbooks were added, branching image paths were corrected, and a UML diagram documenting REST API endpoint flows was introduced.

Changes

Documentation structure and maintenance links

Layer / File(s) Summary
Navigation and maintenance links
docs/README.md, docs/index.md, docs/maintenance/branching.md
Models and Testing were grouped under Developer doc, Maintenance was consolidated, Sentry was moved under User docs, and branching diagram paths were corrected.
LTS process and runbook
docs/maintenance/lts_flow.md
Added LTS process guidance, roles, SLAs, branching, release and rollback procedures, runbooks, checklists, glossary content, and an inline process diagram.
Release engineering guide
docs/maintenance/releasing.md
Added versioning, package publishing, Konflux organization, release workflows, checklists, invariants, and parallel image publishing documentation.
REST API reference diagram
docs/user_doc/rest_api.uml
Added UML sequences for health, configuration, query, inference, conversations, feedback, status, and catalog endpoints.

Estimated code review effort: 3 (Moderate) | ~30 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 7
✅ Passed checks (7 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: restructuring the maintenance documentation for LCORE-2933.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
Performance And Algorithmic Complexity ✅ Passed PASS: The PR only reorganizes docs/Markdown and diagram assets; no runtime code, loops, data-access paths, or pagination logic changed.
Security And Secret Handling ✅ Passed PASS: PR only reshuffles docs/diagrams; touched files contain no hardcoded secrets, no auth/injection code, and no K8s secret manifests.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
✨ Simplify code
  • Create PR with simplified code

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 6

🤖 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 `@docs/maintenance/lts_flow.md`:
- Line 45: Update the LTS flow document heading structure: promote the “Goals”
heading from level 3 to level 2, and add blank lines before and after the
headings at the sections around lines 722 and 731. Preserve the existing heading
text and content while ensuring consistent Markdown spacing.

In `@docs/maintenance/releasing.md`:
- Around line 70-72: Update the TestPyPI prerequisite link in the releasing
documentation to use the valid TestPyPI site or token documentation URL,
replacing the invalid URL ending in /py while preserving the prerequisite
wording.
- Around line 18-36: Correct the release guide TOC links to use the anchors
generated from the document’s actual heading text, including proper separators
for numbered sections such as Goals of the layout and Applications and
components. In the release-organization section, change the Conventions heading
from h4 to h3 so it follows the surrounding h2 hierarchy without skipping a
level.
- Around line 5-14: Correct the release guide’s user-facing typos: use “PyPI”
consistently, change “an Python package” to “a Python package,” verify and
correct the apparent “README.mds” filename typo, and replace “beggining” with
“beginning.” Apply these fixes throughout the affected sections, including the
publishing and cleanup instructions.

In `@docs/user_doc/rest_api.uml`:
- Line 147: Update the GET /v1/rags/RAG_ID endpoint in the REST API diagram to
use brace-delimited path parameter notation, matching the existing
/v1/conversations/{conversation_id} convention.
- Around line 13-16: Update the endpoint module declarations in the diagram to
use query.py, streaming_query.py, and both current conversation handlers
conversations_v1.py and conversations_v2.py, while preserving the existing
rlsapi_v1.py declaration.
🪄 Autofix (Beta)

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: ASSERTIVE

Plan: Pro

Run ID: 510fa37f-3290-42a4-b0c6-67924df18ac0

📥 Commits

Reviewing files that changed from the base of the PR and between 57a9687 and 988184a.

⛔ Files ignored due to path filters (10)
  • docs/maintenance/branching_1.svg is excluded by !**/*.svg
  • docs/maintenance/branching_2.svg is excluded by !**/*.svg
  • docs/maintenance/branching_3.svg is excluded by !**/*.svg
  • docs/maintenance/lts_flow.svg is excluded by !**/*.svg
  • docs/user_doc/both_services_in_container.svg is excluded by !**/*.svg
  • docs/user_doc/lcs_in_container.svg is excluded by !**/*.svg
  • docs/user_doc/llama_stack_as_library.svg is excluded by !**/*.svg
  • docs/user_doc/llama_stack_as_service.svg is excluded by !**/*.svg
  • docs/user_doc/rest_api.png is excluded by !**/*.png
  • docs/user_doc/rest_api.svg is excluded by !**/*.svg
📒 Files selected for processing (6)
  • docs/README.md
  • docs/index.md
  • docs/maintenance/branching.md
  • docs/maintenance/lts_flow.md
  • docs/maintenance/releasing.md
  • docs/user_doc/rest_api.uml
📜 Review details
⏰ Context from checks skipped due to timeout. (12)
  • GitHub Check: mypy
  • GitHub Check: unit_tests (3.12)
  • GitHub Check: unit_tests (3.13)
  • GitHub Check: integration_tests (3.12)
  • GitHub Check: Pylinter
  • GitHub Check: E2E: server mode / ci / group 2
  • GitHub Check: E2E: library mode / ci / group 2
  • GitHub Check: E2E: library mode / ci / group 1
  • GitHub Check: E2E: server mode / ci / group 1
  • GitHub Check: E2E: library mode / ci / group 3
  • GitHub Check: E2E: server mode / ci / group 3
  • GitHub Check: E2E Tests for Lightspeed Evaluation job
🧰 Additional context used
📓 Path-based instructions (1)
**/*

📄 CodeRabbit inference engine (Custom checks)

**/*: Flag meaningful O(n^2)+ algorithms on non-trivial inputs, including handlers and Kubernetes list operations.
Flag N+1 patterns that list items and then query once per item, including Kubernetes API and database access.
Flag expensive work inside loops, including API calls, JSON parsing, and regex compilation.
Flag unbounded growth in caches, watchers, or buffers when eviction or limits are missing.
Flag missing pagination or limits on list operations and API endpoints.
Flag secrets or tokens logged in plaintext or hardcoded in source.
Flag API endpoints missing authentication or authorization.
Flag injection vulnerabilities, including SQL injection, command injection, and path traversal.
Flag sensitive data leaked in API responses, WebSocket messages, or logs.
Flag Kubernetes Secrets and Red Hat secrets missing OwnerReferences.

Files:

  • docs/maintenance/branching.md
  • docs/maintenance/lts_flow.md
  • docs/user_doc/rest_api.uml
  • docs/maintenance/releasing.md
  • docs/README.md
  • docs/index.md
🪛 LanguageTool
docs/maintenance/lts_flow.md

[grammar] ~1-~1: Ensure spelling is correct
Context: # LTS Process Overview A modular, maintainable process for Long...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~61-~61: Ensure spelling is correct
Context: ...8. Post-release verification & rollback plan 9. Communication & documentation 10. Postmortem and metr...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~62-~62: Ensure spelling is correct
Context: ...tion & rollback plan 9. Communication & documentation 10. Postmortem and metrics ## Roles & Responsibilitie...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~65-~65: Ensure spelling is correct
Context: ... 10. Postmortem and metrics ## Roles & Responsibilities - Requester: reports issue/need. - Triage...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~78-~78: Ensure spelling is correct
Context: ...ponents (for implementation) 1. Intake Module - Inputs: user issue report (bug, CVE, fe...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~85-~85: Ensure spelling is correct
Context: ... system API, email, webhook. 2. Triage Module - Inputs: ticket. - Outputs: priority,...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~93-~93: Ensure spelling is correct
Context: ...lease calendar. 3. Planning & Approval Module - Inputs: triage decision, risk score. ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~99-~99: Ensure spelling is correct
Context: ...ranch names, milestone. 4. Development Module - Inputs: backport plan, target branches....

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~107-~107: Ensure spelling is correct
Context: ...review system. 5. Testing & Validation Module - Inputs: merge request/PR. - Outputs:...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~115-~115: Ensure spelling is correct
Context: ...nment provisioning. 6. Release Staging Module - Inputs: merged patches in LTS branches....

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~123-~123: Ensure spelling is correct
Context: ...ge registries. 7. Release & Deployment Module - Inputs: RC approval. - Outputs: publ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~131-~131: Ensure spelling is correct
Context: ...ries. 8. Communication & Documentation Module - Inputs: release artifacts, changelog, s...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~138-~138: Ensure spelling is correct
Context: ...al channels. 9. Post-release & Metrics Module - Inputs: deployment telemetry, incident ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[style] ~173-~173: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...s relevant. - Tagging: vX.Y.Z-lts or vX.Y.Z (use stable, consistent tags); includ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[grammar] ~178-~178: Ensure spelling is correct
Context: ...ave) - Lint + static analysis - Unit + integration - Backport-specific regression suite - Se...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~179-~179: Ensure spelling is correct
Context: ...egration - Backport-specific regression suite - Security scan (dependency, SAST) - Arti...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~181-~181: Ensure spelling is correct
Context: ...n (dependency, SAST) - Artifact signing step - Canary deployment + automated health ch...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~197-~197: Ensure spelling is correct
Context: ...s, rollback status. ## Observability & Auditing - Log every state transition for ticket (...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~237-~237: Ensure spelling is correct
Context: ...cture (for the final doc) 1. Purpose & scope 2. Roles & responsibilities 3. End-to-end ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~238-~238: Ensure spelling is correct
Context: ...nal doc) 1. Purpose & scope 2. Roles & responsibilities 3. End-to-end flow diagram (visual) 4. Det...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~410-~410: Ensure spelling is correct
Context: ...## LTS Process & Runbook ### Purpose & scope Provide a modular, maintainable process ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~414-~414: Ensure spelling is correct
Context: ...eceive LTS patch releases. ### Roles & responsibilities - Requester: reports issues; provides r...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~428-~428: Ensure spelling is correct
Context: ...icy changes. ### High-level end-to-end flow 1. Intake (ticket created/enriched) 2. Tri...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~462-~462: Ensure spelling is correct
Context: ...## Detailed module descriptions Intake Module - Purpose: standardize incoming reports a...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~474-~474: Ensure spelling is correct
Context: ...ds (CVE, security, regression). Triage Module - Purpose: quickly determine impact, scop...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~485-~485: Ensure spelling is correct
Context: .../medium/large) - Security flag set if relevant - Artefacts: triage comment, labels, dead...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~488-~488: Ensure spelling is correct
Context: ... labels, deadline. Planning & Approval Module - Purpose: create an actionable backport ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~502-~502: Ensure spelling is correct
Context: ...se Manager for fast-track. Development Module - Purpose: implement minimal, safe patch ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~515-~515: Ensure spelling is correct
Context: ...ackport branches. Testing & Validation Module - Purpose: ensure patch correctness and a...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~529-~529: Ensure spelling is correct
Context: ...producer if available. Release Staging Module - Purpose: produce reproducible artifacts...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~541-~541: Ensure spelling is correct
Context: ...h immutable tags. Release & Deployment Module - Purpose: publish artifacts to LTS chann...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~570-~570: Ensure spelling is correct
Context: ...t if necessary. Post-release & Metrics Module - Purpose: verify release success and col...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~641-~641: Ensure spelling is correct
Context: ...d versions: list - Impact: brief impact summary - Mitigation: upgrade instructions or ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~642-~642: Ensure spelling is correct
Context: ...y - Mitigation: upgrade instructions or workaround - Contact: security@your-org.example -...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~652-~652: Ensure spelling is correct
Context: ...a model (fields) - Ticket ID - Title & description - Reporter & contact - Affected versions ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~653-~653: Ensure spelling is correct
Context: ...t ID - Title & description - Reporter & contact - Affected versions (list) - Severity (en...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~657-~657: Ensure spelling is correct
Context: ...ID (if applicable) - Repro steps + test case - Proposed patch branch names - Target LT...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~659-~659: Ensure spelling is correct
Context: ...roposed patch branch names - Target LTS branches - Triage owner & date - Estimated effort ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~660-~660: Ensure spelling is correct
Context: ... - Target LTS branches - Triage owner & date - Estimated effort - Approvals (list with...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~661-~661: Ensure spelling is correct
Context: ...nches - Triage owner & date - Estimated effort - Approvals (list with timestamps and rol...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~664-~664: Ensure spelling is correct
Context: ...ersions & artifact IDs - Build manifest link - Post-release notes & metrics ### Obser...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~667-~667: Ensure spelling is correct
Context: ...se notes & metrics ### Observability & auditing - Record all ticket state transitions, ap...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~715-~715: Ensure spelling is correct
Context: ...ent and trigger postmortem. Postmortem runbook 1. Gather timeline from ticket and logs. 2...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~731-~731: Ensure spelling is correct
Context: ...et, update metrics. ### Implementation checklist - Create issue templates and ticket field...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

docs/maintenance/releasing.md

[style] ~31-~31: This is not the usual sequence for adjectives that have no special emphasis.
Context: ...atch-and-rc) * [Minor releases (new minor branch, e.g. 0.7)](#43-minor-releases-n...

(EN_ADJ_ORDER)


[style] ~34-~34: This is not the usual sequence for adjectives that have no special emphasis.
Context: ...rc) * [Minor release checklist (new minor branch)](#52-minor-release-checklist-ne...

(EN_ADJ_ORDER)


[style] ~58-~58: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ty in a backwards-compatible manner. * Increment PATCH when you make backwards-compatibl...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~95-~95: Consider a more concise word here.
Context: ... that is stored in docs/openapi.json. In order to do it, run the following command: ```b...

(IN_ORDER_TO_PREMIUM)


[style] ~95-~95: Consider a more expressive alternative.
Context: ...red in docs/openapi.json. In order to do it, run the following command: ```bash...

(DO_ACHIEVE)


[grammar] ~126-~126: Use a hyphen to join words.
Context: ...ion}-py3-none-any.whl ``` Please double check that the {version} really contai...

(QB_NEW_EN_HYPHEN)


[style] ~127-~127: Consider using a different verb to strengthen your wording.
Context: ...the correct version number. Also please make sure that the archive was really built to av...

(MAKE_SURE_ENSURE)


[grammar] ~170-~170: Ensure spelling is correct
Context: ... ### Update link in README.md At the beggining of README.md there's a line: ```text...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[style] ~255-~255: This is not the usual sequence for adjectives that have no special emphasis.
Context: ...dds a new Konflux application for a new minor release branch, they must also add a **...

(EN_ADJ_ORDER)


[style] ~322-~322: This is not the usual sequence for adjectives that have no special emphasis.
Context: ...this registry path." When you add a new minor release branch or change RC/GA tagging,...

(EN_ADJ_ORDER)


[uncategorized] ~408-~408: The official name of this software platform is spelled with a capital “H”.
Context: ...ns (Quay)**: If you push a git tag, .github/workflows/build_and_push_release.yaml ...

(GITHUB)


[style] ~417-~417: This is not the usual sequence for adjectives that have no special emphasis.
Context: ...asePlan` / RPA**. #### Minor releases (new minor branch, e.g. 0.7) A minor bump (e....

(EN_ADJ_ORDER)


[uncategorized] ~441-~441: The official name of this software platform is spelled with a capital “H”.
Context: ...wn cadence. 8. GitHub Actions The .github/workflows/build_and_push_release.yaml ...

(GITHUB)


[uncategorized] ~465-~465: The official name of this software platform is spelled with a capital “H”.
Context: ...lication via GitHub Actions is desired (.github/workflows/build_and_push_release.yaml)...

(GITHUB)


[style] ~475-~475: This is not the usual sequence for adjectives that have no special emphasis.
Context: ...covery). #### Minor release checklist (new minor branch) Use this when opening a new mi...

(EN_ADJ_ORDER)


[uncategorized] ~489-~489: The official name of this software platform is spelled with a capital “H”.
Context: ...es cover 0.7-* tag patterns. - Verify .github/workflows/build_and_push_release.yaml ...

(GITHUB)


[uncategorized] ~513-~513: The official name of this software platform is spelled with a capital “H”.
Context: ...componentTags | | GitHub Actions (.github/workflows/build_and_push_release.yaml)...

(GITHUB)


[uncategorized] ~516-~516: The official name of this software platform is spelled with a capital “H”.
Context: ...kflow also has a dev image variant (.github/workflows/build_and_push_dev.yaml) tha...

(GITHUB)

🪛 markdownlint-cli2 (0.23.0)
docs/maintenance/lts_flow.md

[warning] 45-45: Heading levels should only increment by one level at a time
Expected: h2; Actual: h3

(MD001, heading-increment)


[warning] 722-722: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


[warning] 731-731: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)

docs/maintenance/releasing.md

[warning] 18-18: Link fragments should be valid

(MD051, link-fragments)


[warning] 20-20: Link fragments should be valid

(MD051, link-fragments)


[warning] 21-21: Link fragments should be valid

(MD051, link-fragments)


[warning] 22-22: Link fragments should be valid

(MD051, link-fragments)


[warning] 23-23: Link fragments should be valid

(MD051, link-fragments)


[warning] 24-24: Link fragments should be valid

(MD051, link-fragments)


[warning] 25-25: Link fragments should be valid

(MD051, link-fragments)


[warning] 26-26: Link fragments should be valid

(MD051, link-fragments)


[warning] 27-27: Link fragments should be valid

(MD051, link-fragments)


[warning] 28-28: Link fragments should be valid

(MD051, link-fragments)


[warning] 29-29: Link fragments should be valid

(MD051, link-fragments)


[warning] 30-30: Link fragments should be valid

(MD051, link-fragments)


[warning] 31-31: Link fragments should be valid

(MD051, link-fragments)


[warning] 32-32: Link fragments should be valid

(MD051, link-fragments)


[warning] 33-33: Link fragments should be valid

(MD051, link-fragments)


[warning] 34-34: Link fragments should be valid

(MD051, link-fragments)


[warning] 35-35: Link fragments should be valid

(MD051, link-fragments)


[warning] 36-36: Link fragments should be valid

(MD051, link-fragments)


[warning] 183-183: Heading levels should only increment by one level at a time
Expected: h3; Actual: h4

(MD001, heading-increment)


[warning] 244-244: Blank line inside blockquote

(MD028, no-blanks-blockquote)


[warning] 383-383: Ordered list item prefix
Expected: 1; Actual: 3; Style: 1/1/1

(MD029, ol-prefix)


[warning] 398-398: Spaces inside emphasis markers

(MD037, no-space-in-emphasis)


[warning] 431-431: Ordered list item prefix
Expected: 1; Actual: 4; Style: 1/2/3

(MD029, ol-prefix)


[warning] 433-433: Ordered list item prefix
Expected: 2; Actual: 5; Style: 1/2/3

(MD029, ol-prefix)


[warning] 435-435: Ordered list item prefix
Expected: 3; Actual: 6; Style: 1/2/3

(MD029, ol-prefix)


[warning] 438-438: Ordered list item prefix
Expected: 1; Actual: 7; Style: 1/2/3

(MD029, ol-prefix)


[warning] 440-440: Ordered list item prefix
Expected: 2; Actual: 8; Style: 1/2/3

(MD029, ol-prefix)


[warning] 442-442: Ordered list item prefix
Expected: 3; Actual: 9; Style: 1/2/3

(MD029, ol-prefix)


[warning] 443-443: Spaces inside emphasis markers

(MD037, no-space-in-emphasis)

🔇 Additional comments (5)
docs/README.md (1)

14-16: LGTM!

Also applies to: 55-56, 81-117, 169-169

docs/index.md (1)

21-23: LGTM!

Also applies to: 33-34, 62-63, 88-124, 175-176

docs/maintenance/branching.md (1)

160-168: LGTM!

docs/maintenance/lts_flow.md (1)

1-44: LGTM!

Also applies to: 46-721, 732-754

docs/maintenance/releasing.md (1)

1-4: LGTM!

Also applies to: 37-69, 73-104, 113-167, 171-177, 184-516

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Caution

Inline review comments failed to post. This is likely due to GitHub's internal server error or limits when posting large numbers of comments. If you are seeing this consistently it is likely a permissions issue. Please check "Moderation" -> "Code review limits" under your organization settings.

Actionable comments posted: 6

🤖 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 `@docs/maintenance/lts_flow.md`:
- Line 45: Update the LTS flow document heading structure: promote the “Goals”
heading from level 3 to level 2, and add blank lines before and after the
headings at the sections around lines 722 and 731. Preserve the existing heading
text and content while ensuring consistent Markdown spacing.

In `@docs/maintenance/releasing.md`:
- Around line 70-72: Update the TestPyPI prerequisite link in the releasing
documentation to use the valid TestPyPI site or token documentation URL,
replacing the invalid URL ending in /py while preserving the prerequisite
wording.
- Around line 18-36: Correct the release guide TOC links to use the anchors
generated from the document’s actual heading text, including proper separators
for numbered sections such as Goals of the layout and Applications and
components. In the release-organization section, change the Conventions heading
from h4 to h3 so it follows the surrounding h2 hierarchy without skipping a
level.
- Around line 5-14: Correct the release guide’s user-facing typos: use “PyPI”
consistently, change “an Python package” to “a Python package,” verify and
correct the apparent “README.mds” filename typo, and replace “beggining” with
“beginning.” Apply these fixes throughout the affected sections, including the
publishing and cleanup instructions.

In `@docs/user_doc/rest_api.uml`:
- Line 147: Update the GET /v1/rags/RAG_ID endpoint in the REST API diagram to
use brace-delimited path parameter notation, matching the existing
/v1/conversations/{conversation_id} convention.
- Around line 13-16: Update the endpoint module declarations in the diagram to
use query.py, streaming_query.py, and both current conversation handlers
conversations_v1.py and conversations_v2.py, while preserving the existing
rlsapi_v1.py declaration.
🪄 Autofix (Beta)

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: ASSERTIVE

Plan: Pro

Run ID: 510fa37f-3290-42a4-b0c6-67924df18ac0

📥 Commits

Reviewing files that changed from the base of the PR and between 57a9687 and 988184a.

⛔ Files ignored due to path filters (10)
  • docs/maintenance/branching_1.svg is excluded by !**/*.svg
  • docs/maintenance/branching_2.svg is excluded by !**/*.svg
  • docs/maintenance/branching_3.svg is excluded by !**/*.svg
  • docs/maintenance/lts_flow.svg is excluded by !**/*.svg
  • docs/user_doc/both_services_in_container.svg is excluded by !**/*.svg
  • docs/user_doc/lcs_in_container.svg is excluded by !**/*.svg
  • docs/user_doc/llama_stack_as_library.svg is excluded by !**/*.svg
  • docs/user_doc/llama_stack_as_service.svg is excluded by !**/*.svg
  • docs/user_doc/rest_api.png is excluded by !**/*.png
  • docs/user_doc/rest_api.svg is excluded by !**/*.svg
📒 Files selected for processing (6)
  • docs/README.md
  • docs/index.md
  • docs/maintenance/branching.md
  • docs/maintenance/lts_flow.md
  • docs/maintenance/releasing.md
  • docs/user_doc/rest_api.uml
📜 Review details
🔇 Additional comments (5)
docs/README.md (1)

14-16: LGTM!

Also applies to: 55-56, 81-117, 169-169

docs/index.md (1)

21-23: LGTM!

Also applies to: 33-34, 62-63, 88-124, 175-176

docs/maintenance/branching.md (1)

160-168: LGTM!

docs/maintenance/lts_flow.md (1)

1-44: LGTM!

Also applies to: 46-721, 732-754

docs/maintenance/releasing.md (1)

1-4: LGTM!

Also applies to: 37-69, 73-104, 113-167, 171-177, 184-516

🛑 Comments failed to post (6)
docs/maintenance/lts_flow.md (1)

45-45: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Fix the LTS page heading structure.

Change Line 45 from ### Goals to ## Goals, and add blank lines around the headings at Lines 722 and 731. The current structure violates Markdown heading/spacing rules and can produce inconsistent navigation or rendering.

Also applies to: 722-731

🧰 Tools
🪛 markdownlint-cli2 (0.23.0)

[warning] 45-45: Heading levels should only increment by one level at a time
Expected: h2; Actual: h3

(MD001, heading-increment)

🤖 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 `@docs/maintenance/lts_flow.md` at line 45, Update the LTS flow document
heading structure: promote the “Goals” heading from level 3 to level 2, and add
blank lines before and after the headings at the sections around lines 722 and
731. Preserve the existing heading text and content while ensuring consistent
Markdown spacing.

Source: Linters/SAST tools

docs/maintenance/releasing.md (3)

5-14: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Fix user-facing release-guide typos.

Use PyPI consistently, change “an Python package” to “a Python package,” verify the apparent README.mds typo, and correct beggining to beginning.

Also applies to: 105-112, 168-170

🤖 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 `@docs/maintenance/releasing.md` around lines 5 - 14, Correct the release
guide’s user-facing typos: use “PyPI” consistently, change “an Python package”
to “a Python package,” verify and correct the apparent “README.mds” filename
typo, and replace “beggining” with “beginning.” Apply these fixes throughout the
affected sections, including the publishing and cleanup instructions.

Source: Linters/SAST tools


18-36: 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Correct the release-guide TOC anchors and heading hierarchy.

The TOC fragments such as #release-organization, #1-goals-of-the-layout, and #21-applications-and-components do not match the actual generated anchors. Also change #### Conventions on Line 183 to ### Conventions so the heading level does not skip from the h2 section.

Also applies to: 178-183

🧰 Tools
🪛 LanguageTool

[style] ~31-~31: This is not the usual sequence for adjectives that have no special emphasis.
Context: ...atch-and-rc) * [Minor releases (new minor branch, e.g. 0.7)](#43-minor-releases-n...

(EN_ADJ_ORDER)


[style] ~34-~34: This is not the usual sequence for adjectives that have no special emphasis.
Context: ...rc) * [Minor release checklist (new minor branch)](#52-minor-release-checklist-ne...

(EN_ADJ_ORDER)

🪛 markdownlint-cli2 (0.23.0)

[warning] 18-18: Link fragments should be valid

(MD051, link-fragments)


[warning] 20-20: Link fragments should be valid

(MD051, link-fragments)


[warning] 21-21: Link fragments should be valid

(MD051, link-fragments)


[warning] 22-22: Link fragments should be valid

(MD051, link-fragments)


[warning] 23-23: Link fragments should be valid

(MD051, link-fragments)


[warning] 24-24: Link fragments should be valid

(MD051, link-fragments)


[warning] 25-25: Link fragments should be valid

(MD051, link-fragments)


[warning] 26-26: Link fragments should be valid

(MD051, link-fragments)


[warning] 27-27: Link fragments should be valid

(MD051, link-fragments)


[warning] 28-28: Link fragments should be valid

(MD051, link-fragments)


[warning] 29-29: Link fragments should be valid

(MD051, link-fragments)


[warning] 30-30: Link fragments should be valid

(MD051, link-fragments)


[warning] 31-31: Link fragments should be valid

(MD051, link-fragments)


[warning] 32-32: Link fragments should be valid

(MD051, link-fragments)


[warning] 33-33: Link fragments should be valid

(MD051, link-fragments)


[warning] 34-34: Link fragments should be valid

(MD051, link-fragments)


[warning] 35-35: Link fragments should be valid

(MD051, link-fragments)


[warning] 36-36: Link fragments should be valid

(MD051, link-fragments)

🤖 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 `@docs/maintenance/releasing.md` around lines 18 - 36, Correct the release
guide TOC links to use the anchors generated from the document’s actual heading
text, including proper separators for numbered sections such as Goals of the
layout and Applications and components. In the release-organization section,
change the Conventions heading from h4 to h3 so it follows the surrounding h2
hierarchy without skipping a level.

Source: Linters/SAST tools


70-72: 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Fix the TestPyPI prerequisite URL.

The link currently ends in /py and returns 404; point it to the valid TestPyPI site or its token documentation instead. ()

🤖 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 `@docs/maintenance/releasing.md` around lines 70 - 72, Update the TestPyPI
prerequisite link in the releasing documentation to use the valid TestPyPI site
or token documentation URL, replacing the invalid URL ending in /py while
preserving the prerequisite wording.

Source: MCP tools

docs/user_doc/rest_api.uml (2)

13-16: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Find actual Python files for query, streaming_query, and conversations
fd -t f -e py '^(query|streaming_query|conversations).*\.py$' src

Repository: lightspeed-core/lightspeed-stack

Length of output: 618


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Show the relevant UML lines with numbers
sed -n '1,40p' docs/user_doc/rest_api.uml | nl -ba

# Re-list endpoint files to anchor the current names
fd -t f -e py '^(query|streaming_query|conversations).*\.py$' src/app/endpoints

Repository: lightspeed-core/lightspeed-stack

Length of output: 210


🏁 Script executed:

#!/bin/bash
set -euo pipefail

sed -n '1,220p' docs/user_doc/rest_api.uml | cat -n | sed -n '1,220p'

Repository: lightspeed-core/lightspeed-stack

Length of output: 6082


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Find the conversation endpoint modules and their route declarations
for f in src/app/endpoints/conversations_v1.py src/app/endpoints/conversations_v2.py; do
  echo "### $f"
  sed -n '1,220p' "$f" | grep -nE '`@router`|APIRouter|include_router|/v1/conversations|conversation_id|Conversation'
  echo
done

Repository: lightspeed-core/lightspeed-stack

Length of output: 5414


Update the endpoint module names in the diagram. query_v2.py, streaming_query_v2.py, and conversations_v3.py don’t match the current layout; use query.py, streaming_query.py, and the current conversation handlers (conversations_v1.py / conversations_v2.py) instead.

🤖 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 `@docs/user_doc/rest_api.uml` around lines 13 - 16, Update the endpoint module
declarations in the diagram to use query.py, streaming_query.py, and both
current conversation handlers conversations_v1.py and conversations_v2.py, while
preserving the existing rlsapi_v1.py declaration.

147-147: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Use consistent path parameter notation.

For consistency with the other endpoints in this diagram (such as /v1/conversations/{conversation_id}), consider standardizing the path parameter format.

♻️ Proposed fix
-Client->>API_server: GET /v1/rags/RAG_ID
+Client->>API_server: GET /v1/rags/{rag_id}
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Client->>API_server: GET /v1/rags/{rag_id}
🤖 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 `@docs/user_doc/rest_api.uml` at line 147, Update the GET /v1/rags/RAG_ID
endpoint in the REST API diagram to use brace-delimited path parameter notation,
matching the existing /v1/conversations/{conversation_id} convention.

@tisnik
tisnik merged commit 7d0895c into lightspeed-core:main Jul 19, 2026
28 checks passed
This was referenced Jul 19, 2026
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