Closed kohsuke closed 1 month ago
The changes in this pull request involve modifications to the Workspace
class within the launchable/commands/record/build.py
file. The mode
attribute has been removed from the class and its constructor, simplifying the class's structure. Consequently, instances of Workspace
are now created without the mode
parameter in the list_sources
and synthesize_workspaces
functions. Additionally, the payload construction in the send
function has been updated to exclude the mode
field, leading to a cleaner implementation focused on essential attributes. The related test cases have also been adjusted to reflect these changes.
File Path | Change Summary |
---|---|
launchable/commands/record/build.py | - Removed mode attribute from Workspace class and constructor.- Updated instantiation of Workspace in list_sources and synthesize_workspaces to exclude mode .- Adjusted send function to remove mode from commit data payload. |
tests/commands/record/test_build.py | - Removed "mode" fields from JSON payloads in assertions across multiple test methods (test_submodule , test_no_submodule , test_no_git_directory , and test_commit_option_and_build_option ). |
tests/commands/test_split_subset.py | - Added print statements for debugging in test_split_by_group_names method.- Updated test_split_by_group_names_output_exclusion_rules to include --output-exclusion-rules flag and modified assertions to use assertCountEqual . |
🐇 In the meadow, changes bloom,
TheWorkspace
sheds its heavy gloom.
No more modes to weigh it down,
Just clean paths where joy is found.
Hopping forth, with data light,
A simpler way, oh what a sight! 🌼
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:4 tests failed :heavy_check_mark:162 tests passed(1 flake)
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Summary by CodeRabbit
New Features
Workspace
class by removing themode
attribute, streamlining workspace management.Bug Fixes
mode
parameter, enhancing overall functionality and reducing complexity in JSON payloads.split-subset
command, increasing robustness and clarity.