52 Commits

Author SHA1 Message Date
Julian Sommer 1c6950b89e release: update go.mod for v0.2.2 2026-03-06 09:45:34 +10:00
Julian Sommer 2d304528b8 chore: bump deps 2026-03-06 08:15:48 +10:00
Julian Sommer 77c6d05042 refactor: replace NYTimes/gziphandler with stdlib compress/gzip
Drop the external gziphandler dependency in hiveui. The replacement
uses a simple http.ResponseWriter wrapper that checks Content-Type
against an allowlist before enabling gzip compression. Same behavior,
zero external deps.
2026-03-05 12:53:46 +10:00
Julian Sommer 8af3d2e5fa feat: migrate off fiber (#62) 2026-03-05 12:53:46 +10:00
dependabot[bot] e08b8140a6 chore: bump github.com/gofiber/fiber/v2 from 2.52.11 to 2.52.12 (#51) 2026-02-25 10:36:09 +11:00
dependabot[bot] a7e0cb6972 chore: bump github.com/nats-io/nats-server/v2 (#50) 2026-02-25 10:35:49 +11:00
Julian Sommer 6b9fc7b600 refactor: daemon 2026-02-25 08:22:46 +10:00
Julian Sommer 8188707c91 feat: VPC networking v1 — OVN-based virtual networking for EC2 instances 2026-02-24 14:13:57 +10:00
Julian Sommer 09a1e142eb release: update go.mod for v0.2.1 2026-02-18 15:01:36 +10:00
Ben Duncan 4986e3fb87 fix: disable sharded WAL by default, bump viperblock v1.0.14
Sharded WAL causes incomplete write errors in E2E tests. Disable by
default in hive.toml template, service.go fallback, and viperblock
constructor. Can be re-enabled via hive.toml shardwal=true.
2026-02-18 07:08:11 +10:00
Ben Duncan 5f370ab75e fix: bump viperblock v1.0.13, add local Docker E2E test docs
Update viperblock dependency to v1.0.13 which fixes CreateSnapshot
skipping WAL flush/consolidate when the VB instance doesn't own the
WAL files (viperblockd snapshot scenario).

Add local Docker E2E test instructions to TESTING.md.
2026-02-18 06:25:20 +10:00
Ben Duncan a1a801b26a fix: bump viperblock v1.0.12 — shard WAL snapshot corruption fix
Viperblock v1.0.12 fixes WriteShardedWALToChunk corrupting NBD plugin's
active WAL files when called from a VB instance that doesn't own the WAL
(viperblockd snapshot path). This caused CreateImage to fail with
"checksum mismatch in shard 0" on the second snapshot.
2026-02-17 22:57:36 +10:00
Ben Duncan bb1fe5e485 feat: add configurable shard WAL toggle, bump viperblock v1.0.11
Add [viperblock] section to hive.toml with shardwal config (default
true). The setting flows from config through viperblockd to nbdkit
plugin args, allowing operators to disable sharded WAL if needed.

Bumps viperblock dependency from v1.0.10 to v1.0.11 which includes
the sharded WAL implementation (UseShardedWAL/OpenShardedWAL), fixing
CI build failures.
2026-02-17 21:48:44 +10:00
Julian Sommer 7128a22fdb feat: detect CPU generation instead of vendor for instance types (#40) 2026-02-17 14:59:29 +11:00
Julian Sommer efe07a9ed4 chore: bump go version 2026-02-11 12:59:32 +10:00
Julian Sommer 6abae11122 feat: real snapshots (#32) 2026-02-10 16:57:50 +11:00
Julian Sommer 0efa570cc5 fix: update to go 1.25.7 2026-02-09 08:52:32 +10:00
Julian Sommer fca82939f5 feat: attach-volume (#20) 2026-02-04 09:44:54 +11:00
Julian Sommer 65ad19e604 bump viperblock 2026-02-03 14:00:10 +10:00
Julian Sommer 7e7d358135 update viperblock version 2026-02-02 10:39:24 +10:00
Julian Sommer 936828ed53 fix: upgrade to go 1.25.6 to fix vuln 2026-01-29 09:26:27 +10:00
Julian 1d816721e8 feat: move hive-ui into main hive binary 2026-01-28 15:00:30 +10:00
Ben Duncan b7bcdcaf1c Bumped viperblock version 2026-01-27 15:29:48 +10:00
Julian 6067450684 go mod tidy 2026-01-27 14:18:37 +10:00
Julian 67b9ffa423 predastore 1.0 2026-01-27 14:13:51 +10:00
Julian b1ec9b2122 upgrade viperblock 2026-01-23 09:22:12 +10:00
Julian 0a4e0858f1 remove replace directive 2026-01-23 09:04:48 +10:00
Julian Sommer 31158932b8 fix: run-instances in e2e 2026-01-23 09:49:28 +11:00
Julian Sommer bfb909b365 feat: jetstream kv for instance state 2026-01-22 04:08:46 +00:00
Julian Sommer ca3427d64b feat: E2E tests in GitHub Actions 2026-01-22 12:37:45 +11:00
Julian Sommer d29069db83 fix: match new viperblock err type 2026-01-21 04:02:20 +00:00
Julian Sommer 217fcf221a chore: use go tool for linters 2026-01-21 01:34:04 +00:00
Julian Sommer 43fdb3f373 pin viperblock to v0.1.3 2026-01-16 05:44:06 +00:00
Julian Sommer 049ae6f66b pin viperblock to specific commit until we release 2026-01-16 05:32:34 +00:00
Julian Sommer f056dff083 fix 2026-01-16 05:25:04 +00:00
Julian Sommer 3bc8ee7538 fix type for new viperblock 2026-01-16 05:19:50 +00:00
Julian Sommer 49351d2fc2 upgrade go version to fix cert vuln 2025-12-09 11:27:20 +11:00
benduncan 35769524e3 [SEC] Updated vul import libs. Adding automation for security checks on commit 2025-11-27 17:09:10 +11:00
Ben Duncan f2a04dd4c2 Added multi-node support and updated INSTALLER. Fix vm.go bug on qemu exec with args error 2025-11-21 23:06:14 +11:00
Ben Duncan b79eaeeed2 Move go.mod replace to go.work 2025-11-18 10:06:54 +08:00
Ben Duncan bacd1f3ba2 Tweaked qemu launch for non KVM hosts for development 2025-11-15 11:15:03 +00:00
benduncan eeba6a5bb4 AMI download bootstrap and utility tool 2025-11-10 02:08:29 +11:00
benduncan 1435282cb0 Improved AMI import feature, WIP 2025-11-08 23:32:58 +11:00
benduncan d2c2ced79e Updated config and admin init, awsgw tweaks and templates 2025-11-02 13:49:44 +11:00
benduncan f37d980ddb Upgrade to go 1.25, validated and tested 2025-10-29 01:23:30 +11:00
benduncan 32cecf124f Handler framework updated, predastore version bump, startup tweaks 2025-10-17 02:09:01 +11:00
benduncan cc8ee46592 Updated predastore version for unit-testing to pass 2025-10-06 14:43:07 +08:00
benduncan ba27e6d588 Basic unit tests, go.mod cleanup for dev, EC2 query parser 2025-10-05 20:06:33 +08:00
Ben Duncan 04f407714a Add development environment start/stop scripts
- Add ./scripts/start-dev.sh to start all services in correct order
- Add ./scripts/stop-dev.sh to gracefully stop all services
- Uses Hive service commands: nats, predastore, viperblock
- Includes service health checks and proper logging
- Scripts are based on user's working command examples
- Update go.mod with AWS SDK v2 dependencies

Note: Existing compilation errors in codebase need to be fixed
for unit tests to pass (slog formatting, duplicate mains in tmp/)

Mulga Defense Corporation <security@mulgadc.com>
2025-09-15 21:40:54 +08:00
Ben Duncan d05fb7cff3 VM management for rebooting and state 2025-08-01 18:41:20 +08:00