refactor: add rate limiting to agent performance, cache management, confidential, dynamic pricing, and edge GPU routers
Some checks failed
Deploy to Testnet / deploy-testnet (push) Successful in 1m14s
Documentation Validation / validate-docs (push) Failing after 10s
Documentation Validation / validate-policies-strict (push) Successful in 4s
Integration Tests / test-service-integration (push) Successful in 2m43s
Python Tests / test-python (push) Failing after 12s
Security Scanning / security-scan (push) Failing after 35s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Cross-Node Transaction Testing / transaction-test (push) Successful in 4s
Some checks failed
Deploy to Testnet / deploy-testnet (push) Successful in 1m14s
Documentation Validation / validate-docs (push) Failing after 10s
Documentation Validation / validate-policies-strict (push) Successful in 4s
Integration Tests / test-service-integration (push) Successful in 2m43s
Python Tests / test-python (push) Failing after 12s
Security Scanning / security-scan (push) Failing after 35s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Cross-Node Transaction Testing / transaction-test (push) Successful in 4s
- Added Request parameter to all endpoint functions in agent_performance.py, cache_management.py, confidential.py, dynamic_pricing.py, and edge_gpu.py - Added @rate_limit decorator to all endpoints with appropriate limits: - Write operations (POST): 20 requests per 60 seconds - Read operations (GET): 200 requests per 60 seconds - High-frequency reads (health checks, available strategies): 500-1000 requests per 60
This commit is contained in:
@@ -271,6 +271,10 @@
|
||||
- test_blockchain_service.py: 25 tests (blockchain_service.py: 88% coverage)
|
||||
- test_blue_green_deployment.py: 24 tests (blue_green_deployment.py: 95% coverage)
|
||||
- test_state.py: 52 tests (state.py: 97% coverage)
|
||||
- Added tests for new observability modules (74 new tests):
|
||||
- test_tracing.py: 18 tests (tracing.py: OpenTelemetry distributed tracing)
|
||||
- test_alerting.py: 33 tests (alerting.py: centralized alerting system)
|
||||
- test_aitbc_logging.py: 23 tests (aitbc_logging.py: structured JSON logging)
|
||||
- test_events.py: 44 tests (events.py: 94% coverage)
|
||||
- test_security_hardening.py: 39 tests (security_hardening.py: 99% coverage)
|
||||
- test_profiling.py: 26 tests (profiling.py: 100% coverage)
|
||||
|
||||
Reference in New Issue
Block a user