Skip to content

refactor(wow-core): improve wait strategy notification logic #1804

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
Jul 31, 2025

Conversation

Ahoo-Wang
Copy link
Owner

  • Update CommandWaitNotifier to use new notification logic
  • Refactor WaitingForAfterProcessed to use isWaitingFor method
  • Modify WaitingForFunction to use isWaitingForFunction extension function
  • Update WaitingForProjected to use isWaitingFor method
  • Add new WaitingFors file with isWaitingForFunction extension function
  • Update WaitingForStage to use new waiting logic

- Update CommandWaitNotifier to use new notification logic
- Refactor WaitingForAfterProcessed to use isWaitingFor method
- Modify WaitingForFunction to use isWaitingForFunction extension function
- Update WaitingForProjected to use isWaitingFor method
- Add new WaitingFors file with isWaitingForFunction extension function
- Update WaitingForStage to use new waiting logic

Signed-off-by: Ahoo Wang <ahoowang@qq.com>
@Ahoo-Wang Ahoo-Wang added the enhancement New feature or request label Jul 30, 2025
Copy link
Contributor

github-actions bot commented Jul 31, 2025

Test Results

1 468 tests  +718   1 451 ✅ +712   11m 48s ⏱️ + 5m 32s
  368 suites +183      17 💤 +  9 
  368 files   +183       0 ❌  -   3 

Results for commit 1a3cfb6. ± Comparison against base commit 5c26d8b.

♻️ This comment has been updated with latest results.

Copy link

codecov bot commented Jul 31, 2025

Codecov Report

❌ Patch coverage is 86.36364% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.22%. Comparing base (23c14e9) to head (1a3cfb6).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
.../me/ahoo/wow/command/wait/stage/WaitingForStage.kt 60.00% 1 Missing and 1 partial ⚠️
...in/me/ahoo/wow/command/wait/CommandWaitNotifier.kt 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1804      +/-   ##
============================================
- Coverage     91.22%   91.22%   -0.01%     
+ Complexity     3713     3711       -2     
============================================
  Files           700      701       +1     
  Lines         12798    12807       +9     
  Branches        810      811       +1     
============================================
+ Hits          11675    11683       +8     
  Misses          736      736              
- Partials        387      388       +1     
Flag Coverage Δ
unittests 91.22% <86.36%> (-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.

@Ahoo-Wang Ahoo-Wang merged commit e16c85b into main Jul 31, 2025
33 checks passed
@Ahoo-Wang Ahoo-Wang deleted the wait-strategy-notification-logic branch July 31, 2025 00:03
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