Skip to content

P1: resource-aware local startup planner, phase timings and hanzo doctor diagnostics #117

Todo

Description

@zeekay

Repro: 0/1 nodes Insufficient memory then 37m image pull, readiness failures. Existing manifest uses (boot.memory_mb / 2).clamp(1024,4096), Recreate already enabled, supervisor waits node readiness not app (#114 patch). Build plan from actual node allocatable and current requested memory/CPU/ephemeral storage, VM assigned memory and actual disk/mount capacities, host/AI model headroom; account for persisted VM shape rather than newly requested args when warm. Do not silently resize or reset VM; print exact constrained resources and supported remediation. Separate phase timestamps runtime boot, image resolution/import/pull, scheduling, container init, dependencies, readiness; diagnostics through hanzo ps and existing doctor surface with redacted structured JSON. Fast path reuse running deployment and cached content without redundant remote lookups when unchanged. Propose bounded local profiles (core/standard/full, names subject to existing conventions), preserve canonical start/stop runtime and up/down workload contract, no Docker. Test 8GB Apple Silicon host, 16/32GB guests and Linux native, failure injections for scheduling/image pull/JetStream/RBAC/timeout, cold/warm/second up benchmarks. Targets warm p95 <60s, unchanged up p95 <5s, no claim of achieved performance until measured.

Activity

  1. linear commented on Nov 27, 2026

    @linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions