fix: add --all to cargo fmt in script/test and autoformat codebase

cargo fmt without --all fails with "Failed to find targets" in
workspace repos. This was blocking every story's gates. Also ran
cargo fmt --all to fix all existing formatting issues.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
dave
2026-04-13 14:07:08 +00:00
parent ed2526ce41
commit 845b85e7a7
128 changed files with 3566 additions and 2395 deletions
+9 -9
View File
@@ -259,10 +259,7 @@ mod tests {
let (dir, client) = setup();
WizardState::init_if_missing(dir.path());
let resp = client
.post("/wizard/step/context/generating")
.send()
.await;
let resp = client.post("/wizard/step/context/generating").send().await;
resp.assert_status_is_ok();
let body: serde_json::Value = resp.0.into_body().into_json().await.unwrap();
assert_eq!(body["steps"][1]["status"], "generating");
@@ -273,10 +270,7 @@ mod tests {
let (dir, client) = setup();
WizardState::init_if_missing(dir.path());
let resp = client
.post("/wizard/step/nonexistent/confirm")
.send()
.await;
let resp = client.post("/wizard/step/nonexistent/confirm").send().await;
resp.assert_status(StatusCode::NOT_FOUND);
}
@@ -286,7 +280,13 @@ mod tests {
WizardState::init_if_missing(dir.path());
// Steps 2-6 (scaffold is already confirmed)
let steps = ["context", "stack", "test_script", "release_script", "test_coverage"];
let steps = [
"context",
"stack",
"test_script",
"release_script",
"test_coverage",
];
for step in steps {
let resp = client
.post(format!("/wizard/step/{step}/confirm"))