🔧 Wave 33: Test Compilation Improvements - 57 errors remaining
**Progress: 1,178 → 57 test errors (95% reduction)** ## Status Summary - ✅ Production code: Compiles cleanly (0 errors) - ⚠️ Test code: 57 errors remain (massive improvement) - ⚙️ All services build successfully - 📊 Warning count: 253 (target: <20) - AGENTS WILL FIX ## Remaining Test Errors (57 total) ### Primary Issues: 1. 23× E0308 mismatched types 2. 17× E0433 undeclared Decimal 3. 15× E0433 compliance module not found 4. 6× E0624 private method access 5. Various import and type issues ## Next Phase: Wave 33-2 Launch 10+ parallel agents to: - Fix remaining 57 test compilation errors - Reduce 253 warnings to <20 - Achieve 95% test coverage - Ensure all tests pass 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -26,50 +26,44 @@
|
||||
pub mod constants;
|
||||
pub mod database;
|
||||
pub mod error;
|
||||
pub mod market_data;
|
||||
pub mod traits;
|
||||
pub mod types;
|
||||
pub mod market_data;
|
||||
|
||||
// Re-export database types for external use
|
||||
pub use database::{DatabasePool, DatabaseError, DatabaseConfig};
|
||||
pub use database::{DatabaseConfig, DatabaseError, DatabasePool};
|
||||
|
||||
// Re-export commonly used types at crate root for convenience
|
||||
pub use types::{
|
||||
Symbol, Price, Quantity, OrderSide, OrderId, OrderType, OrderStatus,
|
||||
MarketDataEvent, ErrorEvent, TradeEvent, QuoteEvent, BarEvent,
|
||||
OrderBookEvent, Level2Update, ConnectionEvent, Aggregate, MarketStatus,
|
||||
PriceLevel, Subscription, DataType, ConnectionStatus, CommonTypeError,
|
||||
Position, HftTimestamp, TimeInForce, AccountId, ConfigVersion,
|
||||
ConnectionInfo, Currency, Execution, GenericTimestamp, Money, Order,
|
||||
RequestId, ResourceLimits, ServiceId, ServiceStatus, Timestamp,
|
||||
TradeId, Volume, PositionMap, BrokerType, MarketRegime,
|
||||
OrderEvent, OrderEventType
|
||||
AccountId, Aggregate, BarEvent, BrokerType, CommonTypeError, ConfigVersion, ConnectionEvent,
|
||||
ConnectionInfo, ConnectionStatus, Currency, DataType, ErrorEvent, Execution, GenericTimestamp,
|
||||
HftTimestamp, Level2Update, MarketDataEvent, MarketRegime, MarketStatus, Money, Order,
|
||||
OrderBookEvent, OrderEvent, OrderEventType, OrderId, OrderSide, OrderStatus, OrderType,
|
||||
Position, PositionMap, Price, PriceLevel, Quantity, QuoteEvent, RequestId, ResourceLimits,
|
||||
ServiceId, ServiceStatus, Subscription, Symbol, TimeInForce, Timestamp, TradeEvent, TradeId,
|
||||
Volume,
|
||||
};
|
||||
|
||||
// Re-export error types
|
||||
pub use error::{CommonResult, CommonError};
|
||||
pub use error::{CommonError, CommonResult};
|
||||
|
||||
// Re-export common traits for convenience
|
||||
pub use traits::{
|
||||
HealthCheck, Service, Configurable, Metrics, Reloadable,
|
||||
GracefulShutdown, CircuitBreaker, RateLimited, HealthStatus,
|
||||
DetailedHealth, RateLimitStatus
|
||||
CircuitBreaker, Configurable, DetailedHealth, GracefulShutdown, HealthCheck, HealthStatus,
|
||||
Metrics, RateLimitStatus, RateLimited, Reloadable, Service,
|
||||
};
|
||||
|
||||
pub use market_data::{
|
||||
MarketDataEvent as MarketDataEventFromMarketData,
|
||||
BarEvent as BarEventFromMarketData, BarInterval,
|
||||
MarketDataEvent as MarketDataEventFromMarketData, NewsEvent,
|
||||
OrderBookEvent as OrderBookEventFromMarketData, QuoteEvent as QuoteEventFromMarketData,
|
||||
TradeEvent as TradeEventFromMarketData,
|
||||
QuoteEvent as QuoteEventFromMarketData,
|
||||
BarEvent as BarEventFromMarketData,
|
||||
OrderBookEvent as OrderBookEventFromMarketData,
|
||||
NewsEvent, BarInterval
|
||||
};
|
||||
|
||||
// Import market data types for canonical use
|
||||
// Use common::market_data::{MarketDataEvent, TradeEvent, QuoteEvent, BarEvent} etc.
|
||||
pub mod trading;
|
||||
|
||||
|
||||
// Test module for database features
|
||||
#[cfg(all(test, feature = "database"))]
|
||||
mod sqlx_test;
|
||||
mod sqlx_test;
|
||||
|
||||
Reference in New Issue
Block a user