Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(ci): restore fleet_prompt_tests to the CI lite workflow

Steven Enamakelaf4df2adad12
diff --git a/.github/workflows/ci-lite.yml b/.github/workflows/ci-lite.yml
index 4f419a4add..092bdd7092 100644
--- a/.github/workflows/ci-lite.yml
+++ b/.github/workflows/ci-lite.yml
@@ -687,7 +687,6 @@ jobs:
agent/harness/session/session_builder_and_listener_tests.rs
agent/harness/session/turn/tools.rs
agent/harness/subagent_runner/tool_prep_tests.rs
- agent/registry/agents/fleet_prompt_tests.rs
agent/registry/agents/loader.rs
agent/registry/agents/loader_tests_builtin_registration_tests.rs
agent/registry/agents/loader_tests_orchestrator_tier_tests.rs
diff --git a/crates/openhuman-core/src/agent/registry/agents/fleet_prompt_tests.rs b/crates/openhuman-core/src/agent/registry/agents/fleet_prompt_tests.rs
index 6ad27016d7..4f56b90c29 100644
--- a/crates/openhuman-core/src/agent/registry/agents/fleet_prompt_tests.rs
+++ b/crates/openhuman-core/src/agent/registry/agents/fleet_prompt_tests.rs
@@ -337,10 +337,11 @@ const NAMES_NO_TOOL: &[&str] = &[
"archivist",
];
-#[cfg(feature = "skills")]
-const SKILL_SETUP_NAME: Option<&str> = Some("skill_setup");
-#[cfg(not(feature = "skills"))]
-const SKILL_SETUP_NAME: Option<&str> = None;
+const SKILL_SETUP_NAME: Option<&str> = if cfg!(feature = "skills") {
+ Some("skill_setup")
+} else {
+ None
+};
/// An agent with a belt must be told about at least one tool on it.
///