Skip to content

chore: support uv.lock and version.txt in release config#274

Merged
SoulPancake merged 1 commit intomainfrom
chore/support-uvlock-versiontxt
Apr 15, 2026
Merged

chore: support uv.lock and version.txt in release config#274
SoulPancake merged 1 commit intomainfrom
chore/support-uvlock-versiontxt

Conversation

@SoulPancake
Copy link
Copy Markdown
Member

@SoulPancake SoulPancake commented Apr 15, 2026

Description

What problem is being solved?

How is it being solved?

What changes are made to solve it?

References

Review Checklist

  • I have clicked on "allow edits by maintainers".
  • I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
  • The correct base branch is being used, if not main
  • I have added tests to validate that the change in functionality is working as expected

Summary by CodeRabbit

  • Chores
    • Updated release automation configuration to improve version tracking across project files.

@SoulPancake SoulPancake requested a review from a team as a code owner April 15, 2026 12:36
Copilot AI review requested due to automatic review settings April 15, 2026 12:36
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.85%. Comparing base (d01d3e8) to head (588be81).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #274   +/-   ##
=======================================
  Coverage   69.85%   69.85%           
=======================================
  Files         140      140           
  Lines       10748    10748           
=======================================
  Hits         7508     7508           
  Misses       3240     3240           

☔ View full report in Codecov by Sentry.
📢 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.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the repository’s release-please configuration to keep additional version sources (a plain version file and uv’s lockfile) in sync during releases.

Changes:

  • Add VERSION.txt and uv.lock to release-please-config.json extra-files.
  • Add the x-release-please-version marker to VERSION.txt so release-please can reliably update it.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
release-please-config.json Adds new extra-files entries so release-please updates VERSION.txt and uv.lock during release PRs.
VERSION.txt Adds the release-please version marker on the version line.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread release-please-config.json
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 15, 2026

Walkthrough

Version management configuration is updated by appending a release-please directive to VERSION.txt and extending the release-please configuration to track version updates across additional files including VERSION.txt and the uv.lock package lockfile.

Changes

Cohort / File(s) Summary
Version Management
VERSION.txt
Appended # x-release-please-version comment directive to the existing version identifier.
Release Configuration
release-please-config.json
Added VERSION.txt to the extra-files list and configured version tracking for uv.lock using a JSONPath query targeting the openfga-sdk package version.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Suggested reviewers

  • rhamzeh
🚥 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 accurately summarizes the main changes: adding uv.lock and VERSION.txt support to the release-please configuration.
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
  • Commit unit tests in branch chore/support-uvlock-versiontxt

Warning

Review ran into problems

🔥 Problems

Timed out fetching pipeline failures after 30000ms


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.

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 `@release-please-config.json`:
- Line 32: The JSONPath for the uv.lock entry is wrong: change the filter in the
release-please-config.json entry where path "uv.lock" and jsonpath
"$.package[?(@.name.value=='openfga-sdk')].version" is used so it checks the
string field `name` rather than `name.value`; update the JSONPath to use @.name
(i.e., the filter should compare @.name to 'openfga-sdk') so the package version
for openfga-sdk is correctly matched and synced.
🪄 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: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 2ee7e1e1-aecb-48b0-aea0-a66b957ed5a6

📥 Commits

Reviewing files that changed from the base of the PR and between d01d3e8 and 588be81.

📒 Files selected for processing (2)
  • VERSION.txt
  • release-please-config.json

Comment thread release-please-config.json
@SoulPancake SoulPancake added this pull request to the merge queue Apr 15, 2026
Merged via the queue into main with commit 5eb9f3c Apr 15, 2026
34 checks passed
@SoulPancake SoulPancake deleted the chore/support-uvlock-versiontxt branch April 15, 2026 14:32
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.

4 participants