2e5644db53
Implement inflight request tracking
2025-10-28 23:59:02 +01:00
7ee22fee51
Implement shutting down status
2025-10-28 23:53:11 +01:00
d6a6f377fc
Fix logger race condition
2025-10-27 19:06:06 +01:00
e65f4f1641
Remove unsupported error wrapping from log.Printf
2025-10-27 18:01:58 +01:00
5ef0654cdd
Use %w for error wrapping in log messages across multiple files
2025-10-27 17:54:39 +01:00
f94d05dad2
Add Restarting state
2025-10-26 18:55:05 +01:00
889df3cb79
Add API key header for remote instances in proxy build
2025-10-25 14:14:39 +02:00
ff719f3ef9
Remove remote instance proxy handling from handlers
2025-10-25 14:07:11 +02:00
6a973fae2d
Fix tests
2025-10-25 00:14:42 +02:00
58f8861d17
Switch manager to global app config
2025-10-25 00:14:12 +02:00
eff59a86fd
Remove proxy, logger and process init from UnmarshalJSON
2025-10-24 23:41:33 +02:00
174d1772d6
Implement remote proxy handling in instance
2025-10-24 23:16:45 +02:00
72fe780e31
Simplify instance tests
2025-10-19 19:14:32 +02:00
55a9450077
Fix instance tests
2025-10-19 19:08:38 +02:00
51a7ac590e
Fix preventing local proxy usage for remote instances
2025-10-19 18:55:56 +02:00
3500971f03
Fix JSON marshaling of backend options by using a pointer
2025-10-19 18:27:22 +02:00
9da2433a7c
Refactor instance and manager tests to use BackendOptions structure
2025-10-19 18:07:14 +02:00
55f671c354
Refactor backend options handling and validation
2025-10-19 17:41:08 +02:00
2a7010d0e1
Flatten backends package structure
2025-10-19 15:50:42 +02:00
851c73f058
Add tests for status change callback and options preservation
2025-10-18 13:19:01 +02:00
8ac4b370c9
Unexport struct methods
2025-10-18 11:25:26 +02:00
a7740000d2
Refactor instance creation to initialize logger, proxy, and process only for local instances
2025-10-18 10:39:04 +02:00
b13f8c471d
Split off process struct
2025-10-18 10:28:15 +02:00
3f834004a8
Rename NewInstance to New
2025-10-18 00:34:18 +02:00
113b51eda2
Refactor instance node handling to use a map
2025-10-18 00:33:16 +02:00
7bf0809122
Fix test compilation after merge
...
Update instance tests to use correct type names:
- CreateInstanceOptions -> Options
- InstanceStatus -> Status
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-17 00:13:53 +02:00
a1ffdb02a4
Merge main into refactor/instance-split
...
Resolved conflicts in:
- pkg/instance/instance.go: Combined remote detection logic from main with refactored structure
- pkg/manager/manager_test.go: Updated manager initialization to include localNodeName parameter
- pkg/manager/remote_ops.go: Removed stripNodesFromOptions function that was deleted in main
- pkg/manager/remote_ops_test.go: Removed file that was deleted in main
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-17 00:10:09 +02:00
696a2cb18b
Prevent node change on update
2025-10-16 22:35:29 +02:00
5c9a397746
Fix get local proxy
2025-10-16 22:11:29 +02:00
c5097e59be
Fix local instance detection
2025-10-16 21:26:04 +02:00
4b30791be2
Refactor instance options structure and related code
2025-10-16 20:53:24 +02:00
a96ed4d797
Fix status json tag static check
2025-10-16 20:22:12 +02:00
5afc22924f
Refactor Status struct
2025-10-16 20:15:22 +02:00
e0ec00d141
Remove rendundant instance prefix from status
2025-10-16 19:40:03 +02:00
80ca0cbd4f
Rename Process to Instance
2025-10-16 19:38:44 +02:00
964c6345ef
Refactor backend host/port retrieval and remove redundant code for health checks
2025-10-14 22:16:26 +02:00
92a76bc84b
Move proxy to separate struct
2025-10-14 22:01:09 +02:00
02909c5153
Remove redundant instance prefix from logger
2025-10-14 19:46:43 +02:00
ef3478e2a3
Move logging to separate struct
2025-10-14 19:32:15 +02:00
b965b77c18
Prevent remote instances from using local proxy in GetProxy method
2025-10-09 20:24:54 +02:00
8d9b0c0621
Initialize timeProvider and logger in UnmarshalJSON for Process
2025-10-09 18:56:12 +02:00
2759be65a5
Add remote instance management functionality and configuration support
2025-09-30 21:09:05 +02:00
Anuruth Lertpiya
5906d89f8d
Added support for serving behind a reverse proxy
...
- Added support for specifying response headers for each backend
- Allowing users to set `X-Accel-Buffering: no` to disable buffering for streaming responses in nginx
- Updated `configuration.md` to document the new configuration options
- Modified Vite config to build with `base: "./"`, making assets be accessed via relative paths
- Updated API_BASE to use `document.baseURI`, allowing API calls to be made relative to the base path
2025-09-29 12:43:10 +00:00
0ecd55c354
Start with host environment for instances
2025-09-28 21:37:48 +02:00
808092decf
Initialize context in Start method for command execution
2025-09-28 20:51:11 +02:00
c984d95723
Add environment variable support to instance options and command building
2025-09-28 14:42:10 +02:00
2cd9d374a7
Add Docker badge to UI
2025-09-25 23:04:24 +02:00
282344af23
Fix docker command args building
2025-09-25 22:51:40 +02:00
bc9e0535c3
Refactor command building and argument handling
2025-09-25 22:05:46 +02:00
ba0f877185
Fix tests
2025-09-24 21:35:44 +02:00