Skip to content

refactor(wow-core): optimize command wait strategy and propagation #1840

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 1 commit into from
Aug 6, 2025

Conversation

Ahoo-Wang
Copy link
Owner

  • Simplify command wait ID propagation logic
  • Enhance WaitStrategy interface with shouldPropagate method
  • Refactor WaitStrategyPropagator to better handle message propagation- Update command wait notifier and related classes to use new logic
  • Add unit tests for new command wait propagation behavior

- Simplify command wait ID propagation logic
- Enhance WaitStrategy interface with shouldPropagate method
- Refactor WaitStrategyPropagator to better handle message propagation- Update command wait notifier and related classes to use new logic
- Add unit tests for new command wait propagation behavior

Signed-off-by: Ahoo Wang <ahoowang@qq.com>
@Ahoo-Wang Ahoo-Wang added the enhancement New feature or request label Aug 6, 2025
@Ahoo-Wang Ahoo-Wang merged commit 98d90d3 into main Aug 6, 2025
29 checks passed
@Ahoo-Wang Ahoo-Wang deleted the command-wait-strategy-and-propagation branch August 6, 2025 03:25
Copy link

codecov bot commented Aug 6, 2025

Codecov Report

❌ Patch coverage is 72.22222% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.04%. Comparing base (f5f04a7) to head (d39bcf6).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...in/kotlin/me/ahoo/wow/command/wait/WaitStrategy.kt 50.00% 3 Missing ⚠️
.../me/ahoo/wow/command/wait/ExtractedWaitStrategy.kt 71.42% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1840      +/-   ##
============================================
- Coverage     91.07%   91.04%   -0.03%     
- Complexity     3719     3723       +4     
============================================
  Files           704      704              
  Lines         12871    12876       +5     
  Branches        820      819       -1     
============================================
+ Hits          11722    11723       +1     
- Misses          756      760       +4     
  Partials        393      393              
Flag Coverage Δ
unittests 91.04% <72.22%> (-0.03%) ⬇️

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.

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