#!/bin/bash # Quick check of service binary availability # Wave 105 Agent 10 echo "=========================================" echo "Service Binary Status Check" echo "=========================================" echo "" services=("api_gateway" "trading_service" "backtesting_service" "ml_training_service") found=0 missing=0 for service in "${services[@]}"; do debug_bin="target/debug/$service" release_bin="target/release/$service" if [ -f "$debug_bin" ]; then size=$(du -h "$debug_bin" | cut -f1) echo "✅ $service (debug): $size" ls -lh "$debug_bin" | awk '{print " Modified:", $6, $7, $8}' ((found++)) elif [ -f "$release_bin" ]; then size=$(du -h "$release_bin" | cut -f1) echo "✅ $service (release): $size" ls -lh "$release_bin" | awk '{print " Modified:", $6, $7, $8}' ((found++)) else echo "❌ $service: NOT FOUND" echo " Build with: cargo build -p $service" ((missing++)) fi echo "" done echo "=========================================" echo "Summary: $found found, $missing missing" echo "=========================================" if [ $missing -gt 0 ]; then exit 1 fi exit 0