Files
foxhunt/tests/e2e/build.rs
jgrusewski e40c7715bb 🚀 Wave 34: 12 Parallel Agents - 88% Error Reduction (200→24)
Agent Results:
 Agent 1: Verified ML CheckpointMetadata (no errors found)
 Agent 2: Fixed 12 ML error handling issues (E0533, E0277, E0282)
 Agent 3: Fixed 10 ML type mismatches (E0308)
 Agent 4: Fixed 5 trading service test errors (E0599, E0308)
 Agent 5: Restored 5 tests crate infrastructure types
 Agent 6: Fixed 3 tests dependencies (OrderSide/Status, tempfile)
 Agent 7: Fixed TradingEventType re-export
 Agent 8: Fixed 7 E2E test files (proto namespaces)
 Agent 9: Verified ML crate clean compilation
 Agent 10: Fixed 4 trading service/engine errors
 Agent 11: Completed integration test analysis
 Agent 12: Generated comprehensive verification report

Files Modified: 30 files
Error Reduction: ~200 errors → 24 errors (88%)
Remaining: 16 ML + 5 E2E + 3 tests = 24 errors

Documentation:
- WAVE34_COMPLETION_REPORT.md (447 lines)
- WAVE35_ACTION_PLAN.md (detailed fixes)

Next: Wave 35 with 3 targeted agents to achieve 0 errors
2025-10-01 22:56:27 +02:00

28 lines
1015 B
Rust

use std::io::Result;
fn main() -> Result<()> {
// Build gRPC service definitions for E2E test clients
tonic_build::configure()
.build_server(false) // We only need clients for E2E tests
.build_client(true)
.out_dir("src/proto")
// Suppress warnings in generated code
.server_mod_attribute(".", "#[allow(unused_qualifications)]")
.client_mod_attribute(".", "#[allow(unused_qualifications)]")
.compile_protos(
&[
"../../services/trading_service/proto/trading.proto",
"../../services/trading_service/proto/config.proto",
"../../services/trading_service/proto/risk.proto",
"../../services/ml_training_service/proto/ml_training.proto",
],
&[
"../../services/trading_service/proto",
"../../services/ml_training_service/proto",
],
)?;
println!("cargo:rerun-if-changed=../../services/");
Ok(())
}