Skip to content

Commit f28fab1

Browse files
AlexMikhalevTerraphim CIclaude
authored
fix(ci): resolve three pre-existing CI failures (#759)
- Remove unused TerraphimAgent import in multi_agent test (clippy -D warnings) - Use sh -c instead of sh -lc for workspace hook execution (login shell sources /home/alex/tools/rust/cargo/env which doesn't exist on CI runners) - Add --features zlob to ci-check-format.sh clippy command (fff-search build.rs panics in CI without zlob feature enabled) Co-authored-by: Terraphim CI <alex@terraphim.ai> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0e9a5a6 commit f28fab1

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

crates/terraphim_multi_agent/tests/simple_agent_test.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
use terraphim_multi_agent::{
2-
agent::AgentStatus, test_utils::*, CommandInput, CommandType, TerraphimAgent,
3-
};
1+
use terraphim_multi_agent::{agent::AgentStatus, test_utils::*, CommandInput, CommandType};
42

53
#[tokio::test]
64
async fn test_agent_creation_simple() {

crates/terraphim_workspace/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ impl WorkspaceManager {
266266
tracing::debug!(hook = hook_name, cwd = %cwd.display(), "running hook");
267267

268268
let mut cmd = Command::new("sh");
269-
cmd.arg("-lc")
269+
cmd.arg("-c")
270270
.arg(script)
271271
.current_dir(cwd)
272272
.stdout(std::process::Stdio::piped())

scripts/ci-check-format.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ fi
109109
# - useless_vec, items_after_test_module, module_inception: test organization
110110
# - bool_comparison, nonminimal_bool: test boolean expressions
111111
# - redundant_clone: performance not critical in tests
112-
if timeout 1200 cargo clippy --workspace --all-targets --message-format=short -- \
112+
if timeout 1200 cargo clippy --workspace --all-targets --features zlob --message-format=short -- \
113113
-D clippy::all \
114114
-A clippy::nursery -A clippy::pedantic \
115115
-A dead_code -A unused \

0 commit comments

Comments
 (0)