refactor: rename tli→fxt, delete legacy scripts/RunPod/deploy artifacts

- Rename tli/ directory to fxt/, update package + binary name to "fxt"
- Replace all `use tli::` → `use fxt::` across 52 Rust files
- Update build.rs proto paths (tli/proto → fxt/proto) in 6 services
- Update Dockerfiles, CI workflows, deploy.sh for new paths
- Delete ~170 legacy shell scripts (kept 15 essential ones)
- Delete RunPod Python client (runpod/), tests (tests/runpod/)
- Delete foxhunt-deploy crate (RunPod-only deployment tool)
- Delete terraform/runpod/ (moved to Scaleway)
- Delete ML Python hyperopt scripts (replaced by Rust Argmin PSO)
- Delete .gitlab-ci.yml (using GitHub + Gitea)
- Remove foxhunt-deploy from workspace members

504 files changed, -74,355 lines of legacy code removed.
Workspace compiles clean (0 errors, 0 warnings).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jgrusewski
2026-02-24 10:31:47 +01:00
parent ff15341c3e
commit 2da5bafc0e
504 changed files with 257 additions and 74355 deletions

View File

@@ -94,7 +94,7 @@ tokio-test.workspace = true
serial_test.workspace = true
tower.workspace = true # For ServiceExt in health_check_tests.rs
tower-test = "0.4" # For tower testing utilities
tli.workspace = true # For proto definitions in grpc_error_handling.rs
fxt.workspace = true # For proto definitions in grpc_error_handling.rs
jsonwebtoken = "9.3" # For JWT token generation in grpc_error_handling.rs tests
criterion = { version = "0.5", features = ["async_tokio"] } # Performance benchmarking
futures = "0.3" # For concurrent benchmark tests

View File

@@ -34,7 +34,7 @@ COPY trading_engine ./trading_engine
COPY risk ./risk
COPY risk-data ./risk-data
COPY trading-data ./trading-data
COPY tli ./tli
COPY fxt ./fxt
COPY ml ./ml
COPY ml-data ./ml-data
COPY data ./data

View File

@@ -6,6 +6,6 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
// Suppress warnings in generated code
.server_mod_attribute(".", "#[allow(unused_qualifications, missing_docs)]")
.client_mod_attribute(".", "#[allow(unused_qualifications, missing_docs)]")
.compile_protos(&["../../tli/proto/trading.proto"], &["../../tli/proto"])?;
.compile_protos(&["../../fxt/proto/trading.proto"], &["../../fxt/proto"])?;
Ok(())
}

View File

@@ -19,7 +19,7 @@ use std::time::Duration;
use tonic::{Code, Request};
// Import TLI proto definitions (Backtesting Service interface)
use tli::proto::trading::{
use fxt::proto::trading::{
backtesting_service_client::BacktestingServiceClient, GetBacktestResultsRequest,
GetBacktestStatusRequest, StartBacktestRequest, StopBacktestRequest,
};