Julian Sommer
6bc36455fc
test coverage improvements: instance, hiveui, health, utils
...
Total hive coverage: 54.3% → 55.8% (+1.5%)
- instance/service_impl.go: new test file (generateHostname, RunInstance,
cloud-init template, constructor)
- hiveui.go: new test file (security headers, gzip middleware, New(),
Status(), Reload())
- daemon/health.go: extend existing tests (handleInstanceCrash core flow,
first crash time, unknown instance type, maybeRestart scheduling)
- utils/utils.go: extend existing tests (pidPath all branches, RuntimeDir,
extractDiskImagePath, WritePidFile error path)
- fix: use smallestAllocType in health tests to avoid CI resource failures
2026-02-20 13:46:31 +10:00
Julian Sommer
df0e8a6459
ci: add race detection, fix test race conditions
2026-02-20 09:40:02 +10:00
Julian Sommer
0c65d75371
feat: add coordinated cluster shutdown to multi-node E2E tests ( #42 )
2026-02-18 13:22:12 +11:00
Ben Duncan
bb533dfbb6
multi-server tweaks, ec2 health, IAC templates, misc cleanup
2026-02-17 09:10:13 +10:00
Julian Sommer
202fffc8db
chore: utils tests
2026-02-11 15:21:29 +10:00
Julian Sommer
5ce3773c42
fix: cryptographically secure ids
2026-02-11 10:51:41 +10:00
Julian Sommer
c5bfedcd98
chore: fmt
2026-02-10 09:10:42 +10:00
Julian Sommer
1c2174a10f
fix: refactor handlers to use ObjectStore interface ( #24 )
2026-02-04 16:32:11 +11:00
Julian Sommer
fca82939f5
feat: attach-volume ( #20 )
2026-02-04 09:44:54 +11:00
Julian Sommer
1a8e273ac6
fix: use slog instead of log
2026-02-02 10:18:04 +10:00
Julian Sommer
b9b8c65e79
(fix) Linter fixes
...
* Fix go vet mutex copy issues and remove report files from git
* remove redundant nil checks (len of nil slice is 0)
* handle error
* add missing error handling
* run modernize to change interface{} to any
* run other modernise commands
* use crypto instead of rand.Intn
2026-01-06 14:20:56 +11:00
benduncan
803a3d3b35
Fixed pts 0 issue, tweaked install docs, and unit tests on MacOS
2025-11-25 14:49:52 +11:00
Ben Duncan
9fec764945
Trigger github action for fresh build
2025-11-18 10:12:08 +08:00
Ben Duncan
6c4953c72e
Fixed UT mistakes
2025-11-18 10:02:09 +08:00
benduncan
69151be3bb
Util helpers for image/AMI importer
2025-11-05 22:28:05 +11:00
benduncan
6f1cadb0a3
Daemon logic cleanup
2025-10-16 14:55:06 +08:00
benduncan
ba27e6d588
Basic unit tests, go.mod cleanup for dev, EC2 query parser
2025-10-05 20:06:33 +08:00