Skip to content

VatraOS v5.0.0-alpha.3 (VAPA)

Pre-release
Pre-release

Choose a tag to compare

@rozzulabil-dev rozzulabil-dev released this 02 Dec 14:46
· 3 commits to main since this release

VatraOS / VatraCore v5.0.0-alpha.3 (VAPA) — Release Notes

Tag: v5.0.0-alpha.3 (supersedes v5.0.0-alpha.2 & v5.0.0-alpha.1; built on VatraCore 4.0.0 baseline with package.json at 4.0.0)
Release Date: 2026-12-02
Target Channel: alpha / experimental (VM lab repeatability & fault-injection passed; bare-metal 10G–40G & 24h/72h production soak remain required before Beta/GA)


0. What's New in v5.0.0-alpha.3

  1. Fault-Injection Hardening (v509, 36/36 V5 tests PASS):
    • Fail-closed rollback when telemetry is lost during pendingValidation, revertFailedApply() + audit logging on partial apply failure, degradedAlert on rollback failure, and safe shadow/fast boot recovery (vapa-engine.mjs, vapa-shadow-monitor.mjs).
  2. Debian 13 iproute2 Per-Qdisc Capability Probing Fix:
    • Fixed probeQueueCapabilities() to probe tc qdisc add <kind> help when tc qdisc help omits cake/fq_codel/mq (vapa-queue-engine.mjs) plus r2q 100 for HTB quantum stability.
  3. Eksperimen A, B, C & Repeatability Run 2 (6/6 PASS — 100%):
    • 0 false-positives across idle & 1-stream (625–654 Mbps) control runs; 3/3 heavy 8-stream saturation runs auto-detected bufferbloat (139.59–690.41 ms), auto-applied single_cake 450mbit, reduced delay by 92.75%–99.22% (4.52–10.12 ms), committed, held without flapping, and passed rollback sub-tests (QUALIFICATION_v5.0.0-alpha.md).

0.1 Included from v5.0.0-alpha.2

  1. Live Shadow-Mode Telemetry Loop (vapa-shadow-monitor.mjs, routerd.mjs):
    • Periodic /proc/stat, /proc/interrupts, and tc qdisc delta monitor (dropRatePct, cpuHotCorePct, nicQueueImbalanced), audit JSONL (vapa-shadow-audit.jsonl), GET /api/v1/vapa/shadow-log, and Shadow Monitor status in show vapa status.
  2. Closed-Loop Canary Mode (shadow / canary / active) & POST /api/v1/vapa/mode:
    • canary mode allows bounded queue_optimization / queue_rebalance actions with automatic next-tick validateAndCommitOrRollback() in VapaShadowMonitor, while keeping shadow as the safe default.
  3. TransactionEngine Safe Apply & Auto-Rollback:
    • applyVapaQueuePlan() (tc allowlist + tc qdisc del rollback) and applyVapaXdpPlan() (nft -c -f preflight + ip link ... xdp off rollback) wired to POST /api/v1/vapa/queues/apply and POST /api/v1/vapa/xdp/apply (priv 15, dryRun default, Idempotency-Key, confirmSeconds).
  4. Linux Benchmark Harness & Live Lab Evidence (qualify-v500-vapa.sh):
    • Verified 13/13 live probe checks + gateway & loopback under-load benchmark runs on 10.72.0.41 (QUALIFICATION_v5.0.0-alpha.md).
  5. VatraControl Desktop UI & Executable Rebuild:
    • Added Shadow Monitor table and Dry-Run / Safe Apply controls to Tools > VAPA Adaptive Engine (app.js), rebuilt VatraControl.exe (90.41 MB, SHA-256 2a36001cb85a95b2d2fd6c71e1324a0ecd4d74c3fc8f5e77364aac8feacf4b25).

