Skip to content

fix(syntaxis): async mock extract to match ergasia DownloadEngine trait - #493

Merged
forkwright merged 1 commit into
mainfrom
fix/syntaxis-mock-extract-async
Jul 2, 2026
Merged

fix(syntaxis): async mock extract to match ergasia DownloadEngine trait#493
forkwright merged 1 commit into
mainfrom
fix/syntaxis-mock-extract-async

Conversation

@forkwright

Copy link
Copy Markdown
Owner

Repairs a workspace build break on main.

#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. Each PR was internally consistent and individually green, but #491 was rebased/tested against pre-#489 main, so the stale mock only broke the workspace build once both landed — cargo clippy/test --workspace is red at f8ec16e (E0277: the sync extract result is not a future).

One-line fix: make the mock extract async fn.

kanon gate --full green (full workspace clippy + nextest).

#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
@forkwright
forkwright merged commit 593758e into main Jul 2, 2026
11 checks passed
@forkwright
forkwright deleted the fix/syntaxis-mock-extract-async branch July 2, 2026 15:14
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.

1 participant