mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-11 22:53:00 +00:00
parent
728a1057ae
commit
1c8813d73f
4 changed files with 354 additions and 17 deletions
314
run.json
314
run.json
File diff suppressed because one or more lines are too long
46
stages/009-fixup@1/diff.patch
Normal file
46
stages/009-fixup@1/diff.patch
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
diff --git a/lib/crates/fabro-cli/tests/it/cmd/mcp.rs b/lib/crates/fabro-cli/tests/it/cmd/mcp.rs
|
||||
index 8d9e7e83..e25807c8 100644
|
||||
--- a/lib/crates/fabro-cli/tests/it/cmd/mcp.rs
|
||||
+++ b/lib/crates/fabro-cli/tests/it/cmd/mcp.rs
|
||||
@@ -568,7 +568,8 @@ async fn mcp_create_and_search_manage_real_runs_with_cli_auth() {
|
||||
},
|
||||
"source_directory": "[SOURCE_DIRECTORY]",
|
||||
"repo_origin_url": null,
|
||||
- "goal": "Run tests and report results"
|
||||
+ "goal_preview": "Run tests and report results",
|
||||
+ "goal_truncated": false
|
||||
}
|
||||
],
|
||||
"next_cursor": null
|
||||
@@ -783,7 +784,7 @@ async fn mcp_search_filters_status_dates_and_paginates() {
|
||||
}
|
||||
|
||||
#[tokio::test(flavor = "multi_thread")]
|
||||
-async fn mcp_search_includes_archived_runs_by_default() {
|
||||
+async fn mcp_search_hides_archived_runs_by_default() {
|
||||
let context = test_context!();
|
||||
let server = MockServer::start();
|
||||
let target_url = format!("{}/api/v1", server.base_url());
|
||||
@@ -820,13 +821,13 @@ async fn mcp_search_includes_archived_runs_by_default() {
|
||||
)
|
||||
.await;
|
||||
|
||||
- assert_eq!(result["runs"].as_array().unwrap().len(), 2);
|
||||
+ assert_eq!(result["runs"].as_array().unwrap().len(), 1);
|
||||
assert!(
|
||||
result["runs"]
|
||||
.as_array()
|
||||
.unwrap()
|
||||
.iter()
|
||||
- .any(|run| run["archived"] == true)
|
||||
+ .all(|run| run["archived"] == false)
|
||||
);
|
||||
active_resolve.assert();
|
||||
archived_resolve.assert();
|
||||
@@ -2301,4 +2302,4 @@ fn mock_resolved_run_json<'a>(
|
||||
.header("Content-Type", "application/json")
|
||||
.json_body(body);
|
||||
})
|
||||
-}
|
||||
+}
|
||||
\ No newline at end of file
|
||||
6
stages/009-fixup@1/status.json
Normal file
6
stages/009-fixup@1/status.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"outcome": "succeeded",
|
||||
"notes": "Stage completed: fixup",
|
||||
"failure_reason": null,
|
||||
"timestamp": "2026-05-11T21:29:32.888301Z"
|
||||
}
|
||||
5
stages/010-verify@2/script_invocation.json
Normal file
5
stages/010-verify@2/script_invocation.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"script": "cargo +nightly-2026-04-14 clippy -q --workspace --all-targets -- -D warnings 2>&1 && cargo nextest run --cargo-quiet --workspace --status-level fail 2>&1 && cargo dev docs refresh 2>&1 && cargo dev docs check 2>&1",
|
||||
"command": "exec 2>&1\ncargo +nightly-2026-04-14 clippy -q --workspace --all-targets -- -D warnings 2>&1 && cargo nextest run --cargo-quiet --workspace --status-level fail 2>&1 && cargo dev docs refresh 2>&1 && cargo dev docs check 2>&1",
|
||||
"language": "shell"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue