chore: bump minimum Node.js version to v24.14.0 across codebase

This commit is contained in:
2026-03-24 11:58:47 +01:00
parent b2bcffa509
commit f6c4b00c4a
8 changed files with 23 additions and 22 deletions

View File

@@ -36,6 +36,6 @@
"author": "AITBC Team", "author": "AITBC Team",
"license": "MIT", "license": "MIT",
"engines": { "engines": {
"node": ">=22.22.0" "node": ">=24.14.0"
} }
} }

View File

@@ -1 +1 @@
22.22.0 24.14.0

View File

@@ -20,7 +20,7 @@ Internet → aitbc.bubuit.net (HTTPS :443)
│ │ Container: aitbc (10.1.223.1) │ │ │ │ Container: aitbc (10.1.223.1) │ │
│ │ Access: ssh aitbc-cascade │ │ │ │ Access: ssh aitbc-cascade │ │
│ │ OS: Debian 13 Trixie │ │ │ │ OS: Debian 13 Trixie │ │
│ │ Node.js: 22+ │ │ │ │ Node.js: 24+ │ │
│ │ Python: 3.13.5+ │ │ │ │ Python: 3.13.5+ │ │
│ │ GPU Access: None (CPU-only mode) │ │ │ │ GPU Access: None (CPU-only mode) │ │
│ │ Miner Service: Not needed │ │ │ │ Miner Service: Not needed │ │
@@ -103,7 +103,7 @@ Internet → aitbc.bubuit.net (HTTPS :443)
- **Hostname**: `at1` (primary development workstation) - **Hostname**: `at1` (primary development workstation)
- **Environment**: Windsurf development environment - **Environment**: Windsurf development environment
- **OS**: Debian 13 Trixie (development environment) - **OS**: Debian 13 Trixie (development environment)
- **Node.js**: 22+ (current tested: v22.22.x) - **Node.js**: 24+ (current tested: v24.14.x)
- **Python**: 3.13.5+ (minimum requirement, strictly enforced) - **Python**: 3.13.5+ (minimum requirement, strictly enforced)
- **GPU Access**: **Primary GPU access location** - all GPU workloads must run on at1 - **GPU Access**: **Primary GPU access location** - all GPU workloads must run on at1
- **Architecture**: x86_64 Linux with CUDA GPU support - **Architecture**: x86_64 Linux with CUDA GPU support
@@ -136,7 +136,7 @@ aitbc-mock-coordinator.service # Mock coordinator on port 8020
**Service Details:** **Service Details:**
- **Working Directory**: `/opt/aitbc/` (standard path for all services) - **Working Directory**: `/opt/aitbc/` (standard path for all services)
- **Python Environment**: `/opt/aitbc/.venv/bin/python` (Python 3.13.5+) - **Python Environment**: `/opt/aitbc/.venv/bin/python` (Python 3.13.5+)
- **Node.js Environment**: System Node.js 22+ (current tested: v22.22.x) - **Node.js Environment**: System Node.js 24+ (current tested: v24.14.x)
- **User**: oib - **User**: oib
- **Restart Policy**: always (with 5s delay) - **Restart Policy**: always (with 5s delay)
@@ -204,7 +204,7 @@ ls -la /opt/aitbc/systemd # Should show symlink to windsurf system
└── systemd -> /home/oib/windsurf/aitbc/systemd/ └── systemd -> /home/oib/windsurf/aitbc/systemd/
# Node.js environment # Node.js environment
node --version # Should show v22.22.x node --version # Should show v24.14.x
npm --version # Should show compatible version npm --version # Should show compatible version
``` ```
@@ -217,7 +217,7 @@ ls -la /opt/aitbc/ # Should show individual symlinks, not s
ls -la /opt/aitbc/apps/blockchain-node # Should point to windsurf project ls -la /opt/aitbc/apps/blockchain-node # Should point to windsurf project
python3 --version # Should show Python 3.13.5 python3 --version # Should show Python 3.13.5
ls -la /home/oib/windsurf/aitbc/.venv/bin/python # Check development venv ls -la /home/oib/windsurf/aitbc/.venv/bin/python # Check development venv
node --version # Should show v22.22.x node --version # Should show v24.14.x
npm --version # Should show compatible version npm --version # Should show compatible version
# Test symlink resolution # Test symlink resolution
@@ -307,7 +307,7 @@ ssh aitbc1-cascade # Direct SSH to aitbc1 container (incus)
- Purpose: secondary AITBC dev environment (incus container) - Purpose: secondary AITBC dev environment (incus container)
- Host: 10.1.223.40 (Debian 13 Trixie), accessible via new SSH alias `aitbc1-cascade` - Host: 10.1.223.40 (Debian 13 Trixie), accessible via new SSH alias `aitbc1-cascade`
- OS: Debian 13 Trixie (development environment) - OS: Debian 13 Trixie (development environment)
- Node.js: 22+ (current tested: v22.22.x) - Node.js: 24+ (current tested: v24.14.x)
- Python: 3.13.5+ (minimum requirement, strictly enforced) - Python: 3.13.5+ (minimum requirement, strictly enforced)
- Proxy device: incus proxy on host maps 127.0.0.1:18001 → 127.0.0.1:8000 inside container - Proxy device: incus proxy on host maps 127.0.0.1:18001 → 127.0.0.1:8000 inside container
- AppArmor profile: unconfined (incus raw.lxc) - AppArmor profile: unconfined (incus raw.lxc)
@@ -353,9 +353,9 @@ ssh aitbc1-cascade # Direct SSH to aitbc1 container (incus)
| Web UI | 8016 | python | 3.13.5 | /app/ | ✅ | | Web UI | 8016 | python | 3.13.5 | /app/ | ✅ |
| Geographic Load Balancer | 8017 | python | 3.13.5 | /api/loadbalancer/* | ✅ | | Geographic Load Balancer | 8017 | python | 3.13.5 | /api/loadbalancer/* | ✅ |
**Python 3.13.5 and Node.js 22+ Upgrade Complete** (2026-03-05): **Python 3.13.5 and Node.js 24+ Upgrade Complete** (2026-03-05):
- All services upgraded to Python 3.13.5 - All services upgraded to Python 3.13.5
- Node.js upgraded to 22+ (current tested: v22.22.x) - Node.js upgraded to 24+ (current tested: v24.14.x)
- Virtual environments updated and verified - Virtual environments updated and verified
- API routing fixed for external access - API routing fixed for external access
- Services fully operational with enhanced performance - Services fully operational with enhanced performance
@@ -381,7 +381,7 @@ All Python services in the AITBC container run on **Python 3.13.5** with isolate
**Verification Commands:** **Verification Commands:**
```bash ```bash
ssh aitbc-cascade "python3 --version" # Should show Python 3.13.5 ssh aitbc-cascade "python3 --version" # Should show Python 3.13.5
ssh aitbc-cascade "node --version" # Should show v22.22.x ssh aitbc-cascade "node --version" # Should show v24.14.x
ssh aitbc-cascade "npm --version" # Should show compatible version ssh aitbc-cascade "npm --version" # Should show compatible version
ssh aitbc-cascade "ls -la /opt/*/.venv/bin/python" # Check venv symlinks ssh aitbc-cascade "ls -la /opt/*/.venv/bin/python" # Check venv symlinks
ssh aitbc-cascade "curl -s http://127.0.0.1:8000/v1/health" # Coordinator API health ssh aitbc-cascade "curl -s http://127.0.0.1:8000/v1/health" # Coordinator API health

View File

@@ -25,7 +25,7 @@ This guide provides comprehensive deployment instructions for the **aitbc server
### **Software Requirements** ### **Software Requirements**
- **Operating System**: Debian 13 Trixie (primary) or Ubuntu 22.04+ (alternative) - **Operating System**: Debian 13 Trixie (primary) or Ubuntu 22.04+ (alternative)
- **Python**: 3.13.5+ (strictly enforced - platform requires 3.13+ features) - **Python**: 3.13.5+ (strictly enforced - platform requires 3.13+ features)
- **Node.js**: 22+ (current tested: v22.22.x) - **Node.js**: 24+ (current tested: v24.14.x)
- **Database**: SQLite (default) or PostgreSQL (production) - **Database**: SQLite (default) or PostgreSQL (production)
### **Network Requirements** ### **Network Requirements**

View File

@@ -176,9 +176,9 @@ python3 --version # Should show 3.13.x
### **🔥 Issue 1b: Node.js Version Compatibility** ### **🔥 Issue 1b: Node.js Version Compatibility**
**Current Status**: Node.js v22.22.x (tested and compatible) **Current Status**: Node.js v24.14.x (tested and compatible)
**Note**: Current Node.js version v22.22.x meets the minimum requirement of 22.0.0 and is fully compatible with AITBC platform. **Note**: Current Node.js version v24.14.x meets the minimum requirement of 24.14.0 and is fully compatible with AITBC platform.
### **🔥 Issue 1c: Operating System Compatibility** ### **🔥 Issue 1c: Operating System Compatibility**

View File

@@ -60,7 +60,7 @@
}, },
"homepage": "https://aitbc.bubuit.net/docs/", "homepage": "https://aitbc.bubuit.net/docs/",
"engines": { "engines": {
"node": ">=22.22.0" "node": ">=24.14.0"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"

View File

@@ -25,6 +25,6 @@
"@openzeppelin/contracts": "^5.0.2" "@openzeppelin/contracts": "^5.0.2"
}, },
"engines": { "engines": {
"node": ">=22.22.0" "node": ">=24.14.0"
} }
} }

View File

@@ -62,15 +62,16 @@ check_nodejs() {
echo "Found Node.js version: $NODE_VERSION" echo "Found Node.js version: $NODE_VERSION"
# Check minimum version 22.0.0 # Check minimum version 24.0.0
if [ "$NODE_MAJOR" -lt 22 ]; then if [ "$NODE_MAJOR" -lt 24 ]; then
WARNINGS+=("Node.js version $NODE_VERSION is below minimum requirement 22.0.0") WARNINGS+=("Node.js version $NODE_VERSION is below minimum requirement 24.14.0")
return 0 return 0
fi fi
# Check if version is too new (beyond 22.x) # Check if version is too new (beyond 24.x)
if [ "$NODE_MAJOR" -gt 22 ]; then if [ "$NODE_MAJOR" -gt 24 ]; then
WARNINGS+=("Node.js version $NODE_VERSION is newer than tested 22.x series") WARNINGS+=("Node.js version $NODE_VERSION is newer than tested 24.x series")
return 0
fi fi
echo -e "${GREEN}✅ Node.js version check passed${NC}" echo -e "${GREEN}✅ Node.js version check passed${NC}"