test(derive): close first mutation shard

Create shard output parents, exercise exact handler placement/signature/codegen contracts, preserve generated-file and form-bound diagnostics, and fail closed on malformed form symbol manifests. Public shard 1/8 passes through both 16-way partitions.

req: derive_handler/001

req: client_local/001

req: form/004

req: diagnostics/003

req: test/022

req: test/023
This commit is contained in:
slhx agent
2026-07-17 14:02:19 +02:00
parent 8c79ea26bf
commit 62b0787a8e
3 changed files with 281 additions and 66 deletions
+9
View File
@@ -1347,6 +1347,15 @@ fn run_mutation_plan(package: Option<&str>, shard: Option<&str>) -> ExitCode {
.join(format!("shard-{}", shard.replace('/', "-of-")))
},
);
if let Some(parent) = output.parent() {
if let Err(error) = fs::create_dir_all(parent) {
eprintln!(
"failed to create mutation output parent {}: {error}",
parent.display()
);
return ExitCode::FAILURE;
}
}
let jobs = budget.jobs.to_string();
let mut command = Command::new(&mutest);
command