Skip to content

Release/0.5#1883

Closed
tisnik wants to merge 22 commits into
mainfrom
release/0.5
Closed

Release/0.5#1883
tisnik wants to merge 22 commits into
mainfrom
release/0.5

Conversation

@tisnik

@tisnik tisnik commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Description

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

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

  • Assisted-by: (e.g., Claude, CodeRabbit, Ollama, etc., N/A if not used)
  • Generated by: (e.g., tool name and version; N/A if not used)

Related Tickets & Documents

  • Related Issue #
  • Closes #

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.

Summary by CodeRabbit

Release Notes

  • New Features

    • Added Vector Stores API for managing and organizing vector stores with create, list, retrieve, update, and delete operations.
    • Added file management endpoints to upload files, add them to vector stores, and manage file metadata.
    • Implemented file upload size limit (100 MB) for DoS protection.
  • Documentation

    • Updated version references to 0.5.1 across all documentation and examples.

tisnik and others added 22 commits April 14, 2026 14:09
LCORE-1617 Centralize Llama Stack Vector Store
Signed-off-by: red-hat-konflux-kflux-prd-rh02 <konflux@no-reply.konflux-ci.dev>
Signed-off-by: Haoyu Sun <hasun@redhat.com>
Signed-off-by: Haoyu Sun <hasun@redhat.com>
LCORE-1780: Cherry Picked #1473 For 0.5.1
Signed-off-by: red-hat-konflux-kflux-prd-rh02 <190377777+red-hat-konflux-kflux-prd-rh02[bot]@users.noreply.github.com>
…ase/0.5

chore(deps): update konflux references
Signed-off-by: red-hat-konflux-kflux-prd-rh02 <190377777+red-hat-konflux-kflux-prd-rh02[bot]@users.noreply.github.com>
…ase/0.5

chore(deps): update konflux references
Signed-off-by: red-hat-konflux-kflux-prd-rh02 <190377777+red-hat-konflux-kflux-prd-rh02[bot]@users.noreply.github.com>
…ase/0.5

chore(deps): update konflux references
Signed-off-by: red-hat-konflux-kflux-prd-rh02 <190377777+red-hat-konflux-kflux-prd-rh02[bot]@users.noreply.github.com>
…ase/0.5

chore(deps): update konflux references
Signed-off-by: red-hat-konflux-kflux-prd-rh02 <190377777+red-hat-konflux-kflux-prd-rh02[bot]@users.noreply.github.com>
…ase/0.5

chore(deps): update konflux references
Signed-off-by: red-hat-konflux-kflux-prd-rh02 <konflux@no-reply.konflux-ci.dev>
…k-0-5

Red Hat Konflux kflux-prd-rh02 update lightspeed-stack-0-5
@tisnik tisnik closed this Jun 9, 2026
@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: a00aa6ab-bde9-4c10-9e23-348ebffa07ea

📥 Commits

Reviewing files that changed from the base of the PR and between 82f6ca4 and 15dcf01.

📒 Files selected for processing (25)
  • .tekton/lightspeed-stack-0-5-pull-request.yaml
  • .tekton/lightspeed-stack-0-5-push.yaml
  • .tekton/lightspeed-stack-pull-request.yaml
  • .tekton/lightspeed-stack-push.yaml
  • .tekton/lightspeed-stack-release-0-5-pull-request.yaml
  • .tekton/lightspeed-stack-release-0-5-push.yaml
  • README.md
  • docs/openapi.json
  • docs/splunk.md
  • src/app/endpoints/vector_stores.py
  • src/app/routers.py
  • src/constants.py
  • src/models/config.py
  • src/models/requests.py
  • src/models/responses.py
  • src/observability/README.md
  • src/version.py
  • tests/e2e/features/info.feature
  • tests/integration/endpoints/test_rlsapi_v1_integration.py
  • tests/unit/app/endpoints/conftest.py
  • tests/unit/app/endpoints/test_vector_stores.py
  • tests/unit/app/test_routers.py
  • tests/unit/models/requests/test_vector_store_requests.py
  • tests/unit/models/responses/test_error_responses.py
  • tests/unit/observability/formats/test_rlsapi.py

Walkthrough

This PR introduces vector store management capabilities through a new REST API while updating infrastructure for release workflows. It adds complete CRUD operations for vector stores and their associated files, including file upload with size validation and retry logic for transient database failures, alongside new Tekton CI/CD pipelines and a coordinated version bump to 0.5.1.

Changes

Vector Stores API & Release Infrastructure

Layer / File(s) Summary
Version & documentation sync
src/version.py, README.md, docs/openapi.json, docs/splunk.md, src/observability/README.md, tests/unit/observability/formats/test_rlsapi.py, tests/integration/endpoints/test_rlsapi_v1_integration.py, tests/unit/app/endpoints/conftest.py, tests/e2e/features/info.feature
Version string updated from 0.5.0 to 0.5.1 across module exports, documentation, and test fixtures.
Vector stores data models & config
src/constants.py, src/models/config.py, src/models/requests.py, src/models/responses.py
New request models (VectorStoreCreateRequest, VectorStoreUpdateRequest, VectorStoreFileCreateRequest) with validation; response models for vector stores, files, and errors; RBAC action constants; and file upload size constant (100 MB).
Vector stores REST API endpoints
src/app/endpoints/vector_stores.py
FastAPI endpoints for vector store CRUD, file upload with content-length and size validation, file management within vector stores, retry/backoff logic for database lock failures, and standardized error mapping (503 for connectivity, 404 for not-found, 413 for file-too-large).
Vector stores router integration
src/app/routers.py
Imports vector_stores module and registers router under /v1 prefix alongside other versioned API routers.
Vector stores comprehensive testing
tests/unit/app/endpoints/test_vector_stores.py, tests/unit/models/requests/test_vector_store_requests.py, tests/unit/app/test_routers.py, tests/unit/models/responses/test_error_responses.py
Unit tests for vector store CRUD operations, file upload/management, database lock retry behavior with exponential backoff, error status code mappings, request model validation (field counts, key/value length constraints), and router registration.
Tekton release pipeline configurations
.tekton/lightspeed-stack-0-5-pull-request.yaml, .tekton/lightspeed-stack-0-5-push.yaml, .tekton/lightspeed-stack-pull-request.yaml, .tekton/lightspeed-stack-push.yaml, .tekton/lightspeed-stack-release-0-5-pull-request.yaml, .tekton/lightspeed-stack-release-0-5-push.yaml
New PipelineRun manifests for release/0.5 branch workflows (PR and push events); updates to existing pipelines to add enable-package-registry-proxy and sast-target-dirs parameters passed to prefetch and SAST tasks; updated task bundle digests across all tasks.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Suggested labels

ok-to-test

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/0.5
⚔️ Resolve merge conflicts
  • Resolve merge conflict in branch release/0.5
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch release/0.5

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 and usage tips.

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.

3 participants