ci: replace hardcoded /opt/aitbc paths with relative paths
Some checks failed
Documentation Validation / validate-docs (push) Successful in 7s
Documentation Validation / validate-policies-strict (push) Failing after 3s
Integration Tests / test-service-integration (push) Failing after 38s
Package Tests / Python package - aitbc-agent-sdk (push) Successful in 28s
Package Tests / Python package - aitbc-core (push) Successful in 17s
Package Tests / Python package - aitbc-crypto (push) Successful in 14s
Package Tests / Python package - aitbc-sdk (push) Failing after 13s
Package Tests / JavaScript package - aitbc-sdk-js (push) Successful in 6s
Package Tests / JavaScript package - aitbc-token (push) Failing after 15s
Production Tests / Production Integration Tests (push) Failing after 10s
Python Tests / test-python (push) Failing after 2m53s
Security Scanning / security-scan (push) Failing after 53s
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Failing after 12s
Smart Contract Tests / lint-solidity (push) Failing after 17s
Smart Contract Tests / test-solidity (map[name:zk-circuits path:apps/zk-circuits]) (push) Failing after 35s
Some checks failed
Documentation Validation / validate-docs (push) Successful in 7s
Documentation Validation / validate-policies-strict (push) Failing after 3s
Integration Tests / test-service-integration (push) Failing after 38s
Package Tests / Python package - aitbc-agent-sdk (push) Successful in 28s
Package Tests / Python package - aitbc-core (push) Successful in 17s
Package Tests / Python package - aitbc-crypto (push) Successful in 14s
Package Tests / Python package - aitbc-sdk (push) Failing after 13s
Package Tests / JavaScript package - aitbc-sdk-js (push) Successful in 6s
Package Tests / JavaScript package - aitbc-token (push) Failing after 15s
Production Tests / Production Integration Tests (push) Failing after 10s
Python Tests / test-python (push) Failing after 2m53s
Security Scanning / security-scan (push) Failing after 53s
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Failing after 12s
Smart Contract Tests / lint-solidity (push) Failing after 17s
Smart Contract Tests / test-solidity (map[name:zk-circuits path:apps/zk-circuits]) (push) Failing after 35s
- Update integration-tests workflow to use ./scripts/utils/link-systemd.sh instead of /opt/aitbc/scripts/utils/link-systemd.sh - Change aitbc-cli symlink from /opt/aitbc/cli/aitbc_cli.py to cli/aitbc_cli.py - Fix duplicate [tool.mypy] section in agent-coordinator pyproject.toml by merging plugins config - Update aitbc-core package include path from aitbc_core to aitbc - Fix aitbc-crypto imports to use absolute package paths instead of relative imports - Add pynacl>=1.5.0 dependency
This commit is contained in:
@@ -35,15 +35,15 @@ jobs:
|
||||
cd /var/lib/aitbc-workspaces/integration-tests/repo
|
||||
if [[ -d "systemd" ]]; then
|
||||
echo "Linking systemd service files..."
|
||||
if [[ -x /opt/aitbc/scripts/utils/link-systemd.sh ]]; then
|
||||
if [[ -x scripts/utils/link-systemd.sh ]]; then
|
||||
if [[ $EUID -eq 0 ]]; then
|
||||
/opt/aitbc/scripts/utils/link-systemd.sh
|
||||
./scripts/utils/link-systemd.sh
|
||||
else
|
||||
sudo /opt/aitbc/scripts/utils/link-systemd.sh
|
||||
sudo ./scripts/utils/link-systemd.sh
|
||||
fi
|
||||
echo "✅ Systemd files linked"
|
||||
else
|
||||
echo "❌ /opt/aitbc/scripts/utils/link-systemd.sh not found"
|
||||
echo "❌ scripts/utils/link-systemd.sh not found"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -41,6 +41,7 @@ warn_unused_ignores = true
|
||||
warn_no_return = true
|
||||
warn_unreachable = true
|
||||
strict_equality = true
|
||||
plugins = ["pydantic_pydantic_plugin"]
|
||||
|
||||
[[tool.mypy.overrides]]
|
||||
module = [
|
||||
@@ -52,9 +53,6 @@ module = [
|
||||
]
|
||||
ignore_missing_imports = true
|
||||
|
||||
[tool.mypy]
|
||||
plugins = ["pydantic_pydantic_plugin"]
|
||||
|
||||
[tool.black]
|
||||
line-length = 88
|
||||
target-version = ['py39']
|
||||
|
||||
@@ -16,7 +16,6 @@ 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
|
||||
@@ -143,7 +142,6 @@ 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`
|
||||
|
||||
@@ -22,5 +22,5 @@ build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[tool.poetry]
|
||||
packages = [
|
||||
{ include = "aitbc_core", from = "src" }
|
||||
{ include = "aitbc", from = "src" }
|
||||
]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
"""AITBC crypto utilities package."""
|
||||
|
||||
from . import receipt # noqa: F401
|
||||
from . import signing # noqa: F401
|
||||
from aitbc_crypto import receipt # noqa: F401
|
||||
from aitbc_crypto import signing # noqa: F401
|
||||
|
||||
@@ -11,7 +11,8 @@ dependencies = [
|
||||
"cryptography>=41.0.0",
|
||||
"requests>=2.31.0",
|
||||
"pydantic>=2.5.0",
|
||||
"httpx>=0.25.0"
|
||||
"httpx>=0.25.0",
|
||||
"pynacl>=1.5.0"
|
||||
]
|
||||
|
||||
[build-system]
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"@nomicfoundation/hardhat-ethers": "^4.0.7",
|
||||
"@nomicfoundation/hardhat-ignition-ethers": "^3.1.1",
|
||||
"@nomicfoundation/hardhat-network-helpers": "^3.0.4",
|
||||
"@nomicfoundation/hardhat-toolbox": "^7.0.0",
|
||||
"@nomicfoundation/hardhat-toolbox": "^7.0.0-hh2",
|
||||
"@nomicfoundation/hardhat-verify": "^3.0.13",
|
||||
"@typechain/ethers-v6": "^0.5.1",
|
||||
"@typechain/hardhat": "^6.0.0",
|
||||
|
||||
Reference in New Issue
Block a user