Skip to content

LCORE-1610: Updated Konflux dependencies#1424

Merged
tisnik merged 2 commits into
lightspeed-core:mainfrom
tisnik:lcore-1610-updated-konflux-dependencies
Mar 29, 2026
Merged

LCORE-1610: Updated Konflux dependencies#1424
tisnik merged 2 commits into
lightspeed-core:mainfrom
tisnik:lcore-1610-updated-konflux-dependencies

Conversation

@tisnik

@tisnik tisnik commented Mar 29, 2026

Copy link
Copy Markdown
Contributor

Description

LCORE-1610: Updated Konflux dependencies

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

Summary by CodeRabbit

  • Chores
    • Updated CI/CD pipeline package lists used during builds.
    • Bumped multiple pinned dependency versions and added one new dependency.
    • Removed obsolete pinned entries from wheel requirements.
    • Regenerated and updated dependency verification hashes.
    • Updated build-time tooling pins and added an explicit resolved build helper package.

@coderabbitai

coderabbitai Bot commented Mar 29, 2026

Copy link
Copy Markdown
Contributor

Walkthrough

Modify Tekton pipeline prefetch package lists (remove httpx from push pipeline) and update pinned dependency versions and hashes across requirements files, including adding google-cloud-resource-manager==1.17.0 and updating multiple package pins/hashes.

Changes

Cohort / File(s) Summary
Tekton pipeline YAMLs
.tekton/lightspeed-stack-pull-request.yaml, .tekton/lightspeed-stack-push.yaml
Edited spec.params[].value.prefetch-input[].binary.packages strings; push pipeline removal of httpx from the comma-separated package list (pull-request pipeline adjusted to match).
Requirements — source hashes
requirements.hashes.source.txt
Updated pinned versions and hash blocks: google-cloud-aiplatform → 1.143.0, googleapis-common-protos → 1.73.1, openai → 2.30.0, proto-plus → 1.27.2, pythainlp → 5.3.3, regex → 2026.3.32, sse-starlette → 3.3.4, requests → 2.33.0; added google-cloud-resource-manager==1.17.0 with hashes.
Requirements — wheel hashes
requirements.hashes.wheel.txt
Removed hashed entries for google-cloud-resource-manager==1.16.0 and requests==2.32.5.
Build requirements
requirements-build.txt
Bumped build pins: poetry-core 2.3.1→2.3.2, setuptools-rust 1.12.0→1.12.1, setuptools-scm 9.2.2→10.0.5; added vcs-versioning==1.1.1 (resolved dependency) and updated comment graph.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related issues

Possibly related PRs

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title broadly mentions 'Updated Konflux dependencies' which aligns with some changes (Tekton YAML files), but the PR also includes significant Python dependency updates in requirements files and a commit message referencing a 'chardet issue' fix that is not captured in the title. Consider clarifying the title to reflect the scope: either focus on 'Updated Konflux dependencies' if that's the primary change, or broaden it to 'Updated Konflux dependencies and Python packages' to capture all modifications.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

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

