Repository navigation
chore: roll up security migration changes - #319
Conversation
The EngineResolver trait now exposes an async resolve method, and all call sites await it. This lets resolvers perform asynchronous work such as I/O when locating the configured engine and identity instead of blocking the caller. Auto-committed-on: cuttlefish Co-authored-by: Medulla <medulla@tinyhumans.ai>
Add a DeferredResolver test double whose resolve future stays pending until released, and a test asserting that pre_turn does not complete while engine resolution is still in flight. This pins down the ordering guarantee that citations are not recorded before the engine memory is available. Auto-committed-on: cuttlefish Co-authored-by: Medulla <medulla@tinyhumans.ai>
…lock The StaticResolver implementation of EngineResolver was missing the async_trait attribute, so it now matches the trait's async signature. The DeferredResolver resolve method also drops its mutex guard before awaiting the release, avoiding holding the lock across an await point. Auto-committed-on: cuttlefish Co-authored-by: Medulla <medulla@tinyhumans.ai>
Track resolver invocations with an atomic counter so the pre-turn test can verify the async engine resolution is awaited exactly once before proceeding. The fixture now clones the resolver handle to keep it accessible after the turn completes. Auto-committed-on: cuttlefish Co-authored-by: Medulla <medulla@tinyhumans.ai>
The test now clones the resolver before passing it to TurnHooks so the original binding stays available for later assertions. Auto-committed-on: cuttlefish Co-authored-by: Medulla <medulla@tinyhumans.ai>
The fixture builder cloned the resolver before moving it into the struct, which was unnecessary since the value is not used afterwards. Removing the clone keeps the test setup free of a needless allocation. Auto-committed-on: cuttlefish Co-authored-by: Medulla <medulla@tinyhumans.ai>
Bumps tokio from 1.53.1 to 1.53.3 and downgrades the windows-sys dependency pulled in by several crates from 0.61.2 to 0.52.0. The lockfile was regenerated to reflect the resolved dependency graph. Auto-committed-on: cuttlefish Co-authored-by: Medulla <medulla@tinyhumans.ai>
Make TinyMemory engine resolution async
…o sec-656-secret-cipher
Sync active TinyMemory pin with async resolver
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>
refactor(deletion): make reachability async
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Tiny Sweeper reviewReviewed head: Verdict: Ready for maintainer review · Priority: none Diagnostics and supporting detailsFull summaryPull request purpose (title): chore: roll up security migration changes. Tiny Sweeper completed its review; deterministic results follow. Review snapshot
Completeness: Complete Features
TestsNo supported feature-to-test mapping was produced. Test execution is not inferred. FindingsNo active actionable findings. Before mergeNone. Agent review detailscritique
security
tests
commits
description
Evidence and run details
|
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Upstream roll-up required before OpenHuman can advance its gitlink. Carries commit 4ee5d0c referenced by tinyhumansai/openhuman#8487. Validation: source commit verified; tests were not run for this roll-up.
Summary by CodeRabbit