Repository navigation
fix(tests): build raw_coverage_all and inbound_linked_e2e against main - #8361
Conversation
…ontroller registry Main removed the `openhuman_core::storage::MemoryStorage` re-export, and `core::all::all_registered_controllers` now returns `ControllerEntry`s, so `raw_coverage_all` (and `inbound_linked_e2e`) stopped compiling: - E0433 tests/raw_coverage_all.rs:61, tests/inbound_linked_e2e.rs:51: install the testkit `MemoryBackend` the core's own tests use, via a new `tinystoragedrivers-testkit` dev-dependency of openhuman-cli (same rev). - E0308 tests/raw_coverage/inference_local_controllers_rpc_e2e.rs:219,473: look up and invoke core-registry entries through `ControllerEntry::invoke`.
Tiny Sweeper reviewReviewed head: Verdict: Ready for maintainer review · Priority: none Diagnostics and supporting detailsFull summaryPull request purpose (title): fix(tests): build raw_coverage_all and inbound_linked_e2e against main. Tiny Sweeper completed its review; deterministic results follow. Unreviewed paths
Review snapshot
Completeness: Complete What changedA `matches!` expression is reflowed by formatting. No product code is touched. Features
Tests
FindingsNo active actionable findings. Before mergeNone. Agent review detailscritique
security
tests
commits
description
Evidence and run details
|
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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Summary
Main's
rust-core-coverageproduct-suites step doesn't compile. The errors were hidden behind earlier compile failures (key_source, shell_live, embed).tests/raw_coverage_all.rs:61andtests/inbound_linked_e2e.rs:51:openhuman_core::storage::MemoryStorageis no longer re-exported. The fix installstinystoragedrivers_testkit::MemoryBackendinstead, the same in-memory backend the core's own tests use (storage_host_tests.rs). It is added as an openhuman-cli dev-dependency at the rev the core already pins (one-lineCargo.lockchange).tests/raw_coverage/inference_local_controllers_rpc_e2e.rs:219,473:core::all::all_registered_controllersnow returnsVec<ControllerEntry>. The fix addsentry/call_entryhelpers that look up and invoke core-registry entries viaControllerEntry::invoke. The local-inference controllers keep using theRegisteredControllerhelpers.Test-only; no product code changes.
Test plan
cargo test --no-run -p openhuman-cli --test raw_coverage_allwith the core product features. RED on main 26fd9f8, GREEN on this head.cargo check --tests, keep going past errors) on the split-10 set plus this PR.Summary by CodeRabbit