Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ QDRANT_ADDR=qdrant:6334
CLICKHOUSE_ADDR=clickhouse:9000
EMBEDDER_ADDR=embedder:50051
INTELLIGENCE_URL=http://intelligence:5000
JAEGER_ADDR=jaeger:4317

# --- Optional ---

Expand Down
17 changes: 15 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,29 @@ name: Hyperion CI

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

jobs:
gateway:
name: Gateway CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'

- name: Generate test secrets
run: |
echo "CACHE_MASTER_SECRET=$(openssl rand -hex 32)" >> "$GITHUB_ENV"

- name: Build Gateway
run: cd gateway && go build -v ./cmd/server/main.go

- name: Run Gateway Tests
run: cd gateway && go test -v ./...

Expand All @@ -26,12 +33,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '18'

- name: Install Dependencies
run: cd dashboard && npm install

- name: Build Dashboard
run: cd dashboard && npm run build

Expand All @@ -40,14 +50,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install Intelligence Deps
run: |
cd predictor
pip install -r requirements.txt

- name: Install Embedder Deps
run: |
cd embedder
Expand Down
54 changes: 54 additions & 0 deletions .github/workflows_disabled/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Hyperion CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
gateway:
name: Gateway CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Build Gateway
run: cd gateway && go build -v ./cmd/server/main.go
- name: Run Gateway Tests
run: cd gateway && go test -v ./...

dashboard:
name: Dashboard CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install Dependencies
run: cd dashboard && npm install
- name: Build Dashboard
run: cd dashboard && npm run build

python-microservices:
name: Python CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install Intelligence Deps
run: |
cd predictor
pip install -r requirements.txt
- name: Install Embedder Deps
run: |
cd embedder
pip install -r requirements.txt
31 changes: 27 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,18 @@ Thumbs.db
*.swo
# Go
gateway/bin/
*.exe
*.test
*.out
go.work
gateway/gateway-server
gateway/benchmark
gateway/cbenchmark
gateway.pid
*.go_snippet
gateway/*_snippet
*.exe
*.test
*.out
go.work
repro_*.py
repro_*.txt

# Python
__pycache__/
Expand All @@ -24,6 +32,21 @@ env/
venv/
.venv/
pip-log.txt
*.egg-info/
*.egg
dist/
build/
.pytest_cache/
*.pyi.bak

# TypeScript / Node SDK
sdk/typescript/dist/
sdk/typescript/node_modules/
sdk/typescript/*.tsbuildinfo
sdk/python/dist/
sdk/python/build/
sdk/python/.pytest_cache/
sdk/python/hyperion_ai.egg-info/


# Project Data (Do not commit DBs)
Expand Down
5 changes: 2 additions & 3 deletions DEPLOY.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ A complete Hyperion deployment consists of several specialized services working
| Recommendation | CPU | RAM | Storage |
|---|---|---|---|
| **Minimum** | 2 Cores | 4 GB | 20 GB SSD |
| **Recommended** | 4 Cores | 8 GB | 100 GB NVMe |
| **High Traffic** | 8+ Cores | 16+ GB | 500+ GB NVMe |
| **Recommended** | 4 Cores | 8 GB | 60 GB NVMe |
| **High Traffic** | 8+ Cores | 16+ GB | 100+ GB NVMe |

## Standard Deployment (Docker Compose)

Expand Down Expand Up @@ -75,7 +75,6 @@ Once deployed, verify the health of the individual components:
### Performance Tuning
* **Redis Persistence:** For mission-critical deployments, enable AOF (Append Only File) in Redis to prevent cache data loss during restarts.
* **ClickHouse Retention:** Configure ClickHouse TTL policies to manage storage costs for request logs (e.g., set to 30 days).
* **Embedding Models:** The `embedder` service is computationally intensive. If latency spikes during semantic lookups, consider moving the `embedder` to a GPU-enabled instance.

### Maintenance
* **Updates:** Pull the latest images and restart with `docker-compose pull && docker-compose up -d`. Hyperion maintains backwards compatibility across minor versions.
Expand Down
106 changes: 0 additions & 106 deletions PLAN.md

This file was deleted.

Loading
Loading