yusing
357ce38b18
fix(idlewatcher): correctly restart on config reload
2025-10-10 21:57:36 +08:00
yusing
60cfff3435
refactor(idlewatcher): streamline loading screen favicon handling
2025-10-10 12:55:06 +08:00
yusing
8047067b2b
refactor(utils): move utils/atomic to goutils
2025-10-09 01:07:47 +08:00
yusing
cab68807ee
refactor(config): restructured with better concurrency and error handling, reduced cross referencing
2025-10-09 01:02:24 +08:00
yusing
6051f75145
refactor(favicon): improve cache and error handling
2025-10-05 20:37:27 +08:00
yusing
f411e17d80
feat(json): improve JSON performance with bytedance/sonic
2025-09-29 17:43:34 +08:00
yusing
2a05c6a630
refactor: move websocket package and some http utils to seperate repo
2025-09-27 14:16:42 +08:00
yusing
6776f20332
refactor: move task, error and testing utils to separte repo; apply gofumpt
2025-09-27 13:41:50 +08:00
yusing
22bcf1201b
refactor: move some io, http and string utils to separate repo
2025-09-27 12:46:41 +08:00
yusing
d406b940d9
style: fix some golangci-lint warnings
2025-09-26 23:45:59 +08:00
yusing
55c1c918ba
refactor: remove / throttle some debug logging
2025-09-26 21:00:35 +08:00
yusing
f9affba9fc
refactor(modules): replace github.com/yusing/go-proxy with github.com/yusing/godoxy
2025-09-22 16:44:59 +08:00
yusing
577169d03c
refactor(idlewatcher): improve container readiness handling and health check logic
...
- Simplified the wakeFromHTTP and wakeFromStream methods by removing unnecessary loops and integrating direct checks for container readiness.
- Introduced a waitForReady method to streamline the waiting process for container readiness notifications.
- Enhanced the checkUpdateState method to include timeout detection for container startup.
- Added health check retries and logging for better monitoring of container state transitions.
2025-09-06 07:51:28 +08:00
yusing
b43274e9e6
refactor(idlewatcher): replace map with ordered.Map for deduplicating dependencies
2025-09-06 07:49:50 +08:00
yusing
35b0dcb418
chore(todo): remove completed TODOs
2025-08-17 17:10:21 +08:00
yusing
35a3e3fef6
refactor(api): restructured API for type safety, maintainability and docs generation
...
- These changes makes the API incombatible with previous versions
- Added new types for error handling, success responses, and health checks.
- Updated health check logic to utilize the new types for better clarity and structure.
- Refactored existing handlers to improve response consistency and error handling.
- Updated Makefile to include a new target for generating API types from Swagger.
- Updated "new agent" API to respond an encrypted cert pair
2025-08-16 13:04:05 +08:00
yusing
b5328fe5e7
feat(idlesleep): support idlesleep for stream routes, rewritten and fixed stream implementation
2025-06-09 22:20:26 +08:00
yusing
421aaecba4
refactor: rename net/types to nettypes
2025-06-08 17:59:48 +08:00
yusing
2263d6063e
fix(favicon): add GetFavIconFromAlias function and update favicon handling in idlewatcher
2025-06-08 15:13:38 +08:00
yusing
bd0fe36c53
fix(idlewatcher): should not print idle_timeout fields on dependencies
2025-06-05 18:49:11 +08:00
yusing
d240da4393
fix(route): incorrect health status for idlewatcher dependencies
2025-06-05 18:40:40 +08:00
yusing
a39d527fc1
feat(idlesleep): support container dependencies, including custom and docker depends_on, code refactor
2025-06-04 23:26:38 +08:00
yusing
e737737415
fix(idlewatcher): wake time outs before actual timeout
2025-06-02 23:26:47 +08:00
yusing
2628d9e8a8
fix(task): refactor task module and fix reload stuck/error, fix some logic
2025-05-28 22:07:13 +08:00
yusing
c1221e61d4
refactor: improve task management with xsync for concurrent access and enhance callback and subtasks handling as well as memory allocation
2025-05-25 15:01:44 +08:00
yusing
5b7c392297
refactor: code refactor and improved context and error handling
2025-05-24 10:02:24 +08:00
yusing
63c4bdc73d
refactor: remove the use of logging module in most code
2025-05-23 23:28:33 +08:00
yusing
3dbab118af
refactor: docker event watcher
2025-05-19 23:15:47 +08:00
yusing
c05059765d
style: coed cleanup and fix styling
2025-05-10 10:46:31 +08:00
yusing
b090598b68
feat(health): add health check detail to health api
2025-05-05 13:27:00 +08:00
yusing
770c698332
fix(idlewatcher): "unexpected container action" after unexpected EOF
2025-05-02 04:56:27 +08:00
yusing
f06741428c
fix(idlewatcher): log error and retry instead instead of stopping
2025-05-01 06:46:24 +08:00
yusing
ce4bf2f646
fix(idlewatcher): not started for docker containers
2025-04-28 23:54:13 +08:00
yusing
27409abc24
fix: missing proxmox initialization
2025-04-28 05:08:14 +08:00
yusing
03d609e4e1
fix: json marshaling
2025-04-26 01:31:22 +08:00
yusing
663a107c06
merge: main branch
2025-04-24 15:02:31 +08:00