Skip to content

refactor(wow-api): enhance ErrorInfo with toDefault conversion and default errorMsg #1813

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

Merged
merged 3 commits into from
Jul 31, 2025

Conversation

Ahoo-Wang
Copy link
Owner

  • Add toDefault() extension function to convert ErrorInfo to DefaultErrorInfo
  • Update create method to return DefaultErrorInfo instead of ErrorInfo
  • Set default empty string value for errorMsg in DefaultErrorInfo

…fault errorMsg

- Add toDefault() extension function to convert ErrorInfo to DefaultErrorInfo
- Update create method to return DefaultErrorInfo instead of ErrorInfo
- Set default empty string value for errorMsg in DefaultErrorInfo

Signed-off-by: Ahoo Wang <ahoowang@qq.com>
@Ahoo-Wang Ahoo-Wang added the enhancement New feature or request label Jul 31, 2025
- Added subscribeOn(Schedulers.parallel()) to the send(message) call in CommandGatewaySpec.kt
- This change ensures that the message sending is executed concurrently, improving test reliability

Signed-off-by: Ahoo Wang <ahoowang@qq.com>
Copy link
Contributor

github-actions bot commented Jul 31, 2025

Test Results

1 468 tests  +719   1 451 ✅ +711   11m 43s ⏱️ + 6m 10s
  368 suites +183      17 💤 +  9 
  368 files   +183       0 ❌  -   1 

Results for commit ced0c9f. ± Comparison against base commit 3e81342.

♻️ This comment has been updated with latest results.

Copy link

codecov bot commented Jul 31, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.23%. Comparing base (6c84a7d) to head (59531d5).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1813      +/-   ##
============================================
+ Coverage     91.22%   91.23%   +0.01%     
  Complexity     3714     3714              
============================================
  Files           701      701              
  Lines         12810    12818       +8     
  Branches        812      814       +2     
============================================
+ Hits          11686    11695       +9     
+ Misses          736      735       -1     
  Partials        388      388              
Flag Coverage Δ
unittests 91.23% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

…tests

- Removed the verifyWaitStrategyDestroyed function call from the CommandGatewaySpec test file
- This change simplifies the test case and removes a potentially redundant check

Signed-off-by: Ahoo Wang <ahoowang@qq.com>
@Ahoo-Wang Ahoo-Wang merged commit ea7ee1b into main Jul 31, 2025
29 checks passed
@Ahoo-Wang Ahoo-Wang deleted the DefaultErrorInfo branch July 31, 2025 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant