[misc] refactor: simplify internal implementation - #334
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 25 files
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
This was referenced Aug 31, 2026
JoyboyBrian
added a commit
that referenced
this pull request
Sep 1, 2026
## What - Set `PACKAGE_VERSION` to `0.3.2`. - Add the 0.3.2 stable changelog entry covering the complete user-facing change set since `v0.3.1` ([#327](#327), [#328](#328), [#330](#330), [#331](#331), [#332](#332), [#335](#335), [#337](#337)). - Collapse the 0.3.2rc1–rc3 changelog entries into links to their GitHub prerelease notes, matching the 0.3.0rcN convention. ## Why The 0.3.2 release line has been exercised through three release candidates (rc1–rc3); this promotes it to the stable release. The stable entry is written against `v0.3.1` so it covers the complete delta since the last stable release, with internal-only changes (#329, #334) and version bumps omitted per the changelog conventions. ## How to Test - `uv run pytest` (3036 passed, 1 skipped) - `uv run ruff check .` and `uv run ruff format --check .` - `uv run pyright osmosis_ai/` (0 errors) - Verify the changelog comparison link `v0.3.1...v0.3.2` and the three rc release-notes links resolve. ## Checklist - [x] PR title follows `[module] type: description` format (labels are derived from it automatically — no need to add them by hand) - [x] `ruff check .` and `ruff format --check .` pass - [x] `pyright osmosis_ai/` passes - [x] `pytest` passes (new tests added if applicable) - [x] Public API changes are documented - [x] No secrets or credentials included <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/osmosis-ai/osmosis-sdk-python/pull/339" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=3"> <img src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=3" alt="Devin Review"> </picture> </a> <!-- devin-review-badge-end --> <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Promotes the 0.3.2 release line to stable after three release candidates. - Bumps `PACKAGE_VERSION` from `0.3.2rc3` to `0.3.2`. - Adds the stable changelog entry covering all user-facing changes since `v0.3.1`, including removed APIs and dependency changes. - Collapses the rc1–rc3 changelog entries into links to their GitHub prerelease notes, matching the convention used for 0.3.0rcN. <sup>Written for commit 0bfbc43. Summary will update on new commits.</sup> <a href="https://cubic.dev/pr/Osmosis-AI/osmosis-sdk-python/pull/339?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
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.
What
Why
Reduce internal duplication and maintenance cost while preserving UI/UX, public APIs, trust-boundary validation, recovery behavior, and CLI stdout, stderr, exit codes, and error text.
How to Test
uv run pytest tests/unit/cli tests/unit/platform/cli tests/unit/cli_services tests/unit/test_cli.py tests/unit/test_rubric_cli_command.py -quv run pytest --cov=osmosis_ai --cov-branch --cov-report=term-missing --cov-report=xmluv run ruff check .uv run ruff format --check .uv run pyright osmosis_ai/pyright --verifytypescheck; type completeness remains 100% with only the existing Harbor baseline.Checklist
Summary by cubic
Refactors internal implementation across CLI output, authentication, dataset upload, rollout, and template handling without changing public symbols or supported output contracts. Also preserves template wildcard expansion (e.g.
configs/*/*.toml) after simplifying catalog path construction.save_trajectoryso diagnostics and trajectory writes share a single error-handling path, preserving trajectory failure logs.create_callback_appstill validates it.Test coverage
Written for commit eda200f. Summary will update on new commits.