security: add timeouts to HTTP requests and fix temp directory usage
Some checks failed
CLI Tests / test-cli (push) Failing after 2m46s
Documentation Validation / validate-docs (push) Successful in 7s
Documentation Validation / validate-policies-strict (push) Successful in 3s
Integration Tests / test-service-integration (push) Failing after 4s
Package Tests / Python package - aitbc-agent-sdk (push) Successful in 28s
Package Tests / Python package - aitbc-core (push) Failing after 10s
Package Tests / Python package - aitbc-crypto (push) Successful in 18s
Package Tests / Python package - aitbc-sdk (push) Failing after 18s
Package Tests / JavaScript package - aitbc-sdk-js (push) Successful in 7s
Package Tests / JavaScript package - aitbc-token (push) Failing after 15s
Python Tests / test-python (push) Failing after 2m51s
Security Scanning / security-scan (push) Failing after 48s
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Failing after 11s
Smart Contract Tests / test-solidity (map[name:zk-circuits path:apps/zk-circuits]) (push) Failing after 46s
Smart Contract Tests / lint-solidity (push) Failing after 11s
Some checks failed
CLI Tests / test-cli (push) Failing after 2m46s
Documentation Validation / validate-docs (push) Successful in 7s
Documentation Validation / validate-policies-strict (push) Successful in 3s
Integration Tests / test-service-integration (push) Failing after 4s
Package Tests / Python package - aitbc-agent-sdk (push) Successful in 28s
Package Tests / Python package - aitbc-core (push) Failing after 10s
Package Tests / Python package - aitbc-crypto (push) Successful in 18s
Package Tests / Python package - aitbc-sdk (push) Failing after 18s
Package Tests / JavaScript package - aitbc-sdk-js (push) Successful in 7s
Package Tests / JavaScript package - aitbc-token (push) Failing after 15s
Python Tests / test-python (push) Failing after 2m51s
Security Scanning / security-scan (push) Failing after 48s
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Failing after 11s
Smart Contract Tests / test-solidity (map[name:zk-circuits path:apps/zk-circuits]) (push) Failing after 46s
Smart Contract Tests / lint-solidity (push) Failing after 11s
- Add 30-second timeouts to all HTTP requests in enterprise_cli.py (5 instances) - Add 30-second timeouts to all HTTP requests in miner_management.py (4 instances) - Replace hardcoded /tmp with tempfile.gettempdir() in extended_features.py - Fix requires-python constraint from ^3.13 to >=3.13 in aitbc-core - Add missing dependencies: pynacl to aitbc-crypto, httpx to aitbc-sdk - Add poetry packages configuration to aitbc-core pyproject.toml - Add type
This commit is contained in:
@@ -16,6 +16,7 @@ silent configuration issues where:
|
||||
### **Focused Dotenv Linter**
|
||||
|
||||
Created a sophisticated linter that:
|
||||
|
||||
- **Scans all code** for actual environment variable usage
|
||||
- **Filters out script variables** and non-config variables
|
||||
- **Compares with `.env.example`** to find drift
|
||||
@@ -142,6 +143,7 @@ Created `.github/workflows/dotenv-check.yml` with:
|
||||
### **Workflow Triggers**
|
||||
|
||||
The dotenv check runs on:
|
||||
|
||||
- **Push** to any branch (when relevant files change)
|
||||
- **Pull Request** (when relevant files change)
|
||||
- File patterns: `.env.example`, `*.py`, `*.yml`, `*.toml`, `*.sh`
|
||||
|
||||
Reference in New Issue
Block a user