🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@andimarek
Copy link
Member

@andimarek andimarek commented Apr 10, 2025

Because the engine state updates are side effects, it can happen that the last "NOT_RUNNING" happens after the overall CompletableFuture<ExecutionResult> is completed.
As this is very counterintuitive this PR fixes that edge case with observing the CompletableFuture<ExecutionResult> explicitly.

It also make explicit states for Start and finish the engine.

fixes cases where the CF<ER> is finished before the observer is called for the last time
@github-actions
Copy link
Contributor

Test Results

  313 files    313 suites   53s ⏱️
3 588 tests 3 583 ✅ 5 💤 0 ❌
3 677 runs  3 672 ✅ 5 💤 0 ❌

Results for commit 71c8032.

@bbakerman bbakerman merged commit 04a359a into master Apr 14, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants