Repository navigation
v0.2-beta
Pre-release
Pre-release
Added
- Add workspace VS Code configuration (
.vscode/settings.json) targetingGOOS=linuxforgoplslanguage tools, eliminating false missing symbol warnings when developing on macOS or non-Linux host operating systems.
Changed
- Modernize atomic concurrency primitives across
systemandinternal/progresspackages to Go 1.19+ typed atomics (atomic.Bool,atomic.Uint64,atomic.Pointer[string],atomic.Pointer[T]), convertingAtomicBoolandAtomicStringfromsync.RWMutexto lock-free operations to eliminate lock contention on server state checks. - Bind background installation, reinstallation, and power action goroutines in the router to
Server.Context(), gracefully aborting operations and suppressing spurious error logs during server deletions and daemon shutdowns. - Guard server installation state by setting
Server.SetInstalling(true)duringInstall()andReinstall()lifecycles to block conflicting power actions and transfers. - Optimize streaming memory and throughput during archive creation and inter-daemon file transfers by increasing copy buffer sizes to 32KB/64KB and pooling buffers via
sync.Pool, eliminating per-file heap slice allocations.