Skip to content

LCORE-1215: Preparing for 0.4.2 release#1288

Merged
tisnik merged 1 commit intolightspeed-core:mainfrom
tisnik:lcore-1215-preparing-for-0.4.2-release
Mar 9, 2026
Merged

LCORE-1215: Preparing for 0.4.2 release#1288
tisnik merged 1 commit intolightspeed-core:mainfrom
tisnik:lcore-1215-preparing-for-0.4.2-release

Conversation

@tisnik
Copy link
Copy Markdown
Contributor

@tisnik tisnik commented Mar 9, 2026

Description

LCORE-1215: Preparing for 0.4.2 release

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-1215

Summary by CodeRabbit

  • Chores
    • Released version 0.4.2. Version identifiers updated from 0.4.1 to 0.4.2 across all project materials, including release documentation and tags, API specifications, telemetry event payload examples, platform-specific integration documentation, application configuration constants, and automated test fixtures. All version strings throughout the project now consistently reflect 0.4.2.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 9, 2026

Walkthrough

This release bump updates the project version from 0.4.1 to 0.4.2. Changes include updating the version constant, documentation, OpenAPI specification, telemetry examples, and test expectations across the codebase.

Changes

Cohort / File(s) Summary
Core Version
src/version.py
Updated __version__ constant from "0.4.1" to "0.4.2".
Documentation & Configuration
README.md, docs/openapi.json, docs/splunk.md, src/observability/README.md
Updated version references in badge link, OpenAPI spec, telemetry documentation examples, and event payload references from 0.4.1 to 0.4.2.
Test Expectations & Fixtures
tests/e2e/features/info.feature, tests/integration/endpoints/test_rlsapi_v1_integration.py, tests/unit/app/endpoints/test_rlsapi_v1.py, tests/unit/observability/formats/test_rlsapi.py
Updated version expectations in test cases, mock User-Agent headers, and test fixtures from 0.4.1 to 0.4.2.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: preparing the project for version 0.4.2 release by updating version numbers across multiple files and test fixtures.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (2)
README.md (1)

9-9: Link the badge to the latest release page.

The badge text is dynamic already, but the target URL is pinned to 0.4.2, so this will need another manual edit on the next release. Pointing it at the latest release page removes that drift point.

♻️ Suggested change
-[![Tag](https://img.shields.io/github/v/tag/lightspeed-core/lightspeed-stack)](https://github.com/lightspeed-core/lightspeed-stack/releases/tag/0.4.2)
+[![Tag](https://img.shields.io/github/v/tag/lightspeed-core/lightspeed-stack)](https://github.com/lightspeed-core/lightspeed-stack/releases/latest)
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` at line 9, Update the badge link target so it always points to the
latest release page instead of the pinned tag URL; locate the markdown badge
string starting with "[![Tag](" in README.md and replace the hardcoded
".../releases/tag/0.4.2" target with the repository's latest release URL (e.g.,
use the "/releases/latest" endpoint) so the badge link automatically resolves to
the newest release.
tests/unit/app/endpoints/test_rlsapi_v1.py (1)

68-68: Derive the mocked User-Agent from the shared version constant.

Hardcoding CLA/0.4.2 here means this helper needs a manual edit every release and can drift from src/version.py. Building it from __version__ keeps the test aligned automatically.

♻️ Suggested change
 from utils.suid import check_suid
+from version import __version__
@@
-    mock_request.headers = {"User-Agent": "CLA/0.4.2"}
+    mock_request.headers = {"User-Agent": f"CLA/{__version__}"}
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@tests/unit/app/endpoints/test_rlsapi_v1.py` at line 68, Replace the hardcoded
User-Agent string with a value derived from the package version: import the
module-level __version__ (e.g., from version import __version__ or from
src.version import __version__) at the top of the test file and set
mock_request.headers to use f"CLA/{__version__}" instead of "CLA/0.4.2"; update
the import section to include __version__ so the test always reflects the
current release version.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@README.md`:
- Line 9: Update the badge link target so it always points to the latest release
page instead of the pinned tag URL; locate the markdown badge string starting
with "[![Tag](" in README.md and replace the hardcoded ".../releases/tag/0.4.2"
target with the repository's latest release URL (e.g., use the
"/releases/latest" endpoint) so the badge link automatically resolves to the
newest release.

In `@tests/unit/app/endpoints/test_rlsapi_v1.py`:
- Line 68: Replace the hardcoded User-Agent string with a value derived from the
package version: import the module-level __version__ (e.g., from version import
__version__ or from src.version import __version__) at the top of the test file
and set mock_request.headers to use f"CLA/{__version__}" instead of "CLA/0.4.2";
update the import section to include __version__ so the test always reflects the
current release version.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: a30d9749-5ffd-455a-adc0-6a8c7d90a8e4

📥 Commits

Reviewing files that changed from the base of the PR and between ad686e4 and 299e6d0.

📒 Files selected for processing (9)
  • README.md
  • docs/openapi.json
  • docs/splunk.md
  • src/observability/README.md
  • src/version.py
  • tests/e2e/features/info.feature
  • tests/integration/endpoints/test_rlsapi_v1_integration.py
  • tests/unit/app/endpoints/test_rlsapi_v1.py
  • tests/unit/observability/formats/test_rlsapi.py

@tisnik tisnik merged commit 64bb63a into lightspeed-core:main Mar 9, 2026
22 checks passed
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