From e997eb73e2d05a50950d64a5fbaab6035e99aa00 Mon Sep 17 00:00:00 2001 From: forkwright Date: Thu, 2 Jul 2026 10:04:04 -0500 Subject: [PATCH] fix(syntaxis): async mock extract to match ergasia DownloadEngine trait #491 (ergasia) changed DownloadEngine::extract to async (impl Future) so extraction runs off the executor; #489 (syntaxis) merged a test MockEngine whose extract was still sync. The two PRs were each internally consistent but ergasia was tested pre-syntaxis, so the stale mock only broke the workspace build once both landed. Make the mock extract async. Gate-Passed: kanon 0.1.5 +stages:fmt,check,clippy,nextest,lint sha:77b78bec2dcb0e1e949146db9e7a348590cc816e --- crates/syntaxis/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/syntaxis/src/lib.rs b/crates/syntaxis/src/lib.rs index c8e0fd0d..c1a65e1d 100644 --- a/crates/syntaxis/src/lib.rs +++ b/crates/syntaxis/src/lib.rs @@ -856,7 +856,7 @@ mod tests { }) } - fn extract( + async fn extract( &self, _download_path: &std::path::Path, _output_dir: &std::path::Path,