-
Notifications
You must be signed in to change notification settings - Fork 32
enable deploy with priority for static deploy #78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThe recent update refactors the Changes
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? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (5)
- arklet-core/src/main/java/com/alipay/sofa/koupleless/arklet/core/ops/BatchInstallHelper.java (2 hunks)
- arklet-core/src/main/java/com/alipay/sofa/koupleless/arklet/core/ops/UnifiedOperationServiceImpl.java (1 hunks)
- arklet-core/src/test/java/com/alipay/sofa/koupleless/arklet/core/component/UnifiedOperationServiceImplTests.java (2 hunks)
- arklet-core/src/test/java/com/alipay/sofa/koupleless/arklet/core/health/custom/model/CustomBiz.java (2 hunks)
- arklet-core/src/test/java/com/alipay/sofa/koupleless/arklet/core/ops/BatchInstallHelperTest.java (2 hunks)
Additional comments not posted (11)
arklet-core/src/test/java/com/alipay/sofa/koupleless/arklet/core/health/custom/model/CustomBiz.java (2)
39-43: New constructor correctly initializesbizUrlalong withbizNameandbizVersion.
100-103: Getter method forbizUrlis implemented correctly.arklet-core/src/main/java/com/alipay/sofa/koupleless/arklet/core/ops/BatchInstallHelper.java (3)
19-19: Import ofPriorityOrderedis necessary for handling priority in URL processing.
48-48: Change in method signature to return aMapsupports the new prioritization feature.
49-80: The internal logic for collecting and sorting URLs based on priority is implemented correctly.arklet-core/src/test/java/com/alipay/sofa/koupleless/arklet/core/component/UnifiedOperationServiceImplTests.java (2)
140-143: Mock setup correctly handles the new return type ofgetBizUrlsFromLocalFileSystem.
140-143: Test logic correctly handles the newMapstructure of URLs.arklet-core/src/main/java/com/alipay/sofa/koupleless/arklet/core/ops/UnifiedOperationServiceImpl.java (2)
108-132: Changes tobatchInstallmethod to handle the newMapstructure and use a thread pool for asynchronous tasks are implemented correctly.
113-132: Handling of installation results using aMapand a boolean flag to track failures is robust and effective.arklet-core/src/test/java/com/alipay/sofa/koupleless/arklet/core/ops/BatchInstallHelperTest.java (2)
132-138: Test logic correctly handles the newMapstructure of URLs using streams for assertions.
132-138: Use of streams to handle assertions with the newMapstructure is effective and clean.
fix koupleless/koupleless#205
Summary by CodeRabbit
Refactor
New Features
CustomBizclass for better URL management.Tests