Skip to content

Releases

HamiCloud 1.0.1

Choose a tag to compare

@hami9 hami9 released this 28 Nov 14:54
617e65e

Security

  • Require an operator-provided 256-bit encryption key at API startup. Remove the built-in key and reject invalid Base64 and the retired sample key.
  • Use AES-256-GCM with per-workspace HKDF-SHA256 keys for new secrets.
  • Add transactional migration and key rotation for legacy ciphertext. Helm reads the active key from a dedicated Kubernetes Secret.
  • Scan new commits for secrets with Gitleaks.

Upgrade

For an existing database, back it up and stop secret writers before changing the key. Run the migration dry run, apply the migration, and verify that all rows use the destination key before restarting the API. If an old encryption key was exposed, also rotate the underlying credentials with their providers.

See the secret key rotation runbook and PR #2.

HamiCloud v0.1.0 - Foundation & Core Runtime Engine

Choose a tag to compare

@hami9 hami9 released this 27 Sep 11:13

HamiCloud v0.1.0 — Foundation & Core Runtime Engine

We are pleased to announce the first release of HamiCloud (v0.1.0), establishing the design baseline (M0) and core architecture for a self-hosted distributed application runtime on Kubernetes.

🚀 Key Highlights

1. Control Plane API (FastAPI)

  • Workspaces & Membership: Multi-tenant workspace management with role-based access control (OWNER, ADMIN, DEVELOPER, VIEWER).
  • Applications & Releases: Deterministic desired-generation tracking, zero-downtime deployment requests, and state-preserving rollbacks (POST /v1/apps/{app}/rollbacks).
  • Finite Jobs Engine: Finite batch task execution with configurable retry budgets, timeouts, and state machines (POST /v1/workspaces/{ws}/jobs).
  • Idempotency Engine: Atomic single-transaction idempotency keys with SHA-256 payload hashing, conflict detection (HTTP 409), and 24-hour record retention.
  • OIDC Authentication: Bearer token authentication supporting Keycloak and standard OIDC providers with automated JWKS caching and RS256/ES256 verification.
  • Image Policy Allowlist: Enforcement of approved registry allowlists on all submitted container images.

2. Durable State Machine & Transactional Outbox (PostgreSQL 16)

  • Shared Schema & Bidirectional Migrations: Managed by Alembic (0001_baseline_schema, 0002_close_schema_gaps, 0003_add_recovery_pending_state).
  • Transactional Outbox Dispatcher: Event publisher utilizing SELECT FOR UPDATE SKIP LOCKED to reliably stream events to NATS JetStream with at-least-once delivery and deduplication headers.
  • Durable Intent Leases: Monotonic lease epochs and fencing tokens preventing split-brain execution across distributed workers.

3. Go Runtime Execution Engine

  • Admission & Backoff Scheduler (hamicloud-scheduler): Evaluates queued jobs and unapplied releases, reserves workspace quotas, and creates durable execution intents with exponential backoff.
  • Execution Worker Daemon (hamicloud-executor): Claims intents with bounded leases and executes workload reconciliation loops with active cancellation monitoring.

4. Web Dashboard UI (React + TypeScript)

  • Prototype single-page dashboard built with React, Vite, and Tailwind CSS in apps/web.
  • Real-time status monitoring, workspace navigation, service deployments, and job artifact inspection.

5. Standard Contracts


📦 Packaged Artifacts Included in this Release

Artifact Type Target Platform
hamicloud_api-0.1.0-py3-none-any.whl Python Wheel Python 3.12+ (Any OS)
hamicloud-scheduler-linux-amd64 Standalone Binary Linux x86_64
hamicloud-scheduler-windows-amd64.exe Standalone Executable Windows x86_64
hamicloud-executor-linux-amd64 Standalone Binary Linux x86_64
hamicloud-executor-windows-amd64.exe Standalone Executable Windows x86_64
hamicloud-web-v0.1.0.zip Static Assets Web Browser Distribution

🛡️ Verification & Quality Gates

  • Pytest: 105 passed (100%).
  • Go Toolchain: gofmt, go vet, go build, and race-detected concurrency tests passed.
  • Database Schema: alembic check clean on dev and test databases.
  • Static Analysis: ruff check, mypy --strict, and openapi-spec-validator clean.
  • Continuous Integration: GitHub Actions CI is 100% green on main.