Commit Graph

186 Commits

Author SHA1 Message Date
aitbc
750f81a098 fix: replace bare except with except Exception in critical files
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 19s
Blockchain Synchronization Verification / sync-verification (push) Successful in 8s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Failing after 8s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 12s
Cross-Chain Functionality Tests / test-cross-chain-bridge (push) Has been skipped
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Failing after 8s
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Cross-Chain Functionality Tests / aggregate-results (push) Has been skipped
Deploy to Testnet / notify-deployment (push) Has been cancelled
Integration Tests / test-service-integration (push) Has started running
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 7s
Node Failover Simulation / failover-test (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
P2P Network Verification / p2p-verification (push) Successful in 10s
- Fixed bare except clauses in blockchain-node p2p_network.py
- Fixed bare except clauses in blockchain-node rpc/router.py
- Fixed bare except clauses in coordinator-api migration scripts
- Fixed bare except clause in coordinator-api agent_integration_router.py
- Addresses ruff E722 warnings in critical application code
- Note: 170 bare except clauses remain in tests/dev/plugins (lower priority)
2026-04-30 09:10:16 +02:00
aitbc
5bee7f03fb cleanup: remove Docker references from codebase
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 37s
CLI Tests / test-cli (push) Successful in 10s
Cross-Node Transaction Testing / transaction-test (push) Successful in 10s
Deploy to Testnet / deploy-testnet (push) Successful in 1m7s
Integration Tests / test-service-integration (push) Successful in 2m57s
Multi-Node Stress Testing / stress-test (push) Successful in 10s
Node Failover Simulation / failover-test (push) Successful in 6s
Deploy to Testnet / notify-deployment (push) Has been cancelled
Python Tests / test-python (push) Failing after 32s
Security Scanning / security-scan (push) Successful in 28s
- Remove host.docker.internal from api-endpoint-tests.yml CI workflow
- Remove Docker build/push commands from production-deploy.sh
- Remove Docker prerequisite checks from deploy.sh
- Remove Docker from CLI deployment instructions
- Remove Docker from marketplace_scaler.py scaling comment
- Remove Docker from agent_security.py sandbox config and comments
- Remove Docker from developer_platform.py skills list
- Remove Dockerfile/docker-compose.yml from final-cleanup.sh output
- Addresses request to remove all Docker support references
2026-04-30 08:51:01 +02:00
aitbc
8254182eeb fix: add __init__.py to bare packages across the codebase
- Add __init__.py to agent-coordinator ai, consensus, coordination, decision, lifecycle
- Add __init__.py to wallet crypto package
- Add __init__.py to coordinator-api middleware, repositories, sdk
- Addresses report item #9 (missing package initialization files)
2026-04-30 08:38:40 +02:00
aitbc
5f03ded7ff fix: replace deprecated datetime.utcnow() with datetime.now(datetime.UTC)
- Replace all 2,087 uses of datetime.utcnow() across 294 files
- Add UTC import to datetime statements where needed
- Addresses Python 3.12+ deprecation warning (report item #3)
2026-04-30 08:36:55 +02:00
aitbc
99d1666eda cleanup: remove legacy coordinator-api entrypoints and backup files
- Delete unused main_enhanced.py, main_minimal.py, main_simple.py variants
- Delete config.py.backup, main.py.backup, db.py.backup files
- Delete 14 additional backup/temp files across the repo
- Clean up technical debt from report item #6
2026-04-30 08:33:18 +02:00
aitbc
6182108d6c Fix payment service: update exchange API URL from port 23000 to 8001
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 13s
Integration Tests / test-service-integration (push) Successful in 2m27s
Python Tests / test-python (push) Successful in 8s
Security Scanning / security-scan (push) Successful in 25s
Node Failover Simulation / failover-test (push) Failing after 18s
P2P Network Verification / p2p-verification (push) Successful in 3s
Multi-Node Blockchain Health Monitoring / health-check (push) Failing after 3s
Blockchain Synchronization Verification / sync-verification (push) Failing after 3s
2026-04-28 21:21:31 +02:00
aitbc
f0ef4619e9 Add essential model imports to ensure database tables are created
All checks were successful
API Endpoint Tests / test-api-endpoints (push) Successful in 12s
Integration Tests / test-service-integration (push) Successful in 2m57s
Python Tests / test-python (push) Successful in 8s
Security Scanning / security-scan (push) Successful in 26s
2026-04-28 21:11:43 +02:00
aitbc
909b7502f2 Add essential model imports to ensure database tables are created
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 13s
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
2026-04-28 21:09:49 +02:00
aitbc
6b7702426b Revert to using main session for job creation to debug persistence issue
All checks were successful
API Endpoint Tests / test-api-endpoints (push) Successful in 1m14s
Integration Tests / test-service-integration (push) Successful in 2m57s
Python Tests / test-python (push) Successful in 10s
Security Scanning / security-scan (push) Successful in 29s
2026-04-28 21:01:16 +02:00
aitbc
5a64f5ba24 Use separate sessions for job and payment creation to avoid rollback issues
All checks were successful
API Endpoint Tests / test-api-endpoints (push) Successful in 43s
Integration Tests / test-service-integration (push) Successful in 2m57s
Python Tests / test-python (push) Successful in 10s
Security Scanning / security-scan (push) Successful in 23s
2026-04-28 20:56:00 +02:00
aitbc
67a0f8ea6c Fix job persistence by committing job separately from payment creation
All checks were successful
API Endpoint Tests / test-api-endpoints (push) Successful in 17s
Integration Tests / test-service-integration (push) Successful in 2m57s
Python Tests / test-python (push) Successful in 10s
Security Scanning / security-scan (push) Successful in 23s
2026-04-28 20:51:05 +02:00
aitbc
b11b65ba63 Add logging to track job and payment creation success
All checks were successful
API Endpoint Tests / test-api-endpoints (push) Successful in 44s
Integration Tests / test-service-integration (push) Successful in 2m27s
Python Tests / test-python (push) Successful in 13s
Security Scanning / security-scan (push) Successful in 16s
2026-04-28 20:45:48 +02:00
aitbc
22be0ceed4 Add AI job scheduling and payment flow to GPU purchase with lazy loading to avoid startup blocking
All checks were successful
API Endpoint Tests / test-api-endpoints (push) Successful in 12s
Integration Tests / test-service-integration (push) Successful in 2m27s
Python Tests / test-python (push) Successful in 19s
Security Scanning / security-scan (push) Successful in 48s
2026-04-28 20:41:53 +02:00
aitbc
169a2eb403 Fix GPU status update to ensure it's marked as booked after purchase
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 14s
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has started running
Security Scanning / security-scan (push) Has been cancelled
2026-04-28 20:38:38 +02:00
aitbc
17de73c6a2 Revert to simpler GPU purchase endpoint without job/payment integration
All checks were successful
API Endpoint Tests / test-api-endpoints (push) Successful in 28s
Integration Tests / test-service-integration (push) Successful in 3m0s
Python Tests / test-python (push) Successful in 9s
Security Scanning / security-scan (push) Successful in 28s
2026-04-28 20:32:24 +02:00
aitbc
d029d2ddbf Revert job and payment integration to fix service startup - use simpler approach
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Has started running
Integration Tests / test-service-integration (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Python Tests / test-python (push) Successful in 14s
2026-04-28 20:31:27 +02:00
aitbc
d5758f2cc5 Revert job and payment integration to fix service startup - use simpler approach
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 1m47s
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
2026-04-28 20:28:58 +02:00
aitbc
6462fedda7 Fix marketplace_gpu import: use direct storage.db import to avoid circular import
Some checks are pending
API Endpoint Tests / test-api-endpoints (push) Waiting to run
Integration Tests / test-service-integration (push) Successful in 3m7s
Python Tests / test-python (push) Successful in 24s
Security Scanning / security-scan (push) Has started running
2026-04-28 20:24:28 +02:00
aitbc
d35c7a919f Add get_session import to fix service startup
Some checks failed
Python Tests / test-python (push) Waiting to run
Security Scanning / security-scan (push) Waiting to run
API Endpoint Tests / test-api-endpoints (push) Successful in 19s
Integration Tests / test-service-integration (push) Has been cancelled
2026-04-28 20:22:39 +02:00
aitbc
d615cc162b Add MarketDataCollector import to fix service startup
All checks were successful
API Endpoint Tests / test-api-endpoints (push) Successful in 15s
Integration Tests / test-service-integration (push) Successful in 2m57s
Python Tests / test-python (push) Successful in 12s
Security Scanning / security-scan (push) Successful in 48s
2026-04-28 20:18:14 +02:00
aitbc
0001c643c1 Fix imports for JobService and PaymentService in marketplace_gpu.py
All checks were successful
API Endpoint Tests / test-api-endpoints (push) Successful in 15s
Integration Tests / test-service-integration (push) Successful in 2m56s
Python Tests / test-python (push) Successful in 12s
Security Scanning / security-scan (push) Successful in 34s
2026-04-28 20:12:19 +02:00
aitbc
56d219582d Connect GPU marketplace purchases to AI job scheduling and payment flow
All checks were successful
API Endpoint Tests / test-api-endpoints (push) Successful in 1m31s
Integration Tests / test-service-integration (push) Successful in 2m57s
Python Tests / test-python (push) Successful in 10s
Security Scanning / security-scan (push) Successful in 1m2s
2026-04-28 20:06:50 +02:00
aitbc
01b4c4ea33 Fix admin router conditional check and ensure marketplace_gpu router is imported
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 1m54s
Integration Tests / test-service-integration (push) Successful in 3m1s
Python Tests / test-python (push) Successful in 16s
Security Scanning / security-scan (push) Successful in 48s
Multi-Node Blockchain Health Monitoring / health-check (push) Failing after 2s
Blockchain Synchronization Verification / sync-verification (push) Failing after 6s
2026-04-28 19:44:31 +02:00
aitbc
6861621842 Fix admin router import error and add Optional import for GPUSellRequest
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Has started running
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
2026-04-28 19:43:46 +02:00
aitbc
807eff5ea9 Fix broken GPU purchase flow - add missing request models and endpoints
All checks were successful
API Endpoint Tests / test-api-endpoints (push) Successful in 12s
Integration Tests / test-service-integration (push) Successful in 2m56s
Python Tests / test-python (push) Successful in 8s
Security Scanning / security-scan (push) Successful in 16s
2026-04-28 18:51:16 +02:00
aitbc
3993ce79c2 Fix broken GPU purchase flow - add missing request models and endpoints
All checks were successful
API Endpoint Tests / test-api-endpoints (push) Successful in 14s
Integration Tests / test-service-integration (push) Successful in 2m57s
Python Tests / test-python (push) Successful in 12s
Security Scanning / security-scan (push) Successful in 17s
2026-04-28 18:45:54 +02:00
aitbc
4abda10883 Add missing buy_gpu endpoint to marketplace GPU router
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 12s
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
2026-04-28 18:42:12 +02:00
aitbc
bcc7ff0f0b Fix broken GPU purchase flow by adding missing GPUBuyRequest and GPUSellRequest models
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 44s
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
2026-04-28 18:41:23 +02:00
aitbc
36b1937fcb Fix import errors in handlers - use absolute imports instead of relative imports
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 13s
CLI Tests / test-cli (push) Failing after 2s
Security Scanning / security-scan (push) Has been cancelled
Integration Tests / test-service-integration (push) Successful in 2m57s
Python Tests / test-python (push) Successful in 11s
2026-04-28 18:21:48 +02:00
aitbc
31df4d538f Simplify marketplace buy/sell endpoint paths to avoid conflicts
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 49s
CLI Tests / test-cli (push) Failing after 2s
Integration Tests / test-service-integration (push) Has started running
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has started running
2026-04-28 18:19:49 +02:00
aitbc
0c995f7412 Change GPU buy/sell endpoints to avoid path conflicts
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 12s
CLI Tests / test-cli (push) Failing after 1s
Security Scanning / security-scan (push) Has been cancelled
Integration Tests / test-service-integration (push) Successful in 1m57s
Python Tests / test-python (push) Successful in 26s
2026-04-28 18:12:20 +02:00
aitbc
aeaae04544 Change GPU buy/sell endpoints to use gpu_id path parameter
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 12s
Python Tests / test-python (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
2026-04-28 18:11:11 +02:00
aitbc
70b725e13c Remove status_code from buy endpoint decorator
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 13s
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
2026-04-28 18:10:11 +02:00
aitbc
2b0769d4de Fix marketplace GPU buy/sell endpoint paths (remove duplicate /v1 prefix)
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 17s
Security Scanning / security-scan (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
2026-04-28 18:08:39 +02:00
aitbc
69360aa17f Add GPU buy/sell endpoints to coordinator API marketplace
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 47s
Integration Tests / test-service-integration (push) Has started running
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has started running
2026-04-28 18:06:28 +02:00
aitbc
04852fc480 security: enforce required API_KEY_HASH_SECRET and migrate keystore password to credential system
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 19s
Blockchain Synchronization Verification / sync-verification (push) Failing after 2s
Integration Tests / test-service-integration (push) Successful in 3m1s
Multi-Node Blockchain Health Monitoring / health-check (push) Failing after 7s
P2P Network Verification / p2p-verification (push) Successful in 9s
Python Tests / test-python (push) Successful in 28s
Security Scanning / security-scan (push) Successful in 55s
Systemd Sync / sync-systemd (push) Successful in 17s
Remove default fallback for API_KEY_HASH_SECRET in tenant context middleware and management service, requiring explicit environment variable configuration. Migrate keystore password handling from /etc/aitbc/keystore_password to /etc/aitbc/credentials/keystore_password with 600 permissions. Add load-keystore-secrets.sh pre-start hook and /run/aitbc/secrets/.env environment file to blockchain-node, blockchain
2026-04-28 07:29:51 +02:00
aitbc
b77a6ce007 ci: add daily failover simulation schedule and standardize service configurations
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 16s
CLI Tests / test-cli (push) Failing after 3s
Documentation Validation / validate-docs (push) Failing after 10s
Documentation Validation / validate-policies-strict (push) Failing after 3s
Integration Tests / test-service-integration (push) Successful in 3m0s
Python Tests / test-python (push) Successful in 17s
Security Scanning / security-scan (push) Failing after 23s
Blockchain Synchronization Verification / sync-verification (push) Failing after 10s
Node Failover Simulation / failover-test (push) Failing after 5s
P2P Network Verification / p2p-verification (push) Successful in 5s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 5s
Systemd Sync / sync-systemd (push) Failing after 14m56s
Add daily 2 AM cron schedule for node failover simulation workflow. Relax AITBC address validation to support variable-length addresses. Add missing logging import to chain_sync. Make coordinator database initialization non-fatal to allow startup even if init_db fails. Replace Ethereum address validation with AITBC-specific format checks in multisig transactions. Standardize PYTHONPATH across all systemd services to include
2026-04-27 16:51:13 +02:00
aitbc
8df40c1860 Fix clear-text logging in admin.py and security_audit.py
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 45s
Integration Tests / test-service-integration (push) Successful in 1m45s
Python Tests / test-python (push) Successful in 27s
Security Scanning / security-scan (push) Has been cancelled
2026-04-27 08:37:47 +02:00
aitbc
d7f61ed66b Replace SHA256 with HMAC-SHA256 for API key hashing and add path traversal validation for keystore database path
All checks were successful
API Endpoint Tests / test-api-endpoints (push) Successful in 40s
Integration Tests / test-service-integration (push) Successful in 1m43s
Python Tests / test-python (push) Successful in 15s
Security Scanning / security-scan (push) Successful in 44s
2026-04-27 08:29:33 +02:00
aitbc
80a9e890c5 fix: use logger instead of logging in fhe_service.py
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 1m45s
Integration Tests / test-service-integration (push) Successful in 2m11s
Python Tests / test-python (push) Failing after 35s
Security Scanning / security-scan (push) Successful in 1m53s
The file was using logging.warning without importing logging module.
Changed to use logger which is already imported from aitbc.
2026-04-25 08:38:23 +02:00
aitbc
f1402232c5 fix: use get_logger instead of logging.getLogger in developer_platform_service.py
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 15s
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
The file was using logging.getLogger without importing logging module.
Changed to use get_logger from aitbc which is already imported.
2026-04-25 08:22:57 +02:00
aitbc
7b7405a388 fix: remove orphaned else block causing SyntaxError in client.py
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 11s
Integration Tests / test-service-integration (push) Successful in 2m47s
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
The else block at line 250 was orphaned (no corresponding if), causing
a SyntaxError during coordinator-api startup. Removed the invalid else block.
2026-04-25 08:18:48 +02:00
aitbc
5cf945e313 fix: move from __future__ import annotations to top of payments.py
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 15s
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Python requires from __future__ imports to be at the beginning of the file.
The import was at line 10, causing SyntaxError during coordinator-api startup.
2026-04-25 08:15:07 +02:00
aitbc
3030a3720f Implement all 6 phases of missing functionality
Phase 1: Agent SDK Marketplace Integration
- Implement _submit_to_marketplace() with HTTP client to coordinator API
- Implement _update_marketplace_offer() with HTTP client
- Implement assess_capabilities() with GPU detection using nvidia-smi
- Add coordinator_url parameter and AITBCHTTPClient integration

Phase 2: Agent SDK Network Registration
- Implement register_with_network() with HTTP client to coordinator API
- Implement get_reputation() with HTTP client to fetch from API
- Implement get_earnings() with HTTP client to fetch from API
- Implement signature verification in send_message() and receive_message()
- Add coordinator_url parameter and AITBCHTTPClient integration

Phase 3: Coordinator API Enterprise Integration
- Implement generic ERPIntegration base class methods with mock implementations
- Implement generic CRMIntegration base class methods with mock implementations
- Add BillingIntegration base class with generic mock implementations
- Add ComplianceIntegration base class with generic mock implementations
- No third-party integration as requested

Phase 4: Coordinator API Key Management
- Add MockHSMStorage class with in-memory key storage
- Add HSMProviderInterface with mock HSM connection methods
- FileKeyStorage already had all abstract methods implemented

Phase 5: Blockchain Node Multi-Chain Operations
- Implement start_chain() with Ethereum-specific chain startup
- Implement stop_chain() with Ethereum-specific chain shutdown
- Implement sync_chain() with Ethereum consensus (longest-chain rule)
- Add database, RPC server, P2P service, and consensus initialization

Phase 6: Settlement Bridge
- Implement EthereumBridge class extending BridgeAdapter
- Implement _encode_payload() with Ethereum transaction encoding
- Implement _get_gas_estimate() with Web3 client integration
- Add Web3 client initialization and gas estimation with safety buffer
2026-04-25 08:00:40 +02:00
aitbc
ad5c147789 Expand aitbc package with new utility modules and enhanced HTTP client
- Add new exception types: RetryError, CircuitBreakerOpenError, RateLimitError
- Enhance AITBCHTTPClient with retry logic, caching, circuit breaker, and rate limiting
- Add AsyncAITBCHTTPClient for async HTTP operations
- Add crypto module with Ethereum key derivation, signing, encryption, and hashing utilities
- Add web3_utils module with Web3Client and create_web3_client
- Add security module with token generation, API key management
2026-04-25 07:46:44 +02:00
aitbc
f0d6e769c3 Migrate coordinator-api scripts to centralized aitbc package utilities
- Migrate scripts/migrate_to_postgresql.py hardcoded path to use DATA_DIR
- Migrate scripts/migrate_complete.py hardcoded path to use DATA_DIR
2026-04-25 07:25:05 +02:00
aitbc
e9eea6fb22 Migrate remaining coordinator-api files to centralized aitbc package utilities
- Migrate main.py, main_minimal.py, main_enhanced.py (logging)
- Migrate utils/ files: metrics.py, cache_management.py, circuit_breaker.py, alerting.py, cache.py
- Migrate storage/ files: db_pg.py, db.py
- Migrate settlement/hooks.py
- Migrate sdk/enterprise_client.py
- Migrate reputation/ files: engine.py, aggregator.py
- Migrate agent_identity/ files: wallet_adapter_enhanced.py, wallet_adapter.py, registry.py, core.py, manager.py, sdk/communication.py
- Migrate services/ files: performance_monitoring.py, multi_modal_websocket_fusion.py, multi_modal_fusion.py
- Remove duplicate logging imports
- Add missing aitbc imports for get_logger
2026-04-25 07:20:21 +02:00
aitbc
55060730b2 Migrate coordinator-api to centralized aitbc package utilities
- Migrate 69 service files from logging to aitbc.get_logger
- Migrate explorer.py HTTP client from httpx.Client to AITBCHTTPClient
- Migrate config.py hardcoded paths to use DATA_DIR and LOG_DIR constants from aitbc.constants
- Remove duplicate LOG_DIR import in config.py
- All routers already using aitbc utilities
2026-04-25 06:45:04 +02:00
aitbc
08d6921444 feat: migrate coordinator-api routers and exchange_island CLI to use centralized aitbc package HTTP client
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 9s
CLI Tests / test-cli (push) Failing after 3s
Integration Tests / test-service-integration (push) Successful in 42s
Python Tests / test-python (push) Failing after 39s
Security Scanning / security-scan (push) Successful in 2m36s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 3s
Blockchain Synchronization Verification / sync-verification (push) Failing after 2s
- Replace httpx.Client with aitbc.AITBCHTTPClient in client.py get_blocks endpoint
- Migrate monitoring_dashboard.py from httpx.AsyncClient to AITBCHTTPClient
- Replace httpx with AITBCHTTPClient in blockchain.py get_balance function
- Add NetworkError exception handling across all migrated endpoints
- Remove async context managers in favor of direct AITBCHTTPClient usage
- Remove httpx imports
2026-04-25 06:34:59 +02:00
aitbc
f912fa131d feat: migrate coordinator-api bitcoin wallet and explorer services to use centralized aitbc package HTTP client
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 18s
Integration Tests / test-service-integration (push) Successful in 40s
Python Tests / test-python (push) Failing after 37s
Security Scanning / security-scan (push) Has been cancelled
- Replace httpx.Client with aitbc.AITBCHTTPClient in BitcoinWallet class
- Remove HTTP_CLIENT_AVAILABLE check and httpx import guard
- Replace logging.getLogger with aitbc.get_logger in bitcoin_wallet.py
- Migrate explorer.py from httpx to aitbc.AITBCHTTPClient
- Add NetworkError exception handling in explorer service
- Remove async context manager and status code checks in favor of AITBCHTTPClient
- Remove httpx imports from both services
- Consistent
2026-04-24 23:51:48 +02:00