Skip to content

ci: couple of tweaks and fixes - #1049

Merged
TomerFi merged 2 commits into
devfrom
chore/add-uv-lock-hook
Aug 12, 2026
Merged

ci: couple of tweaks and fixes#1049
TomerFi merged 2 commits into
devfrom
chore/add-uv-lock-hook

Conversation

@TomerFi

@TomerFi TomerFi commented Aug 12, 2026

Copy link
Copy Markdown
Owner
  • ci: tweaked pre-commit config
  • chore: add claude symlinks

Summary by CodeRabbit

  • Chores
    • Updated commit checks to protect the dev branch.
    • Added validation to ensure the project’s dependency lock file remains synchronized.

Signed-off-by: Tomer Figenblat <tomer@figenblat.com>
Signed-off-by: Tomer Figenblat <tomer@figenblat.com>
@sourcery-ai

sourcery-ai Bot commented Aug 12, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR updates the pre-commit configuration to refine branch protection and add a new uv lock hook, alongside minor CI-related housekeeping tweaks.

File-Level Changes

Change Details Files
Tighten pre-commit branch protection and add uv lock management to CI tooling.
  • Configure the no-commit-to-branch hook to specifically protect the dev branch via args.
  • Add the uv-pre-commit repository to the pre-commit configuration.
  • Enable the uv-lock hook to keep Python dependency lock files up to date in CI.
.pre-commit-config.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@snyk-io

snyk-io Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: cf9c0e30-10e4-40bd-9f63-bde6614c4302

📥 Commits

Reviewing files that changed from the base of the PR and between 3a7f25e and 5455b96.

📒 Files selected for processing (1)
  • .pre-commit-config.yaml

Walkthrough

The pre-commit configuration now protects the dev branch and runs the frozen uv-lock hook from uv-pre-commit revision 0.12.3.

Changes

Pre-commit configuration

Layer / File(s) Summary
Pre-commit hook updates
.pre-commit-config.yaml
The no-commit-to-branch hook now targets dev. The configuration adds the frozen uv-pre-commit repository and its uv-lock hook.

Suggested reviewers: dmatik, yogevbokobza

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title identifies CI changes but uses vague wording that does not describe the pre-commit configuration updates or Claude symlinks. Use a specific title, such as "ci: update pre-commit hooks and add Claude symlinks".
✅ Passed checks (4 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.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/add-uv-lock-hook

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.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results

69 tests   69 ✅  1s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 5455b96.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@codecov

codecov Bot commented Aug 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.07%. Comparing base (c6c0f1f) to head (5455b96).
⚠️ Report is 2 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #1049   +/-   ##
=======================================
  Coverage   96.07%   96.07%           
=======================================
  Files           1        1           
  Lines         331      331           
=======================================
  Hits          318      318           
  Misses         13       13           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@TomerFi
TomerFi merged commit cc59a24 into dev Aug 12, 2026
10 checks passed
@TomerFi
TomerFi deleted the chore/add-uv-lock-hook branch August 12, 2026 19:33
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