You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No actionable comments were generated in the recent review.
Walkthrough
The project moves package metadata and dependency configuration to pyproject.toml. CI and release workflows adopt uv, and quality checks use Ruff. SDK code and tests receive formatting updates, with additional insights-event test coverage. The README and review instructions describe the updated commands and release process.
Changes: SDK packaging and developer workflows
Layer / File(s)
Summary
Package metadata and distribution checks pyproject.toml, setup.py, requirements.txt, dev-requirements.txt, release/package.json, MANIFEST.in, scripts/wheel_smoke.py
pyproject.toml defines project metadata, dependencies, build settings, and Ruff configuration. The legacy packaging and requirements files are removed. The wheel check accepts the required urllib3 specifiers in either order.
SDK modules are reformatted. The summaries report no behavior or public-signature changes; the evaluator also adds a VariationSplittingAlgorithm import.
Validation scripts and test updates scripts/live_integration_check.py, scripts/resource_audit.py, tests/*
Validation scripts and most tests are reformatted. Insights-enabled tests add checks for settings, evaluation results, event eligibility, patch and snapshot behavior, and shutdown delivery.
CI and local quality checks .github/workflows/code-quality.yaml, .pre-commit-config.yaml, .flake8, .gitignore
CI uses uv for dependency setup, tests, resource audits, builds, and wheel checks. Linux lint and format checks use Ruff. Local hooks run Ruff and pytest through uv.
Build and publish workflow .github/workflows/release.yaml
The release workflow separates distribution building and verification from deployment. Deployment downloads the verified artifact, creates a GitHub Release, and publishes to PyPI.
Installation and development documentation README.md, docs/REVIEW.md
The documentation describes uv commands, development checks, pre-commit setup, release preparation, and publishing approval.
sequenceDiagram
participant Build as Build job
participant Artifact as Uploaded distributions
participant Deploy as Deploy job
participant GitHub as GitHub Release
participant PyPI
Build->>Artifact: Upload verified wheel and source archive
Artifact->>Deploy: Download distributions
Deploy->>GitHub: Create release using build version
Deploy->>PyPI: Publish distributions with uv
Loading
Suggested reviewers:lopezm1, wujiayi0307
Merge Risk: Minimal · up to 0945d
This change moves packaging and CI to uv and Ruff and reformats the SDK code, with no behavior changes found. The release job is gated by the py-production environment's required reviewers, so merging does not publish without approval. No merge-blocking risk remains.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title "chore: format and migrate to uv" matches the main changes in the changeset. The raw summary shows broad reformatting across the fbclient package, tests, and scripts, and a migration from se…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "chore: format and migrate to uv" matches the main changes in the changeset. The raw summary shows broad reformatting across the fbclient package, tests, and scripts, and a migration from setuptools/requirements files to uv_build and uv commands in pyproject.toml, the workflows, the README, and the pre-commit config. The title names both the formatting work and the tooling migration, which are the two main aims in the PR objectives. It is concise and follows conventional commit style.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Confidence Score: 5/5
The PR appears safe to merge, with no actionable issues found.Summary
Moves dependency management and packaging to
uv, adds Ruff and pre-commit checks, and formats the Python code.uvand published from checked distributions.uvand Ruff for SDK checks.Reviews (1) · Last reviewed commit: "chore:format and migrate to uv" · Reviewed by Greptile
Summary by CodeRabbit