@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: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@requirements.hashes.source.txt`:
- Around line 295-297: Lockfile drift: google-cloud-resource-manager is pinned
to 1.17.0 in requirements.hashes.source.txt but uv.lock has 1.16.0; choose the
intended version (preferably 1.17.0 to match requirements.hashes.source.txt) and
regenerate/sync uv.lock using the project's lockfile generator so the package
version and hashes match; after regeneration, verify uv.lock now lists
google-cloud-resource-manager==1.17.0 with the same sha256 hashes as in
requirements.hashes.source.txt and commit the updated uv.lock.
🪄 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: 4c87bf31-8b12-4d95-b73f-7d5090201d90

📥 Commits

Reviewing files that changed from the base of the PR and between 5aa1a4d and be06db6.

📒 Files selected for processing (4)
  • .tekton/lightspeed-stack-pull-request.yaml
  • .tekton/lightspeed-stack-push.yaml
  • requirements.hashes.source.txt
  • requirements.hashes.wheel.txt
💤 Files with no reviewable changes (1)
  • requirements.hashes.wheel.txt
📜 Review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
  • GitHub Check: build-pr
  • GitHub Check: Konflux kflux-prd-rh02 / lightspeed-stack-on-pull-request
  • GitHub Check: E2E: library mode / ci
  • GitHub Check: E2E: server mode / ci
  • GitHub Check: E2E Tests for Lightspeed Evaluation job
🔇 Additional comments (11)
.tekton/lightspeed-stack-push.yaml (1)

53-53: prefetch-input package update looks structurally correct.

The updated package string at Line 53 remains valid within the existing JSON payload and Tekton parameter shape.

.tekton/lightspeed-stack-pull-request.yaml (1)

61-61: prefetch-input dependency list update is well-formed.

Line 61 keeps the expected format and integrates cleanly with the existing pipeline parameter payload.

requirements.hashes.source.txt (9)

35-61: chardet bump/hash refresh looks good.

Version and hash block at Lines 35-61 appears consistently regenerated.


289-291: google-cloud-aiplatform update is consistent.

The version/hash pair at Lines 289-291 looks correct for a lock refresh.


301-303: googleapis-common-protos bump/hash refresh looks valid.


501-503: openai version/hash update looks consistent.


639-641: proto-plus bump and hashes look properly refreshed.


732-734: pythainlp update appears clean and consistent.


741-855: regex block refresh looks internally consistent.

Large hash-set refresh at Lines 741-855 appears correctly regenerated for the pinned version.


856-858: requests pin/hash update looks properly formed.


868-870: sse-starlette version/hash update is consistent.

Comment on lines +295 to +297
google-cloud-resource-manager==1.17.0 \
--hash=sha256:0f486b62e2c58ff992a3a50fa0f4a96eef7750aa6c971bb373398ccb91828660 \
--hash=sha256:e479baf4b014a57f298e01b8279e3290b032e3476d69c8e5e1427af8f82739a5

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.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Source hash pin:"
rg -n '^google-cloud-resource-manager==' requirements.hashes.source.txt

echo
echo "uv.lock pin:"
rg -n -C2 'name = "google-cloud-resource-manager"|version = "1\.' uv.lock

echo
echo "Wheel hash pin (if present):"
fd '^requirements\.hashes\.wheel\.txt$' -x rg -n '^google-cloud-resource-manager==' {}

Repository: lightspeed-core/lightspeed-stack

Length of output: 14314


Lockfile drift: google-cloud-resource-manager version mismatch between lockfiles.

requirements.hashes.source.txt pins version 1.17.0 (line 295), while uv.lock pins 1.16.0 (line 978). This divergence can cause different dependency versions to be installed depending on which lockfile is used. Regenerate and sync uv.lock to match.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@requirements.hashes.source.txt` around lines 295 - 297, Lockfile drift:
google-cloud-resource-manager is pinned to 1.17.0 in
requirements.hashes.source.txt but uv.lock has 1.16.0; choose the intended
version (preferably 1.17.0 to match requirements.hashes.source.txt) and
regenerate/sync uv.lock using the project's lockfile generator so the package
version and hashes match; after regeneration, verify uv.lock now lists
google-cloud-resource-manager==1.17.0 with the same sha256 hashes as in
requirements.hashes.source.txt and commit the updated uv.lock.

