Commit 234d7a2
authored
Use kit daemon runtime (#578)
## Summary
- replace the custom daemon state-file and PID-lock implementation with go.kenn.io/kit daemon runtime records and start locks
- expose the shared /api/ping liveness endpoint for daemon discovery
- remove obsolete platform-specific boot/process-start stale PID checks and the internal pidlock package
## Validation
- go test ./internal/server ./cmd/agentsview
- go test ./... (fails in existing unrelated internal/parser TestParseWorkBuddySession: expected project `proj`, got `agentsview`)
Co-authored-by: Marius van Niekerk <mariusvniekerk@users.noreply.github.com>1 parent 3d4de23 commit 234d7a2
34 files changed
Lines changed: 1213 additions & 1865 deletions
File tree
- cmd/agentsview
- internal
- pidlock
- server
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
87 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
0 commit comments