-
Notifications
You must be signed in to change notification settings - Fork 0
Jarvis2.0 Integration
AnubissBE edited this page Jun 19, 2025
·
1 revision
This page documents the integration of the Jarvis2.0 repository into the GitHub RunnerHub auto-scaling system.
Jarvis2.0 was successfully integrated on June 19, 2025, becoming the 6th managed repository in the RunnerHub system.
// Added Jarvis2.0 to the repositories array
const REPOSITORIES = [
'ai-music-studio',
'mcp-enhanced-workspace',
'JarvisAI',
'Jarvis2.0', // NEW
'ProjectHub-Mcp',
'GitHub-RunnerHub'
];
// Added Jarvis2.0 to ensure dedicated runner creation
const repositories = [
'ai-music-studio',
'mcp-enhanced-workspace',
'JarvisAI',
'Jarvis2.0', // NEW
'ProjectHub-Mcp',
'GitHub-RunnerHub'
];
The system automatically created a dedicated runner:
-
Name:
runnerhub-dedicated-jarvis2-0
- Type: Dedicated (always-on)
-
Labels:
self-hosted
,docker
,projecthub
,runnerhub
,dedicated
,jarvis2.0
Fixed 404 errors on the dashboard by rebuilding the frontend container with the correct API URL:
docker-compose -f docker-compose.production.yml build frontend --no-cache
docker-compose -f docker-compose.production.yml up -d frontend
- Dedicated Runners: 1 (always ready)
- Dynamic Runners: 0-3 (spawned when ALL runners busy)
- Idle Timeout: 5 minutes
-
Naming:
runnerhub-dynamic-jarvis2-0-{timestamp}
All Jarvis2.0 runners include:
-
self-hosted
- GitHub default -
docker
- Container-based runner -
runnerhub
- RunnerHub managed -
jarvis2.0
- Repository specific -
dedicated
ordynamic
- Runner type
curl http://192.168.1.16:8300/health | jq '.repositoryDetails["Jarvis2.0"]'
curl http://192.168.1.16:8300/api/public/runners | jq '.[] | select(.name | contains("jarvis2"))'
ssh git-runner "docker logs runnerhub-dedicated-jarvis2-0 --tail 20"
- Rebuild backend:
docker-compose build backend --no-cache
- Restart backend:
docker-compose up -d backend
- Check logs:
docker-compose logs -f backend
- Verify runner labels match workflow requirements
- Check runner is online in GitHub settings
- Ensure PAT has correct permissions
- Dynamic runners only spawn when ALL repository runners are busy
- Monitor with:
docker ps --filter name=dynamic
- Check backend logs for spawn messages
-
/backend/server.js
- Added repository -
/backend/runner-manager.js
- Added repository -
/docs/JARVIS2_INTEGRATION.md
- Documentation -
/CHANGELOG.md
- Version history
- Monitor runner performance
- Adjust scaling parameters if needed
- Consider repository-specific resource limits