mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-01 02:04:24 +00:00
Name the terminal check directly in the managed settle wait
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
9a93bbcfbd
commit
c4086f1804
1 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ use fabro_server::test_support::{
|
|||
use fabro_static::EnvVars;
|
||||
use fabro_store::platform_records::{PlatformRecord, PlatformRecordKind, PlatformRecordStore};
|
||||
use fabro_test::{TwinScenario, TwinScenarios, twin_openai};
|
||||
use fabro_types::{RunId, WorkflowPath, WorkflowVersion};
|
||||
use fabro_types::{RunId, RunStatus, WorkflowPath, WorkflowVersion};
|
||||
use tower::ServiceExt;
|
||||
|
||||
use crate::helpers::{
|
||||
|
|
@ -867,7 +867,7 @@ async fn wait_for_managed_settle(state: &AppState, run_id: &str) {
|
|||
for _ in 0..500 {
|
||||
if state
|
||||
.test_managed_run_status(&run_id)
|
||||
.is_none_or(|status| status.is_terminal())
|
||||
.is_none_or(RunStatus::is_terminal)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue