mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-08 03:10:26 +00:00
parent
5a7f537a6c
commit
d3f28aee74
5 changed files with 66 additions and 8 deletions
File diff suppressed because one or more lines are too long
28
nodes/simplify/diff.patch
Normal file
28
nodes/simplify/diff.patch
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
diff --git a/lib/crates/fabro-workflows/src/engine.rs b/lib/crates/fabro-workflows/src/engine.rs
|
||||
index 116748f..e75a519 100644
|
||||
--- a/lib/crates/fabro-workflows/src/engine.rs
|
||||
+++ b/lib/crates/fabro-workflows/src/engine.rs
|
||||
@@ -578,18 +578,12 @@ pub async fn git_checkpoint(
|
||||
.map(|d| format!("**/{d}/**"))
|
||||
.collect();
|
||||
all_excludes.extend(exclude_globs.iter().cloned());
|
||||
- all_excludes.sort();
|
||||
- all_excludes.dedup();
|
||||
|
||||
- let add_cmd = if all_excludes.is_empty() {
|
||||
- format!("{GIT_REMOTE} add -A")
|
||||
- } else {
|
||||
- let pathspecs: Vec<String> = all_excludes
|
||||
- .iter()
|
||||
- .map(|g| format!("':(glob,exclude){g}'"))
|
||||
- .collect();
|
||||
- format!("{GIT_REMOTE} add -A -- . {}", pathspecs.join(" "))
|
||||
- };
|
||||
+ let pathspecs: Vec<String> = all_excludes
|
||||
+ .iter()
|
||||
+ .map(|g| format!("':(glob,exclude){g}'"))
|
||||
+ .collect();
|
||||
+ let add_cmd = format!("{GIT_REMOTE} add -A -- . {}", pathspecs.join(" "));
|
||||
let add_result = sandbox
|
||||
.exec_command(&add_cmd, 30_000, None, None, None)
|
||||
.await;
|
||||
5
nodes/verify/script_invocation.json
Normal file
5
nodes/verify/script_invocation.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"command": "cargo clippy -- -D warnings 2>&1 && cargo test 2>&1",
|
||||
"language": "shell",
|
||||
"timeout_ms": null
|
||||
}
|
||||
5
nodes/verify/script_timing.json
Normal file
5
nodes/verify/script_timing.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"duration_ms": 46003,
|
||||
"exit_code": 0,
|
||||
"timed_out": false
|
||||
}
|
||||
6
nodes/verify/status.json
Normal file
6
nodes/verify/status.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"status": "success",
|
||||
"notes": "Script completed: cargo clippy -- -D warnings 2>&1 && cargo test 2>&1",
|
||||
"failure_reason": null,
|
||||
"timestamp": "2026-03-15T23:04:58.316791+00:00"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue