Skip to content

refactor(wow-core): abstract command waiting propagation logic #1824

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 2 commits into from
Aug 4, 2025

Conversation

Ahoo-Wang
Copy link
Owner

  • Introduce WaitStrategyPropagator interface to abstract propagation behavior
  • Implement shouldPropagate method in WaitingForStage and WaitStrategy
  • Update WaitStrategyMessagePropagator to use new propagation logic

- Introduce WaitStrategyPropagator interface to abstract propagation behavior
- Implement shouldPropagate method in WaitingForStage and WaitStrategy
- Update WaitStrategyMessagePropagator to use new propagation logic

Signed-off-by: Ahoo Wang <ahoowang@qq.com>
- Change the condition in shouldPropagate function to return true when upstream is CommandMessage<*>
- This modification will alter the behavior of message propagation in the waiting stage

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

github-actions bot commented Aug 4, 2025

Test Results

1 468 tests  ±0   1 451 ✅ ±0   12m 4s ⏱️ -28s
  368 suites ±0      17 💤 ±0 
  368 files   ±0       0 ❌ ±0 

Results for commit 0b77c77. ± Comparison against base commit 31845a2.

♻️ This comment has been updated with latest results.

@Ahoo-Wang Ahoo-Wang merged commit 485c402 into main Aug 4, 2025
31 checks passed
@Ahoo-Wang Ahoo-Wang deleted the shouldPropagate branch August 4, 2025 04:15
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