b60daf0461d980fb31ea2be9b3eaa9deb51cd840
Implements the patchrun package with a pure functional state machine for managing patch runs. Contains no database dependencies - the services layer loads a run, asks this package what should change, and writes changes guarded by expected status. All 14 test cases pass, covering: - Agent version parsing and support detection - Concurrency limits and queueing - Window deadlines and offline handling - Result timeouts (ResultGrace, ManualTimeout, RebootTimeout) - Reboot verification with boot time proof - Run finalization logic - Summary generation for alerts
Description
No description provided
9.7 MiB
Languages
JavaScript
63.9%
Go
19.3%
TypeScript
16.6%