Prepare release 0.4.1 - #32
Conversation
Bump the package version and append the 0.4.1 compatibility-map record (manifest now includes kimi-code 0.29.2). Make the two map-dependent tests derive their expectations dynamically so future releases do not edit them.
Reviewer's guide (collapsed on small PRs)Reviewer's GuidePrepares the 0.4.1 release by bumping the project version, extending the compatibility map, and making compatibility-related tests derive expectations dynamically from the map to avoid future test churn. File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Warning Review limit reached
Next review available in: 31 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (4)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- In
test_compatibility_map_tracks_release_history_and_current_manifest, you now only assert the first and last entries; consider also asserting thatbridgesis strictly increasing (or matches a sorted copy) to still catch ordering regressions without requiring per-release updates. - The tested range in
test_compat_rejects_an_untested_version_inside_the_tested_rangeis recomputed in the test; if the CLI has its own logic for computing this range, consider factoring that into a shared helper so the test verifies the same logic rather than an independently reimplemented version.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- In `test_compatibility_map_tracks_release_history_and_current_manifest`, you now only assert the first and last entries; consider also asserting that `bridges` is strictly increasing (or matches a sorted copy) to still catch ordering regressions without requiring per-release updates.
- The tested range in `test_compat_rejects_an_untested_version_inside_the_tested_range` is recomputed in the test; if the CLI has its own logic for computing this range, consider factoring that into a shared helper so the test verifies the same logic rather than an independently reimplemented version.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Version bump: 0.4.0 → 0.4.1.
Included in this release
kimi-bridge compatcommand + packaged compatibility map, Telegram non-allowlisted sender logging, clean one-line startup failures, doctor unknown-keys warning, README/INSTALL/CONFIGURATION rework.Changes here
pyproject.toml/uv.lock: 0.4.0 → 0.4.1.compatibility-map.json: appended the 0.4.1 record (0.28.1,0.29.0,0.29.1,0.29.2— copied verbatim from the current manifest).tests/test_compatibility.py,tests/test_main.py: derive map-dependent expectations dynamically (latest record names the current package version; tested range computed from the map) so future releases do not edit tests.Validation (UV_CACHE_DIR=/tmp/kimi-bridge-release-0.4.1-cache)
uv lock --check— passuv run --locked python scripts/check_release.py—release identity valid: kimi-bridge 0.4.1uv run --locked pytest -q— 356 passeduv run --locked ruff check .— cleangit diff --check— cleanuv build --no-sources+twine check dist/*— wheel and sdist PASSEDuv run --locked python scripts/check_distribution.py --dist-dir dist— passed (metadata, license, bundled assets, isolated installs,--help/--version/doctor, uninstall)Release plan
Merging this PR precedes publication of GitHub Release
v0.4.1on the merged commit, which triggers artifact publication and the protected PyPI deployment inrelease.yml.Summary by Sourcery
Prepare the 0.4.1 release by updating version metadata and aligning compatibility logic with the packaged compatibility map.
Enhancements:
Build:
Tests: