The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: remove stale Langfuse batch tests and update references
Steven Enamakel7e07db06916e
diff --git a/crates/openhuman-core/src/agent/progress_tracing/langfuse_batch_tests.rs b/crates/openhuman-core/src/agent/progress_tracing/langfuse_batch_tests.rsindex a7b793dbc4..055e001b8e 100644--- a/crates/openhuman-core/src/agent/progress_tracing/langfuse_batch_tests.rs+++ b/crates/openhuman-core/src/agent/progress_tracing/langfuse_batch_tests.rs@@ -1,6 +1,5 @@use super::*;-use crate::agent::progress_tracing::langfuse::span_export::spans_to_langfuse_batch;#[test]fn split_ingestion_batch_chunks_over_the_limit() {// 1201 events with max 500 -> chunks of 500, 500, 201.@@ -72,34 +71,6 @@ fn every_environment_for_base_bucket_is_classified_deliberately() {)));}-#[tokio::test]-async fn push_spans_skips_external_without_a_session_or_a_request() {- // No live session is seeded here, so reaching `require_live_session_token`- // would return `Err`. `Ok(())` therefore proves the gate returned before- // it — i.e. before any credential work, and before any network call.- let mut config = Config::default();- config.api_url = Some("https://other.example".to_string());- assert_eq!(environment_for_base(&ingestion_url(&config)), "external");-- let spans = vec![span(- "trace:req-1",- "span-1",- None,- "agent.turn",- SpanKind::Turn,- SpanStatus::Ok,- 1_000,- Some(2_000),- )];-- assert_eq!(- push_spans(&config, &spans).await,- Ok(()),- "an external push must be a silent no-op, not an error the caller \- logs on every turn"- );-}-#[tokio::test]async fn api_key_credentials_are_not_used_for_langfuse_proxy_exports() {let dir = tempfile::tempdir().unwrap();@@ -110,18 +81,6 @@ async fn api_key_credentials_are_not_used_for_langfuse_proxy_exports() {config.api_url = Some("http://127.0.0.1:9".to_string());crate::security::credentials::api_key::store_api_key(&config, "th_live_test").unwrap();- let spans = vec![span(- "trace:req-1",- "span-1",- None,- "agent.turn",- SpanKind::Turn,- SpanStatus::Ok,- 1_000,- Some(2_000),- )];- assert_eq!(push_spans(&config, &spans).await, Ok(()));-let ctx = TraceContext::new("trace:req-1", Some("user-1".to_string()));let observations = vec![obs(1,@@ -168,27 +127,6 @@ async fn push_observations_skips_external_too() {);}-#[tokio::test]-async fn an_unresolvable_host_skips_rather_than_erroring() {- // `ingestion_url` on a base it cannot parse lands in the catch-all- // bucket, which is external — so the gate swallows it first. Better- // than the previous `Err`, which the caller logged every turn.- let mut config = Config::default();- config.api_url = Some("not a url".to_string());-- let spans = vec![span(- "trace:req-1",- "span-1",- None,- "agent.turn",- SpanKind::Turn,- SpanStatus::Ok,- 1_000,- Some(2_000),- )];- assert_eq!(push_spans(&config, &spans).await, Ok(()));-}-#[test]fn ingestion_url_uses_backend_origin_and_ingestion_path() {let mut config = Config::default();@@ -486,203 +424,6 @@ fn iso_millis_formats_epoch_as_rfc3339() {assert!(iso_millis(1_609_459_200_000).starts_with("2021-01-01T00:00:00"));}-#[test]-fn batch_emits_trace_create_then_one_span_create_each() {- let spans = vec![- span(- "trace-1",- "root",- None,- "agent.turn",- SpanKind::Turn,- SpanStatus::Ok,- 1_000,- Some(2_000),- ),- span(- "trace-1",- "tool-1",- Some("root"),- "tool.web_search",- SpanKind::Tool,- SpanStatus::Error,- 1_100,- Some(1_500),- ),- ];- let payload = spans_to_langfuse_batch(&spans, false, "production");- let batch = payload["batch"].as_array().expect("batch array");- assert_eq!(batch.len(), 3, "one trace-create + two span-create");-- assert_eq!(batch[0]["type"], "trace-create");- assert_eq!(batch[0]["body"]["id"], "trace-1");-- // Camel-case Langfuse fields, ISO timestamps, parent linkage, error level.- let root = &batch[1];- assert_eq!(root["type"], "span-create");- assert_eq!(root["body"]["id"], "root");- assert_eq!(root["body"]["traceId"], "trace-1");- assert!(root["body"]["startTime"].as_str().unwrap().contains('T'));- assert_eq!(root["body"]["level"], "DEFAULT");- assert_eq!(root["body"]["metadata"]["kind"], "turn");- assert!(root["body"].get("parentObservationId").is_none());-- let tool = &batch[2];- assert_eq!(tool["body"]["parentObservationId"], "root");- assert_eq!(tool["body"]["level"], "ERROR");- assert!(tool["body"]["endTime"].as_str().unwrap().contains('T'));-- // Event ids are unique and distinct from the observation ids.- assert_ne!(batch[1]["id"], batch[2]["id"]);- assert_ne!(batch[1]["id"], batch[1]["body"]["id"]);-}--#[test]-fn usage_span_becomes_generation_and_content_is_gated() {- let mut turn = span(- "trace-1",- "root",- None,- "agent.turn",- SpanKind::Turn,- SpanStatus::Ok,- 1_000,- Some(2_000),- );- turn.attributes.clear();- turn.attributes- .insert("gen_ai.request.model".into(), json!("claude-x"));- turn.attributes- .insert("gen_ai.usage.input_tokens".into(), json!(100));- turn.attributes- .insert("gen_ai.usage.output_tokens".into(), json!(20));- turn.attributes- .insert("gen_ai.usage.cost_usd".into(), json!(0.0123));- turn.input = Some(json!("what is 2+2?"));- turn.output = Some(json!("4"));- let spans = vec![turn];-- // Content OFF (default): span is promoted to a generation with native- // usage + cost, but prompt/reply are withheld.- let off = spans_to_langfuse_batch(&spans, false, "production");- let obs = &off["batch"][1];- assert_eq!(obs["type"], "generation-create");- assert_eq!(obs["body"]["model"], "claude-x");- assert_eq!(obs["body"]["usageDetails"]["input"], 100);- assert_eq!(obs["body"]["usageDetails"]["output"], 20);- assert_eq!(obs["body"]["usageDetails"]["total"], 120);- assert_eq!(obs["body"]["costDetails"]["total"], 0.0123);- assert!(- obs["body"].get("input").is_none(),- "prompt must be withheld when capture_content is off"- );- assert!(obs["body"].get("output").is_none());-- // Content ON: prompt/reply included, usage/cost unchanged.- let on = spans_to_langfuse_batch(&spans, true, "production");- let obs = &on["batch"][1];- assert_eq!(obs["type"], "generation-create");- assert_eq!(obs["body"]["input"], "what is 2+2?");- assert_eq!(obs["body"]["output"], "4");- assert_eq!(obs["body"]["costDetails"]["total"], 0.0123);-}--#[test]-fn trace_create_carries_user_and_session_grouping() {- // The turn span's user.id / thread.id attributes are promoted onto the- // trace-create as Langfuse userId / sessionId so per-turn traces group- // under one conversation and attribute to a user.- let mut turn = span(- "trace:req-1",- "root",- None,- "agent.turn",- SpanKind::Turn,- SpanStatus::Ok,- 1_000,- Some(2_000),- );- turn.attributes.insert("user.id".into(), json!("client-7"));- turn.attributes- .insert("thread.id".into(), json!("thread-abc"));- let payload = spans_to_langfuse_batch(&[turn], false, "production");- let trace = &payload["batch"][0];- assert_eq!(trace["type"], "trace-create");- assert_eq!(trace["body"]["userId"], "client-7");- assert_eq!(trace["body"]["sessionId"], "thread-abc");-}--#[test]-fn trace_create_session_id_falls_back_to_trace_id() {- // No thread.id attribute → the trace id itself becomes the sessionId,- // so every trace lands with a session in Langfuse.- let turn = span(- "trace:req-2",- "root",- None,- "agent.turn",- SpanKind::Turn,- SpanStatus::Ok,- 1_000,- Some(2_000),- );- let payload = spans_to_langfuse_batch(&[turn], false, "production");- assert_eq!(payload["batch"][0]["body"]["sessionId"], "trace:req-2");-}--#[test]-fn trace_create_metadata_carries_attribution_and_version() {- let mut turn = span(- "trace-1",- "root",- None,- "agent.turn:researcher",- SpanKind::Turn,- SpanStatus::Ok,- 1_000,- Some(2_000),- );- turn.attributes- .insert("client.id".into(), json!("socket-abc"));- turn.attributes- .insert("agent.id".into(), json!("researcher"));- turn.attributes- .insert("channel.source".into(), json!("chat"));- let payload = spans_to_langfuse_batch(&[turn], false, "production");- let trace = &payload["batch"][0]["body"];- assert_eq!(trace["name"], "agent.turn:researcher");- let meta = &trace["metadata"];- assert_eq!(meta["client.id"], "socket-abc");- assert_eq!(meta["agent.id"], "researcher");- assert_eq!(meta["channel.source"], "chat");- assert_eq!(meta["app.version"], env!("CARGO_PKG_VERSION"));-}--#[test]-fn trace_create_input_output_follow_content_gate() {- let mut turn = span(- "trace-1",- "root",- None,- "agent.turn",- SpanKind::Turn,- SpanStatus::Ok,- 1_000,- Some(2_000),- );- turn.input = Some(json!("the prompt"));- turn.output = Some(json!("the reply"));- let spans = vec![turn];-- let on = spans_to_langfuse_batch(&spans, true, "production");- assert_eq!(on["batch"][0]["body"]["input"], "the prompt");- assert_eq!(on["batch"][0]["body"]["output"], "the reply");-- let off = spans_to_langfuse_batch(&spans, false, "production");- assert!(off["batch"][0]["body"].get("input").is_none());- assert!(off["batch"][0]["body"].get("output").is_none());-}-#[test]fn environment_derivation_from_backend_base() {assert_eq!(diff --git a/crates/openhuman-core/src/agent/progress_tracing/langfuse_trace_fields_tests.rs b/crates/openhuman-core/src/agent/progress_tracing/langfuse_trace_fields_tests.rsindex d6e431289c..a8a1031525 100644--- a/crates/openhuman-core/src/agent/progress_tracing/langfuse_trace_fields_tests.rs+++ b/crates/openhuman-core/src/agent/progress_tracing/langfuse_trace_fields_tests.rs@@ -1,6 +1,5 @@use super::*;-use crate::agent::progress_tracing::langfuse::span_export::spans_to_langfuse_batch;/// An unparseable base is the fail-closed default rather than a panic or a/// pushable bucket. `ingestion_url` returns a non-URL placeholder when no/// backend host resolves.@@ -15,171 +14,3 @@ fn an_unparseable_base_is_external() {}}-#[test]-fn trace_create_carries_environment_release_and_run_tags() {- let mut turn = span(- "trace-1",- "root",- None,- "agent.turn",- SpanKind::Turn,- SpanStatus::Ok,- 1_000,- Some(2_000),- );- turn.attributes- .insert("run.type".into(), json!("autonomous_task"));- turn.attributes- .insert("channel.source".into(), json!("autonomous"));- let payload = spans_to_langfuse_batch(&[turn], false, "staging");- let trace = &payload["batch"][0]["body"];- // Top-level Langfuse trace fields, not metadata.- assert_eq!(trace["environment"], "staging");- assert_eq!(trace["release"], env!("CARGO_PKG_VERSION"));- // Filterable run tags + run_type metadata.- assert_eq!(- trace["tags"],- json!(["run:autonomous_task", "source:autonomous"])- );- assert_eq!(trace["metadata"]["run_type"], "autonomous_task");-}--#[test]-fn interactive_chat_trace_gets_interactive_run_tag() {- let mut turn = span(- "trace-1",- "root",- None,- "agent.turn",- SpanKind::Turn,- SpanStatus::Ok,- 1_000,- Some(2_000),- );- turn.attributes- .insert("run.type".into(), json!("interactive_chat"));- turn.attributes- .insert("channel.source".into(), json!("chat"));- let payload = spans_to_langfuse_batch(&[turn], false, "production");- let trace = &payload["batch"][0]["body"];- assert_eq!(- trace["tags"],- json!(["run:interactive_chat", "source:chat"])- );- assert_eq!(trace["metadata"]["run_type"], "interactive_chat");-}--#[test]-fn generation_usage_details_map_reasoning_and_cache_tokens() {- let mut gen = span(- "trace-1",- "gen-1",- Some("root"),- "llm.agentic-v1",- SpanKind::Generation,- SpanStatus::Ok,- 1_000,- Some(1_500),- );- gen.attributes.clear();- gen.attributes- .insert("gen_ai.request.model".into(), json!("agentic-v1"));- gen.attributes- .insert("gen_ai.usage.input_tokens".into(), json!(1_000));- gen.attributes- .insert("gen_ai.usage.output_tokens".into(), json!(200));- gen.attributes- .insert("gen_ai.usage.cached_input_tokens".into(), json!(0));- gen.attributes- .insert("gen_ai.usage.reasoning_tokens".into(), json!(128));- gen.attributes- .insert("gen_ai.usage.cache_creation_tokens".into(), json!(64));- gen.attributes- .insert("gen_ai.usage.cost_usd".into(), json!(0.0042));- gen.attributes- .insert("gen_ai.provider".into(), json!("managed"));-- let payload = spans_to_langfuse_batch(&[gen], false, "production");- let obs = &payload["batch"][1];- assert_eq!(obs["type"], "generation-create");- let usage = &obs["body"]["usageDetails"];- assert_eq!(usage["input"], 1_000);- assert_eq!(usage["output"], 200);- // Cache reads always flow, even at 0.- assert_eq!(usage["cache_read_input_tokens"], 0);- assert_eq!(usage["reasoning_tokens"], 128);- assert_eq!(usage["cache_creation_input_tokens"], 64);- assert_eq!(obs["body"]["costDetails"]["total"], 0.0042);- // Provenance rides in observation metadata.- assert_eq!(obs["body"]["metadata"]["gen_ai.provider"], "managed");-}--#[test]-fn generation_without_reasoning_or_cache_write_omits_those_usage_keys() {- let mut gen = span(- "trace-1",- "gen-1",- Some("root"),- "llm.agentic-v1",- SpanKind::Generation,- SpanStatus::Ok,- 1_000,- Some(1_500),- );- gen.attributes.clear();- gen.attributes- .insert("gen_ai.usage.input_tokens".into(), json!(10));- gen.attributes- .insert("gen_ai.usage.output_tokens".into(), json!(5));- let payload = spans_to_langfuse_batch(&[gen], false, "production");- let usage = &payload["batch"][1]["body"]["usageDetails"];- assert_eq!(- usage["cache_read_input_tokens"], 0,- "cache reads always present"- );- assert!(usage.get("reasoning_tokens").is_none());- assert!(usage.get("cache_creation_input_tokens").is_none());-}--#[test]-fn error_span_gets_error_level_and_status_message() {- let mut tool = span(- "trace-1",- "tool-1",- Some("root"),- "tool.shell",- SpanKind::Tool,- SpanStatus::Error,- 1_000,- Some(1_200),- );- tool.attributes- .insert("error.message".into(), json!("The command timed out"));- let payload = spans_to_langfuse_batch(&[tool], false, "production");- let obs = &payload["batch"][1]["body"];- assert_eq!(obs["level"], "ERROR");- assert_eq!(obs["statusMessage"], "The command timed out");-- // Without a captured message: ERROR level, no statusMessage.- let bare = span(- "trace-1",- "tool-2",- Some("root"),- "tool.shell",- SpanKind::Tool,- SpanStatus::Error,- 1_000,- Some(1_200),- );- let payload = spans_to_langfuse_batch(&[bare], false, "production");- let obs = &payload["batch"][1]["body"];- assert_eq!(obs["level"], "ERROR");- assert!(obs.get("statusMessage").is_none());-}--#[tokio::test]-async fn empty_spans_push_is_ok_noop() {- let config = Config::default();- // Empty batch short-circuits before any host/token resolution or network.- assert!(push_spans(&config, &[]).await.is_ok());-}diff --git a/crates/openhuman-core/src/desktop/app_state/README.md b/crates/openhuman-core/src/desktop/app_state/README.mdindex b5307ab56c..f6554d4b1b 100644--- a/crates/openhuman-core/src/desktop/app_state/README.md+++ b/crates/openhuman-core/src/desktop/app_state/README.md@@ -48,4 +48,4 @@ The signed-in identity for prompts and Sentry is `security::credentials::identit## Tests- `ops_tests.rs`, `recovery_signal_tests.rs`, `schemas_tests.rs`.-- JSON-RPC shape: `tests/json_rpc_e2e.rs` (`json_rpc_app_state_snapshot_returns_runtime_shape`), `tests/config_auth_app_state_connectivity_e2e.rs`, and `tests/raw_coverage/app_state_credentials_raw_coverage_e2e.rs`.+- JSON-RPC shape: `tests/json_rpc_e2e.rs` (`json_rpc_app_state_snapshot_returns_runtime_shape`), `tests/config_auth_app_state_connectivity_e2e.rs`.diff --git a/crates/openhuman-core/src/skills/webhooks/README.md b/crates/openhuman-core/src/skills/webhooks/README.mdindex bdcb082c9c..014fed0f40 100644--- a/crates/openhuman-core/src/skills/webhooks/README.md+++ b/crates/openhuman-core/src/skills/webhooks/README.md@@ -70,7 +70,7 @@ The router also runs a separate `tokio::sync::broadcast` channel of `WebhookDebu`WebhookRouter` serializes its registrations to a JSON file (`PersistedRoutes`) at the optional `persist_path` passed to `new()`, and reloads them from that file when constructed. Writes are best-effort and fire-and-forget: offloaded to `spawn_blocking` inside a tokio runtime (inline otherwise), guarded by a monotonic generation counter so stale writes under rapid churn are dropped. Debug logs are not persisted. They live only in an in-memory `VecDeque` capped at 250 entries.-Note that nothing in the production startup path currently constructs a `WebhookRouter` or calls `SocketManager::set_webhook_router`; the only caller is `tests/raw_coverage/webhooks_ingress_e2e.rs`. Until a router is attached, the local RPCs return empty results (see above) and the subscriber answers every incoming request with `404`.+Note that nothing in the production startup path currently constructs a `WebhookRouter` or calls `SocketManager::set_webhook_router`; it has no caller outside tests. Until a router is attached, the local RPCs return empty results (see above) and the subscriber answers every incoming request with `404`.## Dependenciesdiff --git a/docs/TEST-COVERAGE-MATRIX.md b/docs/TEST-COVERAGE-MATRIX.mdindex 39417e2488..c253887e33 100644--- a/docs/TEST-COVERAGE-MATRIX.md+++ b/docs/TEST-COVERAGE-MATRIX.md@@ -84,7 +84,7 @@ Canonical mapping of every product feature to its test source(s). Drives gap-fil| 1.3.2 | Session Persistence | WD+RU | `logout-relogin-onboarding.spec.ts`, `crates/openhuman-core/src/security/credentials/ops_credential_tests.rs` | ✅ | || 1.3.3 | Refresh Token Rotation | VU | _missing_ — tracked #968 | ❌ | Slice-level refresh logic || 1.3.4 | Product Identity Header (`x-sdk-name`) | RU | `crates/openhuman-tinyhumans/src/backend/headers_tests.rs`, `crates/openhuman-tinyhumans/src/transport/transport_tests.rs`, `crates/openhuman-tinyhumans/src/session/client_tests.rs`, `crates/openhuman-core/src/integrations/client_tests.rs` | ✅ | #5406 — backend requests carry a sanitized product identity. RU covers the sanitizer, default, and override on the SDK and raw HTTP client paths. |-| 1.3.5 | Credential handoff to core (`auth.set_credential`) | RU+RI | `crates/openhuman-core/src/security/credentials/ops_credential_tests.rs`, `crates/openhuman-tinyhumans/src/session/link_tests.rs`, `tests/config_auth_app_state_connectivity_e2e.rs`, `tests/raw_coverage/app_state_credentials_raw_coverage_e2e.rs` | ✅ | The core takes a JWT / API key / local token as given (no `/auth/me`): expired JWTs and sessions without a user id are refused, same-token/same-user is a cheap refresh, a different user is signed out first, the snapshot reports the handed-over user and never calls the backend. |+| 1.3.5 | Credential handoff to core (`auth.set_credential`) | RU+RI | `crates/openhuman-core/src/security/credentials/ops_credential_tests.rs`, `crates/openhuman-tinyhumans/src/session/link_tests.rs`, `tests/config_auth_app_state_connectivity_e2e.rs` | ✅ | The core takes a JWT / API key / local token as given (no `/auth/me`): expired JWTs and sessions without a user id are refused, same-token/same-user is a cheap refresh, a different user is signed out first, the snapshot reports the handed-over user and never calls the backend. |### 1.4 Logout & Revocationdiff --git a/scripts/test-rust-with-mock.sh b/scripts/test-rust-with-mock.shindex 016d593477..04938b1ba2 100755--- a/scripts/test-rust-with-mock.sh+++ b/scripts/test-rust-with-mock.sh@@ -205,7 +205,6 @@ run_raw_coverage_modules() {# path. These groups verify the host-to-module round trip, so inject the# pinned connector only for their processes.if { [ "$module" = "composio_credentials_state_raw_coverage_e2e" ] ||- [ "$module" = "composio_ops_raw_coverage_e2e" ] ||[ "$module" = "tools_composio_large_round25_raw_coverage_e2e" ]; } &&[ -z "${TINYCONNECTORS_TEST_MODULE:-}" ]; thenTINYCONNECTORS_TEST_MODULE="$connectors_module" \diff --git a/tests/config_auth_app_state_connectivity_e2e.rs b/tests/config_auth_app_state_connectivity_e2e.rsindex 8b1a2d09c2..a1b99cab20 100644--- a/tests/config_auth_app_state_connectivity_e2e.rs+++ b/tests/config_auth_app_state_connectivity_e2e.rs@@ -65,8 +65,7 @@ use tinybus::EventHandler;const TEST_RPC_TOKEN: &str = "worker-a-domain-e2e-token";static AUTH_INIT: OnceLock<()> = OnceLock::new();-// This file is both its own integration target AND `#[path]`-included as-// `base_coverage` by `raw_coverage/config_credentials_raw_coverage_e2e.rs`.+// This file is its own integration target, and other binaries may `#[path]`-include it.// `ENV_LOCK` aliases `crate::SHARED_ENV_LOCK`, which resolves to this file's// own static when built standalone (separate process, isolated env) and to the// aggregate's shared static when nested into `raw_coverage_all` (so its env@@ -110,8 +109,7 @@ impl Drop for EnvVarGuard {}}-// `pub` so binaries that `#[path]`-include this file as a module (e.g.-// `config_credentials_raw_coverage_e2e.rs` as `base_coverage`) can route their+// `pub` so binaries that `#[path]`-include this file as a module can route their// own env-mutating tests through the SAME lock, serializing all// OPENHUMAN_WORKSPACE/BACKEND_URL mutations in the combined binary.pub fn env_lock() -> std::sync::MutexGuard<'static, ()> {diff --git a/tests/memory_tree_health_e2e.rs b/tests/memory_tree_health_e2e.rsindex db6751faec..93b53095b3 100644--- a/tests/memory_tree_health_e2e.rs+++ b/tests/memory_tree_health_e2e.rs@@ -12,10 +12,9 @@//! one had a green tick on it. The gate fix in the same change makes the real//! figure 24/31; the seven cases below are the gap it exposes.//!-//! These are NOT in `tests/raw_coverage/memory_goals_people_e2e.rs`, the file-//! that already drives `memory_tree_*`, because that file opens with-//! `#![cfg(any())]` (the #6382 quarantine) and compiles to nothing. Adding a-//! case there would credit the coverage gate and run no code at all.+//! They live in their own target rather than under `tests/raw_coverage/`; the old+//! `memory_goals_people_e2e.rs` fixture that also drove `memory_tree_*` was+//! quarantined under #6382 and has been removed.//!//! # What is asserted, and what is not//!diff --git a/tests/raw_coverage/inference_provider_auth_e2e.rs b/tests/raw_coverage/inference_provider_auth_e2e.rsindex ede81f5949..efd9ced06b 100644--- a/tests/raw_coverage/inference_provider_auth_e2e.rs+++ b/tests/raw_coverage/inference_provider_auth_e2e.rs@@ -90,7 +90,7 @@ impl Drop for EnvVarGuard {}}-/// See the note in `sandbox_runtime_platform_e2e.rs`: `core::auth::RPC_TOKEN`+/// `core::auth::RPC_TOKEN`/// is a process-global `OnceLock` and `init_rpc_token` is idempotent, so inside/// the aggregated binary the first suite to initialise pins the bearer. Use the/// token this process actually validates rather than assuming ours won.diff --git a/tests/raw_coverage/w4_shared/mod.rs b/tests/raw_coverage/w4_shared/mod.rsindex 3b9eb96279..ed1da7032f 100644--- a/tests/raw_coverage/w4_shared/mod.rs+++ b/tests/raw_coverage/w4_shared/mod.rs@@ -1,5 +1,4 @@-//! Shared harness for the W4 e2e targets (`billing_cost_e2e`, `team_referral_e2e`,-//! `secrets_devices_e2e`).+//! Shared harness for the W4 e2e targets (`billing_cost_e2e`).//!//! Included with `#[path]` rather than living in `tests/*.rs`, so cargo does not//! auto-discover it as a fourth test binary. Every helper mirrors the equivalentdiff --git a/tests/raw_coverage/worker_b_raw_coverage_e2e.rs b/tests/raw_coverage/worker_b_raw_coverage_e2e.rsindex b85a392570..4c944b47a5 100644--- a/tests/raw_coverage/worker_b_raw_coverage_e2e.rs+++ b/tests/raw_coverage/worker_b_raw_coverage_e2e.rs@@ -103,7 +103,7 @@ fn ensure_rpc_auth() {// which is what quarantined the managed web-search case (#6387). The// aggregate target only DECLARES the module (`raw_coverage_all.rs:40-41`);// its doc at `:38` says each suite calls it from its own fixture, and the- // siblings that reach the backend do (e.g. `webhooks_ingress_e2e.rs:95`).+ // siblings that reach the backend do.// Idempotent behind a `Once`, so the other suites in this binary calling it// too costs nothing.crate::tinyhumans_boot::boot();