aitbc
e2d2d7ed43
Remove logging directory from aitbc-core src to avoid shadowing Python's standard logging module
Integration Tests / test-service-integration (push) Successful in 1m24s
Package Tests / Python package - aitbc-agent-sdk (push) Successful in 11s
Package Tests / Python package - aitbc-core (push) Failing after 9s
Package Tests / Python package - aitbc-crypto (push) Successful in 9s
Package Tests / Python package - aitbc-sdk (push) Successful in 12s
Package Tests / JavaScript package - aitbc-sdk-js (push) Successful in 16s
Package Tests / JavaScript package - aitbc-token (push) Has been cancelled
Python Tests / test-python (push) Successful in 30s
Security Scanning / security-scan (push) Successful in 37s
2026-04-25 20:51:49 +02:00
aitbc1
1f932d42e3
fix: resolve CI failures from workflow rewrite
...
API Endpoint Tests / test-api-endpoints (push) Successful in 29s
Integration Tests / test-service-integration (push) Successful in 44s
Package Tests / test-python-packages (map[name:aitbc-agent-sdk path:packages/py/aitbc-agent-sdk]) (push) Successful in 35s
Package Tests / test-python-packages (map[name:aitbc-core path:packages/py/aitbc-core]) (push) Successful in 24s
Package Tests / test-python-packages (map[name:aitbc-crypto path:packages/py/aitbc-crypto]) (push) Successful in 21s
Package Tests / test-python-packages (map[name:aitbc-sdk path:packages/py/aitbc-sdk]) (push) Successful in 25s
Package Tests / test-javascript-packages (map[name:aitbc-sdk-js path:packages/js/aitbc-sdk]) (push) Successful in 20s
Package Tests / test-javascript-packages (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Successful in 30s
Python Tests / test-python (push) Successful in 1m18s
Systemd Sync / sync-systemd (push) Successful in 2s
Security Scanning / security-scan (push) Successful in 1m14s
Fixes based on first CI run results:
Workflow fixes:
- python-tests.yml: Add pytest-timeout and click to pip install
(--timeout=30 unrecognized, conftest.py needs click)
- integration-tests.yml: Add click, pytest-timeout to pip install
Fix systemctl status capture (multiline output in subshell)
- systemd-sync.yml: Fix printf output — $(cmd || echo) captures
multiline; use $(cmd) || var=fallback instead
- test_api_endpoints.py: Count 404/405 as reachable in perf test
(APIs return 404 on root but are running)
Missing module fixes:
- aitbc-agent-sdk: Create compute_consumer.py and platform_builder.py
(__init__.py imported them but files didn't exist)
- aitbc-core: Create logging.py module with StructuredLogFormatter,
setup_logger, get_audit_logger (tests existed but module was missing)
Fix __init__.py duplicate imports
2026-03-29 12:53:26 +02:00
aitbc1
e9f4193f7a
chore: add missing aitbc-core package directory
package-tests / test-python-packages (map[name:aitbc-agent-sdk path:packages/py/aitbc-agent-sdk python_version:3.13]) (push) Failing after 23s
package-tests / test-python-packages (map[name:aitbc-core path:packages/py/aitbc-core python_version:3.13]) (push) Successful in 11s
package-tests / test-python-packages (map[name:aitbc-crypto path:packages/py/aitbc-crypto python_version:3.13]) (push) Successful in 10s
package-tests / test-python-packages (map[name:aitbc-sdk path:packages/py/aitbc-sdk python_version:3.13]) (push) Successful in 10s
package-tests / test-javascript-packages (map[name:aitbc-sdk node_version:24 path:packages/js/aitbc-sdk]) (push) Successful in 20s
package-tests / cross-language-compatibility (push) Has been skipped
package-tests / package-integration-tests (push) Has been skipped
integration-tests / test-service-integration (push) Successful in 1m29s
python-tests / test-specific (push) Has been skipped
python-tests / test (push) Successful in 31s
systemd-sync / sync-systemd (push) Successful in 2s
security-scanning / audit (push) Successful in 1m32s
Documentation Validation / validate-docs (push) Successful in 6m4s
2026-03-28 10:18:29 +01:00
23e4816077
fix: resolve 'box in a box' nesting issues in codebase
...
ISSUES RESOLVED:
1. Coordinator API unnecessary nesting
BEFORE: /apps/coordinator-api/aitbc/api/v1/settlement.py
AFTER: /apps/coordinator-api/src/app/routers/settlement.py
- Moved settlement code to proper router location
- Moved logging.py to main app directory
- Integrated settlement functionality into main FastAPI app
- Removed duplicate /aitbc/ directory
2. AITBC Core package structure
ANALYZED: /packages/py/aitbc-core/src/aitbc/
STATUS: ✅ Kept as-is (proper Python packaging)
- src/aitbc/ is standard Python package structure
- No unnecessary nesting detected
- Follows Poetry best practices
LEGITIMATE DIRECTORIES (NO CHANGES):
- /cli/debian/etc/aitbc (Debian package structure)
- /cli/debian/usr/share/aitbc (Debian package structure)
- Node modules and virtual environments
BENEFITS:
- Eliminated duplicate code locations
- Integrated settlement functionality into main app
- Cleaner coordinator-api structure
- Reduced confusion in codebase organization
- Maintained proper Python packaging standards
VERIFICATION:
✅ No more problematic 'aitbc' directories
✅ All code properly organized
✅ Standard package structures maintained
✅ No functionality lost in refactoring
2026-03-26 09:18:13 +01:00
c7c093f129
Fix exception formatting for Python 3.13: handle exc_info=True capture correctly. Updated test to use sys.exc_info() for immediate capture.
...
All tests now pass (12/12).
2026-03-15 18:39:08 +00:00
oib
15427c96c0
chore: update file permissions to executable across repository
...
- Change file mode from 644 to 755 for all project files
- Add chain_id parameter to get_balance RPC endpoint with default "ait-devnet"
- Rename Miner.extra_meta_data to extra_metadata for consistency
2026-03-06 22:17:54 +01:00
oib
f6ee77f497
refactor: consolidate logging to shared aitbc-core package and upgrade database dependencies
...
- Upgrade SQLAlchemy to 2.0.47 with asyncio extras in blockchain-node and coordinator-api
- Add asyncpg >=0.29.0 for PostgreSQL async support
- Remove uvloop as optional dependency, make it required >=0.22.0
- Delete duplicate logger.py from blockchain-node (117 lines)
- Refactor coordinator-api logging to use shared aitbc.logging from aitbc-core package
- Add aitbc-core package dependency to coordinator
2026-02-28 21:09:14 +01:00