Skip to content

Commit 32e3c58

Browse files
cephalonautoz-agent
andcommitted
Align orchestration tracker/streamer tests with current APIs
Update the child tracker and event streamer tests to the tracker's current shape: `OrchestrationChildTracker::new` takes only the parent task id, `ChildSignal::Registered` is a unit variant, and discovery inserts a tracked child before the metadata fetch resolves. Restructure the tracker tests around a shared `with_tracker` harness so each case covers a single invariant, and add coverage for the killed-run, malformed-input, pending-session-link, and seed-row paths. Co-Authored-By: Oz <oz-agent@warp.dev>
1 parent 21344de commit 32e3c58

4 files changed

Lines changed: 318 additions & 259 deletions

File tree

app/src/ai/blocklist/orchestration_child_tracker.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,6 @@ impl OrchestrationChildTracker {
539539
pub(crate) fn has_in_flight_fetch(&self, run_id: &str) -> bool {
540540
self.metadata_fetches.contains(run_id)
541541
}
542-
543542
}
544543

545544
#[cfg(test)]

0 commit comments

Comments
 (0)