1. Highlights: Vatra Adaptive Packet Architecture (VAPA) — Phases 0–5

  1. Phase 0–1 — Baseline & Kernel/IRQ/NUMA Telemetry (vapa-kernel-tuner.mjs)
    • Architecture specification (VAPA_ARCHITECTURE_SPEC.md) and master plan (VATRACORE_V5_MASTER_PLAN.md).
    • /proc/stat, /proc/interrupts IRQ skew/hot-core detection, sysfs NUMA/RX-TX queues & PCIe link inspection, and IRQ affinity plan builder.
    • API: GET /api/v1/vapa/baseline.
  2. Phase 2 — Flow Admission & Closed-Loop Congestion Controller (vapa-engine.mjs)
    • 5 explicit processing profiles (fast, latency, subscriber, secure, fallback).
    • Deterministic evaluateFlowAdmission() classifier and VapaCongestionController (default mode: 'shadow') with root-cause attribution (QUEUE_BLOAT, CPU_HOT_CORE, NIC_QUEUE_IMBALANCE, WAN_DEGRADATION) and validateAndCommitOrRollback().
    • API: GET /api/v1/vapa/status, POST /api/v1/vapa/admit, POST /api/v1/vapa/evaluate, POST /api/v1/vapa/validate.
  3. Phase 3 — Multi-Queue QoS & Subscriber Fairness (vapa-queue-engine.mjs)
    • probeQueueCapabilities() + renderMultiQueuePlan() (cake_mq, mq + per-queue fq_codel, single_cake, single_fq_codel, optional ECN / L4S ce_threshold 1ms).
    • renderSubscriberFairnessPlan() (HTB + per-subscriber fq_codel ecn) and evaluateQueueFairness() (Jain's fairness index & drop hotspot detection).
    • API: GET /api/v1/vapa/queues, POST /api/v1/vapa/queues/plan.
  4. Phase 4 — Selective XDP Policy Engine (vapa-xdp-engine.mjs)
    • Validates selective XDP scope (allow, drop, redirect, mark) while keeping PPPoE/NAT/accounting/QoS in kernel paths, generates vapa_xdp_ingress C source, and produces netdev ingress fallback plans.
    • API: POST /api/v1/vapa/xdp/plan.
  5. Phase 5 — Experimental Opt-In VPP/DPDK Dataplane (vapa-vpp-backend.mjs)
    • Keeps native-linux as the default dataplane; adds probeVppDpdkEligibility(), renderVppStartupConf(), and compareDataplaneBackends().
    • API: GET /api/v1/vapa/dataplane/status, POST /api/v1/vapa/dataplane/vpp-plan.
  6. VatraControl UI & VatraCLI
    • VatraControl panel Tools > VAPA Adaptive Engine in app.js with allowlisted /api/v4/* & VatraCloud relay read support (VatraControl.exe, SHA-256 8ff167fa47bc152cbae6bfc174697c470e34047e0e05b2c69ed499ad9ec6b219).
    • VatraCLI (vatra-cli.mjs) commands: show vapa status, show vapa baseline [iface], show vapa queues [iface], show vapa dataplane.

2. Alpha Gate Checklist (v5.0.0-alpha.3)

Gate Status Evidence
VAPA Phase 0–5, Shadow Monitor, Safe Apply, Canary, Fault-Injection & Repeatability Schema (v500–v510) PASS 36/36 tests (tests/v500-* through tests/v510-*)
Live VM-to-VM Closed-Loop & Repeatability Run 2 (VATRA-STG-PEER -> 10.72.0.41) PASS 6/6 (100%) — bench-v500-expC-repeatability-r2.json
VatraCLI show vapa & Release Notes Tests (v505) PASS tests/v505-vapa-cli-release.test.mjs
Live Linux Lab Probe (10.72.0.41, Debian 13 / kernel 6.12.118) PASS 13/13 checks — QUALIFICATION_v5.0.0-alpha.md & qualify-v500-linux-10.72.0.41.json
Release Gate (syntax, sh_lf, manifest) PASS node scripts/verify-release-gate.mjs
Bare-Metal 10G–40G Dataplane, Live Closed-Loop Soak & VPP/DPDK Benchmarks NOT TESTED Hardware lab qualification required before Beta/GA