The default Rust E2E runner still schedules six deleted test targets
Contributors using pnpm test:rust:e2e cannot complete the default suite even if every extant test passes. Cargo rejects the first removed target and the shell exits, so the valid suites later in the list are not run. This claim concerns the package command, not an assertion that CI currently invokes it.
At scripts/test-rust-e2e.sh:54:
ALL_E2E_SUITES still contains memory_golden_fixture_e2e, memory_golden_parity_e2e, memory_graph_sync_e2e, memory_tree_summarizer_e2e, memory_fast_retrieve_e2e and ollama_embeddings_fallback_e2e. The corresponding tests/*.rs files are absent in this checkout. Cargo.toml:106-131 declares only four explicit integration targets, none of these names, with autodiscovery enabled. With no --suite argument, lines 96-98 copy the stale list into SUITES; lines 176-190 pass each name to cargo test --test under set -e. Root cause: the integration-test deletion was not propagated to the default E2E runner. package.json:34 still exposes this runner as test:rust:e2e.
Proposed fix
Remove the six nonexistent targets and their obsolete golden-gate comment from scripts/test-rust-e2e.sh. Add scripts/tests/rust-e2e-targets.test.mjs using the existing node:test script-test convention. Test the actual default list against available integration targets, assert it is nonempty and retains live memory_roundtrip_e2e and memory_sources_e2e, and include an injected missing-name case to prove the validation detects stale entries. Do not silently filter missing names at runtime or change scripts/ci/rust-coverage-changed.sh, which has a competing repair in PR 6183.
How to see it
Static execution trace, not executed as requested: in a configured checkout with the mock backend available and preceding suites passing, invoke pnpm test:rust:e2e. The loop reaches cargo test --manifest-path Cargo.toml --features product features --test memory_golden_fixture_e2e, which has no matching integration target. Expected: run the selected extant suites. Actual by target selection and shell control flow: a missing-target failure aborts the runner. A focused test can read the real ALL_E2E_SUITES declaration, ignore its comments, and compare every scheduled name with tests/*.rs and explicit Cargo.toml targets; it fails on the six names before the fix and passes after their removal.
If this looks right I can push fix/rust-e2e-deleted-targets on anxkhn/openhuman instead of opening a pull request first.
Heads-up for whoever picks this up: the draft #6238 already removes these entries from ALL_E2E_SUITES, along with the obsolete golden-gate comment.
It removes a seventh that this issue's list misses — agent_retrieval_e2e. It's also absent from tests/ on main, deleted in the same commit as the other six (cc99ba9c6, "build(memory): cut the engine out of the test build"). A fix working from the list above would still leave the default run failing on it.
What #6238 doesn't include is the regression test proposed here (scripts/__tests__/rust-e2e-targets.test.mjs), so the list can drift again the next time a target is deleted. That's probably best added once #6238 lands — against current main it would fail by design.
Triage: valid — Current review confirms this is a concrete, in-scope engineering issue or request: “The default Rust E2E runner still schedules six deleted test targets”. No complete resolution is evident in current main.
This is fixed on main by #6238 (merge commit 9cb2aa61a2, merged 2026-09-14; git merge-base --is-ancestor 9cb2aa61a2 upstream/main exits 0).
scripts/test-rust-e2e.sh no longer carries a hard-coded ALL_E2E_SUITES list. _discover_e2e_suites builds it from the *_e2e.rs / in_process_all.rs files that actually exist in tests/. A deleted test file can no longer stay scheduled, which also covers the seventh stale target (agent_retrieval_e2e) mentioned above. The script also refuses to run when discovery comes back empty, rather than passing vacuously. Thanks for the detailed report.