Repository navigation
refactor(deletion): make reachability async - #50
Merged
senamakel merged 3 commits intoOct 27, 2026
Merged
Conversation
The reachability probe is now an async method so executors can await a real backend check instead of blocking, and the drain path awaits it before running anything. A test with a deferred reachability future covers the new behaviour. Auto-committed-on: cuttlefish Co-authored-by: Medulla <medulla@tinyhumans.ai>
The engines accessor on the LayoutHost trait is now async, and its call sites in the migration job and scan service await it. This lets hosts resolve engines through asynchronous work instead of blocking, and the test hosts were updated to match the new signature. Auto-committed-on: cuttlefish Co-authored-by: Medulla <medulla@tinyhumans.ai>
The LayoutHost::legacy_claim method is now async, and its callers in the migration job and scan service await it. This lets host implementations perform asynchronous work when acquiring the legacy claim instead of blocking the caller. Auto-committed-on: cuttlefish Co-authored-by: Medulla <medulla@tinyhumans.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes two synchronous reachability boundaries from TinyMemory host ports.
DeletionExecutor::is_reachableand layout migration engine/legacy-claim acquisition are asynchronous, so callers await credential-backed engine checks without blocking.Adds a gated regression test proving deletion drain waits for async reachability, and updates the deletion and layout-migration host test adapters.
Validation:
cargo fmt --all -- --check,cargo deny check all,cargo +1.96 check -p tinymemory-tools, andcargo +1.96 test -p tinymemory-tools --lib(408 passed).Refs senamakel/openhuman#656