Closed kohsuke closed 1 month ago
The changes encompass updates to function signatures, type annotations, and internal logic across multiple files in the launchable
project. The modifications primarily focus on enhancing the clarity of command-line options, improving error handling, and refining the processing of session and build management functionalities. Notably, the handling of key-value pairs has been standardized, and several tests have been adjusted to reflect these changes.
Files | Change Summary |
---|---|
launchable/commands/helper.py |
Updated function signatures and internal logic for session and build management functions. |
launchable/commands/record/build.py |
Modified function signatures and command-line options; improved handling of Git repositories. |
launchable/commands/record/session.py |
Adjusted type annotations and error handling for session commands; streamlined API request payloads. |
launchable/commands/record/tests.py |
Enhanced command-line option handling; updated test logic for processing test reports. |
launchable/commands/stats/test_sessions.py |
Updated type annotations and simplified flavor processing logic. |
launchable/commands/subset.py |
Changed parameter types and improved error handling for conflicting options. |
launchable/utils/click.py |
Refactored parameter types and added alias functionality for command groups. |
tests/commands/record/test_build.py |
Enhanced tests for build recording functionality, particularly with Git submodules and lineage. |
tests/commands/record/test_session.py |
Updated tests for session recording; refined error handling for flavor arguments. |
tests/utils/test_click.py |
Introduced new tests for the KEY_VALUE type; validated command-line argument conversion. |
tests/utils/test_key_value_type.py |
Removed old tests related to the normalize_key_value_types function. |
In the meadow where rabbits play,
New changes hop in, brightening the day.
With functions refined and options clear,
Our code now dances, bringing cheer!
So letβs celebrate, with a joyful thump,
For every update, we give a happy jump! π°β¨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
:heavy_multiplication_x:no tests failed :heavy_check_mark:169 tests passed
:heavy_multiplication_x:3 tests failed :heavy_check_mark:164 tests passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
@ono-max Thanks for fixing things up. I revisited those a bit. In particular, I believe mixing "" and null is a bad habit, so I fixed that.
See the linked design document for more details.
Summary by CodeRabbit
Release Notes
New Features
Bug Fixes
Tests
KEY_VALUE
type functionality.