aitbc
e4f1a96172
ci: standardize pytest invocation and add security scanning
...
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Failing after 5s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 5s
Cross-Chain Functionality Tests / test-cross-chain-bridge (push) Has been skipped
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Failing after 3s
Cross-Chain Functionality Tests / aggregate-results (push) Has been skipped
Cross-Node Transaction Testing / transaction-test (push) Successful in 5s
Deploy to Testnet / deploy-testnet (push) Successful in 1m14s
Contract Performance Benchmarks / compare-benchmarks (push) Has been cancelled
Documentation Validation / validate-docs (push) Failing after 10s
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Smart Contract Tests / test-solidity (map[name:aitbc-contracts path:contracts]) (push) Has been cancelled
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Has been cancelled
Smart Contract Tests / test-foundry (push) Has been cancelled
Smart Contract Tests / lint-solidity (push) Has been cancelled
Smart Contract Tests / deploy-contracts (push) Has been cancelled
Documentation Validation / validate-policies-strict (push) Successful in 3s
Integration Tests / test-service-integration (push) Failing after 45s
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Failing after 2s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 5s
P2P Network Verification / p2p-verification (push) Successful in 3s
Production Tests / Production Integration Tests (push) Failing after 7s
Python Tests / test-python (push) Failing after 46s
Staking Tests / test-staking-service (push) Failing after 2s
Staking Tests / test-staking-integration (push) Has been skipped
Staking Tests / test-staking-contract (push) Has been skipped
Staking Tests / run-staking-test-runner (push) Has been skipped
Systemd Sync / sync-systemd (push) Successful in 21s
API Endpoint Tests / test-api-endpoints (push) Failing after 12m19s
- Changed pytest calls to use `venv/bin/python -m pytest` with explicit config
- Added `--rootdir "$PWD"` and `--import-mode=importlib` for consistent imports
- Fixed PYTHONPATH to use absolute paths with $PWD prefix
- Added smart contract security scanning for Solidity files
- Added Circom circuit security checks for ZK proof circuits
- Added ZK proof implementation security validation
- Added contracts/** to security scanning workflow
2026-05-11 13:46:42 +02:00
aitbc
cc486ec571
fix: enable multi-chain testing across all workflows
...
API Endpoint Tests / test-api-endpoints (push) Successful in 49s
Blockchain Synchronization Verification / sync-verification (push) Failing after 2s
CLI Tests / test-cli (push) Failing after 5s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Failing after 2s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 2s
Cross-Chain Functionality Tests / test-cross-chain-bridge (push) Has been skipped
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Failing after 7s
Cross-Chain Functionality Tests / aggregate-results (push) Has been skipped
Deploy to Testnet / deploy-testnet (push) Has started running
Deploy to Testnet / notify-deployment (push) Has been cancelled
Integration Tests / test-service-integration (push) Successful in 3m4s
Multi-Node Blockchain Health Monitoring / health-check (push) Failing after 2s
P2P Network Verification / p2p-verification (push) Successful in 2s
Production Tests / Production Integration Tests (push) Successful in 20s
- Enable CHECK_CHAIN_ID_CONSISTENCY and set CHAINS in blockchain-sync-verification
- Add CHAINS environment variable to cli-level1-tests for blockchain commands
- Re-enable test-cross-chain-sync and test-multi-chain-consensus jobs
- Update cross-chain transaction tests to use ait-mainnet and ait-testnet
- Add CHAINS to cross-node-transaction-testing, multi-node-health, and production-tests
- Update test_api_endpoints.py to test both chain_id parameters
- Modify blockchain
2026-04-29 13:02:38 +02:00
aitbc
1a2fb7669b
production-tests: ensure port 9001 is available before starting agent coordinator
Production Tests / Production Integration Tests (push) Successful in 18s
P2P Network Verification / p2p-verification (push) Successful in 3s
Multi-Node Blockchain Health Monitoring / health-check (push) Failing after 3s
2026-04-27 09:58:25 +02:00
aitbc
13daeff939
production-tests: reorder httpx in extra-packages list for consistency
Production Tests / Production Integration Tests (push) Failing after 24s
2026-04-27 09:46:31 +02:00
aitbc
26e262c016
production-tests: add missing deps and fix pydantic settings import
Integration Tests / test-service-integration (push) Successful in 3m5s
Production Tests / Production Integration Tests (push) Has started running
Python Tests / test-python (push) Successful in 16s
Security Scanning / security-scan (push) Successful in 29s
2026-04-27 09:42:20 +02:00
aitbc
8926bb011e
ci: update production deps and dynamic systemd service handling
Production Tests / Production Integration Tests (push) Failing after 55s
Systemd Sync / sync-systemd (push) Successful in 20s
2026-04-27 09:33:59 +02:00
aitbc
d546932b2d
ci: add python-dotenv dependency and improve agent coordinator startup validation in production tests
...
Production Tests / Production Integration Tests (push) Successful in 33s
- Added python-dotenv to --extra-packages in production-tests.yml venv setup
- Added PYTHONUNBUFFERED=1 to agent coordinator uvicorn startup for immediate log output
- Added startup validation check after 2-second sleep to detect early coordinator exits
- Display coordinator logs and fail job if process exits during startup
2026-04-20 12:10:03 +02:00
aitbc
eb51363ea9
ci: add job logging initialization to production and staking workflows and fix systemd-sync script paths
...
Production Tests / Production Integration Tests (push) Failing after 1m8s
Staking Tests / test-staking-service (push) Successful in 4s
Systemd Sync / sync-systemd (push) Successful in 5s
Staking Tests / test-staking-integration (push) Successful in 2s
Staking Tests / test-staking-contract (push) Successful in 1m17s
Staking Tests / run-staking-test-runner (push) Successful in 9s
- Added setup-job-logging.sh initialization step to production-tests.yml, all staking-tests.yml jobs, and systemd-sync.yml
- Removed redundant agent-coordinator package installation from production-tests.yml (already included in extra-packages)
- Fixed systemd-sync.yml to use relative paths (scripts/utils/link-systemd.sh) instead of absolute paths (/opt/aitbc/scripts/utils/link-systemd.sh)
2026-04-20 12:00:06 +02:00
aitbc
ffb1f2a4f8
ci: add explicit venv cleanup before setup in all workflows to prevent cache corruption
...
API Endpoint Tests / test-api-endpoints (push) Successful in 10s
CLI Tests / test-cli (push) Failing after 41s
Integration Tests / test-service-integration (push) Successful in 2m10s
Package Tests / Python package - aitbc-agent-sdk (push) Failing after 4s
Package Tests / Python package - aitbc-core (push) Failing after 4s
Package Tests / Python package - aitbc-crypto (push) Failing after 5s
Package Tests / Python package - aitbc-sdk (push) Failing after 4s
Package Tests / JavaScript package - aitbc-sdk-js (push) Failing after 16m15s
Production Tests / Production Integration Tests (push) Failing after 7s
Python Tests / test-python (push) Failing after 1m33s
Security Scanning / security-scan (push) Failing after 3s
Staking Tests / test-staking-service (push) Failing after 2m21s
Staking Tests / test-staking-integration (push) Has been skipped
Staking Tests / test-staking-contract (push) Has been skipped
Staking Tests / run-staking-test-runner (push) Has been skipped
Package Tests / JavaScript package - aitbc-token (push) Failing after 12m54s
Added `rm -rf venv` (and `venv-build` where applicable) before venv setup in all CI workflows to ensure clean installations and prevent cache corruption issues. Removed redundant venv corruption detection and rebuild logic from package-tests.yml since explicit cleanup makes it unnecessary.
2026-04-20 06:10:32 +02:00
aitbc
b293059bd6
ci: add service lifecycle management and fix venv activation in workflows
...
API Endpoint Tests / test-api-endpoints (push) Successful in 8s
Package Tests / Python package - aitbc-agent-sdk (push) Failing after 3s
Package Tests / Python package - aitbc-core (push) Failing after 3s
Package Tests / Python package - aitbc-crypto (push) Failing after 2s
Package Tests / Python package - aitbc-sdk (push) Failing after 2s
Package Tests / JavaScript package - aitbc-sdk-js (push) Successful in 3m31s
Package Tests / JavaScript package - aitbc-token (push) Failing after 8s
Production Tests / Production Integration Tests (push) Failing after 35s
Python Tests / test-python (push) Failing after 1m17s
- Added explicit service start/stop steps in api-endpoint-tests.yml
- Start coordinator-api, exchange-api, wallet, and blockchain-rpc services before tests
- Stop all started services in cleanup step
- Fixed venv activation in package-tests.yml
- Changed from `source venv/bin/activate` to direct venv/bin/pip and venv/bin/python calls
- Applied same pattern to venv-build for package building
- Fixed venv activation in production-tests.
2026-04-19 21:19:53 +02:00
aitbc
a2f84648ab
ci: standardize Python venv setup across all workflows using setup-python-venv.sh script
...
API Endpoint Tests / test-api-endpoints (push) Successful in 9s
CLI Tests / test-cli (push) Failing after 6m49s
Integration Tests / test-service-integration (push) Successful in 2m22s
Package Tests / Python package - aitbc-agent-sdk (push) Failing after 26s
Package Tests / Python package - aitbc-core (push) Failing after 10s
Package Tests / Python package - aitbc-crypto (push) Failing after 5s
Package Tests / Python package - aitbc-sdk (push) Failing after 2s
Package Tests / JavaScript package - aitbc-sdk-js (push) Successful in 7s
Package Tests / JavaScript package - aitbc-token (push) Successful in 16s
Production Tests / Production Integration Tests (push) Failing after 1m21s
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Failing after 13s
Staking Tests / test-staking-service (push) Failing after 1m13s
Staking Tests / test-staking-integration (push) Has been skipped
Staking Tests / test-staking-contract (push) Has been skipped
Staking Tests / run-staking-test-runner (push) Has been skipped
Replaced manual venv creation and pip install commands with calls to scripts/ci/setup-python-venv.sh across all CI workflows. The script provides consistent venv setup with configurable options for requirements installation, copy mode, and extra packages.
- Changed from manual `python3 -m venv` + `pip install` to setup-python-venv.sh in all workflows
- Added --skip-requirements flag where workflows don't need requirements
2026-04-19 21:05:26 +02:00
aitbc
8495b558ea
fix: correct uvicorn module path from src.app.main to app.main in production tests
...
Production Tests / Production Integration Tests (push) Failing after 1m12s
Changed uvicorn application path from src.app.main:app to app.main:app in both
startup and cleanup steps to match the actual module structure where src is
already in PYTHONPATH.
2026-04-19 19:54:28 +02:00
aitbc
22a2597e23
fix: add Redis installation step and improve aitbc_crypto mocking in tests
...
Production Tests / Production Integration Tests (push) Failing after 1m16s
Python Tests / test-python (push) Failing after 3m33s
- Added Redis server installation step in production-tests.yml workflow
- Checks if Redis binaries are already available before installing
- Installs redis-server package if needed
- Improved aitbc_crypto mocking in conftest.py
- Try importing real aitbc_crypto module first before mocking
- Only mock functions if they don't already exist
- Prevents overriding real implementations when aitbc_crypto is available
2026-04-19 19:49:40 +02:00
aitbc
3f98f3f7bf
ci: add service host discovery and strict policy docs validation
...
API Endpoint Tests / test-api-endpoints (push) Failing after 5s
CLI Tests / test-cli (push) Failing after 3m17s
Documentation Validation / validate-docs (push) Successful in 8s
Documentation Validation / validate-policies-strict (push) Failing after 3s
Integration Tests / test-service-integration (push) Failing after 1s
Package Tests / Python package - aitbc-agent-sdk (push) Successful in 30s
Package Tests / Python package - aitbc-core (push) Failing after 11s
Package Tests / Python package - aitbc-crypto (push) Failing after 11s
Package Tests / Python package - aitbc-sdk (push) Failing after 12s
Package Tests / JavaScript package - aitbc-sdk-js (push) Successful in 6s
Package Tests / JavaScript package - aitbc-token (push) Failing after 18s
Production Tests / Production Integration Tests (push) Failing after 11s
Python Tests / test-python (push) Failing after 2m54s
Security Scanning / security-scan (push) Failing after 48s
- Add multi-candidate host discovery (localhost, host.docker.internal, gateway) in api-endpoint-tests
- Pass discovered service host via AITBC_API_HOST environment variable to test script
- Update test_api_endpoints.py to use AITBC_API_HOST for all service URLs
- Add validate-policies-strict job to docs-validation workflow for policy Markdown files
- Add job names to package-tests matrix for better CI output clarity
- Add --import
2026-04-18 12:28:19 +02:00