@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: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@requirements-build.txt`:
- Line 76: Replace the invalid pinned dependency "poetry-core==2.3.2" with the
released version "poetry-core==2.3.1" in the requirements file so the build uses
a valid Poetry core package; locate the line containing the token
poetry-core==2.3.2 and change it back to poetry-core==2.3.1.

In `@requirements.hashes.source.txt`:
- Around line 874-876: The requirements entry pins a non-existent package
version sse-starlette==3.3.4; update the requirement line to
sse-starlette==3.3.3 and regenerate or replace the associated --hash values
accordingly (or remove the two --hash entries) so the hashes match the 3.3.3
release; locate the sse-starlette==3.3.4 line in requirements.hashes.source.txt
and change the version and hashes for sse-starlette to the correct ones for
3.3.3.
🪄 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: 7ce2626d-bb86-4592-b9f5-ce4410d044fd

📥 Commits

Reviewing files that changed from the base of the PR and between be06db6 and 57610f5.

📒 Files selected for processing (2)
  • requirements-build.txt
  • requirements.hashes.source.txt
📜 Review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
  • GitHub Check: build-pr
  • GitHub Check: Konflux kflux-prd-rh02 / lightspeed-stack-on-pull-request
  • GitHub Check: E2E: server mode / ci
  • GitHub Check: E2E: library mode / ci
  • GitHub Check: E2E Tests for Lightspeed Evaluation job
🔇 Additional comments (15)
requirements.hashes.source.txt (9)

301-303: Verify lockfile synchronization for google-cloud-resource-manager.

A previous review flagged that google-cloud-resource-manager had version drift between requirements.hashes.source.txt (1.17.0) and uv.lock (1.16.0). Confirm that uv.lock has been regenerated and now also pins version 1.17.0 with matching hashes.

#!/bin/bash
# Verify uv.lock now has google-cloud-resource-manager==1.17.0

echo "Checking uv.lock for google-cloud-resource-manager version:"
rg -n -A2 'name = "google-cloud-resource-manager"' uv.lock | rg 'version'

echo ""
echo "Checking requirements.hashes.source.txt pin:"
rg -n '^google-cloud-resource-manager==' requirements.hashes.source.txt

747-861: No changes needed. The version 2026.3.32 is valid and exists on PyPI, released on 2026-03-28 (March 28, 2026). While the version number contains "32," it does not strictly follow a YYYY.M.D (year.month.day) format—the third component is not the day of release. The version is legitimate and is the latest release of the regex package.


307-309: googleapis-common-protos==1.73.1 is valid and current.

The version 1.73.1 is the latest release as of 2026-03-26 and is available on PyPI. The patch version bump from 1.73.0 is correct.


295-297: Version 1.143.0 is valid and safe to update.

This is the latest version of google-cloud-aiplatform and includes security patches for previously known vulnerabilities (CVE-2026-2472, CVE-2026-2473). No security advisories exist for this release.


645-647: proto-plus==1.27.2 is the latest version.

The version bump from 1.27.1 to 1.27.2 is a valid patch release.


738-740: pythainlp==5.3.3 is valid and current. This is the latest version available.


507-509: openai==2.30.0 is a safe, non-breaking minor version update.

Version 2.30.0 is the latest release and includes new features (keys field for computer actions) and bug fixes (type alignment, endpoint sanitization, ResponseInputMessageItem type requirement), with no documented breaking changes.


862-864: No issues found with requests==2.33.0 update.

Version 2.33.0 is the latest release and contains no open CVEs. In fact, this update fixes CVE-2026-25645, which affected earlier versions. Version 2.32.5 is also unaffected by any open CVEs. The update is safe to proceed with.


35-67: Clarify what "Fixed chardet issue" means in the commit message.

Chardet is a transitive dependency (appears in pyproject.toml as chardet>=5.2.0 and in requirements-build.txt comments). The version remains at 7.3.0 in the hash file, and the commit 57610f5 specifically modified the chardet pinning section. However, the commit message doesn't explain what was fixed. Was this:

  • A hash consistency regeneration?
  • A transitive dependency resolution issue?
  • A hash pinning correctness problem?

Please clarify what issue was resolved so reviewers can verify the fix is complete.

requirements-build.txt (6)

148-148: LGTM: requests added to unsafe setuptools dependencies.

The addition of requests to the unsafe dependencies comment is accurate, reflecting that setuptools has a dependency on requests. This aligns with the requests version update to 2.33.0 in requirements.hashes.source.txt.


158-158: LGTM: vcs-versioning added to unsafe setuptools dependencies.

The addition of vcs-versioning to the unsafe dependencies comment is accurate, reflecting its transitive relationship through setuptools-scm.


68-68: LGTM: vcs-versioning added to packaging dependencies comment.

The addition of vcs-versioning to the packaging dependencies list is accurate, as vcs-versioning depends on the packaging library.


100-101: New transitive dependency: vcs-versioning==1.1.1

This is a new transitive dependency introduced by setuptools-scm 10.x. Version 1.1.1 is the latest release and satisfies the requirement specified in setuptools-scm 10.0.5.


84-84: No changes needed — setuptools-rust==1.12.1 is valid (latest available on PyPI).


86-86: setuptools-scm==10.0.5 is compatible with this project and requires no action.

The project's Python version requirement (3.12–3.13) exceeds the minimum Python 3.10 required by setuptools-scm 10.0. The new vcs-versioning dependency introduced in 10.0 is already present in requirements-build.txt (v1.1.1), and hatch-vcs 0.5.0 properly depends on setuptools-scm 10.0.5.

Comment thread requirements-build.txt
pluggy==1.6.0
# via hatchling
poetry-core==2.3.1
poetry-core==2.3.2

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.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🌐 Web query:

What is the latest version of poetry-core Python package?

💡 Result:

The latest version of the poetry-core Python package is 2.3.1.

Citations:


poetry-core==2.3.2 does not exist; revert to 2.3.1.

The specified version 2.3.2 is not a released version of poetry-core. According to PyPI and official releases, the latest available version is 2.3.1. Change the pin back to poetry-core==2.3.1 to fix the build dependency.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@requirements-build.txt` at line 76, Replace the invalid pinned dependency
"poetry-core==2.3.2" with the released version "poetry-core==2.3.1" in the
requirements file so the build uses a valid Poetry core package; locate the line
containing the token poetry-core==2.3.2 and change it back to
poetry-core==2.3.1.

Comment on lines +874 to +876
sse-starlette==3.3.4 \
--hash=sha256:84bb06e58939a8b38d8341f1bc9792f06c2b53f48c608dd207582b664fc8f3c1 \
--hash=sha256:aaf92fc067af8a5427192895ac028e947b484ac01edbc3caf00e7e7137c7bef1

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.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🌐 Web query:

What is the latest version of sse-starlette Python package?

💡 Result:

The latest version of the sse-starlette Python package is 3.3.3.

Citations:


sse-starlette==3.3.4 does not exist on PyPI; downgrade to 3.3.3.

The latest available version of sse-starlette is 3.3.3. Version 3.3.4 does not exist and pinning to it will cause package installation to fail.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@requirements.hashes.source.txt` around lines 874 - 876, The requirements
entry pins a non-existent package version sse-starlette==3.3.4; update the
requirement line to sse-starlette==3.3.3 and regenerate or replace the
associated --hash values accordingly (or remove the two --hash entries) so the
hashes match the 3.3.3 release; locate the sse-starlette==3.3.4 line in
requirements.hashes.source.txt and change the version and hashes for
sse-starlette to the correct ones for 3.3.3.

@tisnik
tisnik merged commit d50fb39 into lightspeed-core:main Mar 29, 2026
24 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