Feat v0.6.6 final hardening (#41)
All checks were successful
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-frontend (push) Successful in 6s
CI/CD / test-go-pg (push) Successful in 2m47s
CI/CD / test-sqlite (push) Successful in 3m1s
CI/CD / build-and-deploy (push) Successful in 29s

Co-authored-by: Jeffrey Smith <jasafpro@gmail.com>
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit was merged in pull request #41.
This commit is contained in:
2026-03-31 17:40:40 +00:00
committed by xcaliber
parent 81c28a50bf
commit 7915d84c8b
19 changed files with 625 additions and 131 deletions

View File

@@ -97,6 +97,12 @@ type Config struct {
ClusterHeartbeatInterval time.Duration
ClusterStaleThreshold time.Duration
ClusterEndpoint string
// Package signing (future)
// PACKAGE_VERIFY_SIGNATURES: when true, log warnings for unsigned packages.
// No cryptographic verification yet — this reserves the manifest schema slot
// and config plumbing so it can be implemented without a breaking change.
PackageVerifySignatures bool
}
// Load reads configuration from environment variables.
@@ -161,6 +167,8 @@ func Load() *Config {
ClusterHeartbeatInterval: getEnvDuration("CLUSTER_HEARTBEAT_INTERVAL", 10*time.Second),
ClusterStaleThreshold: getEnvDuration("CLUSTER_STALE_THRESHOLD", 30*time.Second),
ClusterEndpoint: getEnv("CLUSTER_ENDPOINT", ""),
PackageVerifySignatures: getEnvBool("PACKAGE_VERIFY_SIGNATURES", false),
}
}