Add Python CI, update API docs, and fix Rust append behavior#81
Merged
mathleur merged 4 commits intofeature/rustfrom Mar 24, 2026
Merged
Add Python CI, update API docs, and fix Rust append behavior#81mathleur merged 4 commits intofeature/rustfrom
mathleur merged 4 commits intofeature/rustfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates CI and documentation while addressing a Rust Qube::append edge case when appending into an empty receiver.
Changes:
- Add an empty-receiver fast-path to
Qube::appendand a regression test covering append-to-empty behavior. - Expand Rust and Python API documentation to include additional manipulation methods (
drop,squeeze, etc.). - Update GitHub Actions CI to run Python binding tests inside an isolated
uv-managed virtual environment.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
qubed/src/merge.rs |
Adds an is_empty() fast-path for append by copying other into self and clearing other. |
qubed/tests/test_union.rs |
Adds a test for appending into an empty Qube; removes commented-out code. |
docs/src/rust/qubed.md |
Documents additional Rust API methods and adds examples for drop/squeeze. |
docs/src/python/py_qubed.md |
Adds Python docs for compress, drop, squeeze, and query methods. |
.github/workflows/ci.yml |
Runs Python tests in a dedicated uv venv rather than the global runner environment. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Contributor Declaration
By opening this pull request, I affirm the following: