mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-30 23:14:37 +00:00
chore(core): slim the core — remove dead modules, move desktop features to Tauri, cut goals/todos to tinyagents (#5125)
This commit is contained in:
@@ -443,11 +443,9 @@ jobs:
|
||||
set -euo pipefail
|
||||
EXPECTED=$(cat <<'EOF'
|
||||
core/all_tests.rs
|
||||
core/autocomplete_cli_adapter.rs
|
||||
core/cli_tests.rs
|
||||
core/jsonrpc_tests.rs
|
||||
core/legacy_aliases.rs
|
||||
core/runtime/context.rs
|
||||
core/runtime/services.rs
|
||||
openhuman/agent/harness/builtin_definitions.rs
|
||||
openhuman/agent/harness/definition_tests.rs
|
||||
@@ -465,7 +463,7 @@ jobs:
|
||||
openhuman/x402/stub.rs
|
||||
EOF
|
||||
)
|
||||
ACTUAL=$(grep -rlE '#\[cfg\((not\()?feature = "(voice|media|web3|meet|mcp|skills|flows|channels|desktop-automation)"' src --include='*.rs' \
|
||||
ACTUAL=$(grep -rlE '#\[cfg\((not\()?feature = "(voice|media|web3|meet|mcp|skills|flows|channels)"' src --include='*.rs' \
|
||||
| xargs grep -lE '#\[test\]|#\[tokio::test\]|fn .*_test' 2>/dev/null | sed 's|^src/||' | sort -u)
|
||||
if ! diff <(echo "$EXPECTED" | sed 's/^ *//' | sort -u) <(echo "$ACTUAL"); then
|
||||
echo "::error::Gated-test file set changed. Update the EXPECTED allowlist in the rust-feature-gate-smoke lane, and extend the scoped 'cargo test' filter if the new module can carry an ungated-assert regression (see #5022)."
|
||||
|
||||
Reference in New Issue
Block a user