Commit Graph
72 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek cd31d58fc5 refac 2026-07-20 11:16:23 -04:00
Timothy Jaeryang Baek 5b868bd721 refac v0.0.7 2026-07-19 20:03:11 -04:00
Timothy Jaeryang Baek 077096ed5b refac 2026-07-19 20:02:58 -04:00
Timothy Jaeryang Baek 6680586ef1 refac 2026-07-19 20:01:29 -04:00
Timothy Jaeryang Baek cd79bff865 refac v0.0.6 2026-07-19 19:32:32 -04:00
Classic298andClaude 109d844454 Fix WebSocket connection counter leak and guard mid-retry re-resolves (#44)
- active_ws_connections was incremented on entry to _ws_proxy_handler
  but only decremented in the finally around the relay loop, so every
  early return (instance resolve failure, connect-retry exhaustion)
  leaked a permanent +1 and the stats counter grew monotonically under
  connect failures. Maintain the counter with a try/finally around the
  entire proxy body so every exit path decrements it.
- The instance re-resolution added to the HTTP and WebSocket retry
  loops was unguarded: if provisioning fails mid-retry, the exception
  escaped as an unhandled 500 / raw ASGI error. Return the existing
  502 responses (HTTP) or close 4003 (WebSocket) instead.
- Document the recently added TERMINALS_STATUS_CACHE_TTL,
  TERMINALS_TOKEN_CACHE_TTL, TERMINALS_WS_COMPRESSION, and
  TERMINALS_ACCESS_LOG settings in the README configuration table.


Claude-Session: https://claude.ai/code/session_01XvuMBS4XMccRrCwNxfoPsu

Co-authored-by: Claude <noreply@anthropic.com>
2026-07-19 19:29:58 -04:00
Timothy Jaeryang Baek c9be162f82 refac 2026-07-15 17:24:15 -04:00
Timothy Jaeryang Baek a0ac31c6dd refac 2026-07-10 16:34:50 -05:00
Timothy Jaeryang Baek 601f159c37 refac 2026-07-10 16:25:18 -05:00
Timothy Jaeryang Baek 5bf51bf49a refac 2026-07-10 16:22:58 -05:00
Timothy Jaeryang Baek 8f4d668d51 refac 2026-07-10 16:11:06 -05:00
Timothy Jaeryang Baek f7dc8c6312 refac v0.0.5 2026-07-09 15:43:29 -05:00
Timothy Jaeryang Baek ddb8338e25 refac 2026-07-09 15:43:05 -05:00
Timothy Jaeryang Baek 56e3e75bf1 refac 2026-07-09 15:22:11 -05:00
Timothy Jaeryang Baek 1891c79b4b refac v0.0.4 2026-06-29 13:55:33 -05:00
Timothy Jaeryang Baek 375b903dd7 refac 2026-06-23 00:09:22 +02:00
Timothy Jaeryang Baek 7d6fc32cb0 refac 2026-06-22 17:08:50 +02:00
Timothy Jaeryang Baek d6d33caf3f refac 2026-06-22 17:04:58 +02:00
Timothy Jaeryang Baek 83ff414551 refac 2026-06-22 14:33:18 +02:00
Timothy Jaeryang Baek 81365b5fb2 refac 2026-06-22 14:25:21 +02:00
Timothy Jaeryang Baek 0149813c2d refac 2026-06-22 14:00:05 +02:00
Tim Baek 1abfd486f5 Merge pull request #27 from james-westbrook/fix-docker-storage-limit
fix: best-effort max storage on docker backend
2026-06-22 13:51:34 +02:00
James Westbrook c972bac9c9 fix: best-effort max storage on docker backend 2026-05-24 00:51:16 -06:00
Timothy Jaeryang Baek 3b94495271 Update pyproject.toml v0.0.3 2026-04-28 08:02:14 +09:00
Timothy Jaeryang Baek 1575ef12f0 refac 2026-04-13 19:13:32 -05:00
Tim Baek 4553f74136 Merge pull request #19 from westbrook-ai/fix-orchestrator-dns-names
fix: ensure container names don't exceed 63-character DNS label limit
v0.0.2
2026-04-03 06:53:32 +04:00
James Westbrook e474360dcc Merge branch 'main' into fix-orchestrator-dns-names 2026-04-02 20:47:07 -06:00
James Westbrook 1951b21c89 fix: ensure container names don't exceed 63-character DNS label limit 2026-04-02 20:13:44 -06:00
Timothy Jaeryang Baek bce82b90f1 refac 2026-04-02 18:47:11 -05:00
Timothy Jaeryang Baek 47ef8d4527 refac v0.0.1 2026-04-02 18:29:32 -05:00
Timothy Jaeryang Baek f237529108 refac 2026-04-02 18:26:47 -05:00
Tim Baek 51e82bb9a5 Merge pull request #16 from westbrook-ai/fix-k8s-errored-terminals
fix: auto-recover errored terminal CRs in operator backend
2026-04-01 10:06:29 +04:00
James Westbrook 22bddc010f fix: auto-recover errored terminal CRs in operator backend 2026-03-31 11:45:24 -06:00
Tim Baek aa61c5fcc8 Merge pull request #15 from westbrook-ai/fix-gha-workflows
fix: put workflow in correct directory
2026-03-31 02:58:29 +04:00
James Westbrook 6165743368 fix: put workflow in correct directory 2026-03-30 10:31:15 -06:00
Tim Baek 048e3d3a56 Merge pull request #14 from westbrook-ai/fix-label-consistency
fix: ensure label consistency between backend types
2026-03-30 02:04:25 +04:00
Tim Baek 92f179b90e Merge pull request #13 from westbrook-ai/logging-fixes
fix: logging updates to prevent silent errors
2026-03-30 02:04:07 +04:00
Tim Baek 36853f7a48 Merge pull request #12 from westbrook-ai/feat-release-images
feat: re-add Docker build workflows
2026-03-30 02:03:58 +04:00
James Westbrook fd3ca8b01b fix: ensure label consistency between backend types and across user-specific resources 2026-03-29 13:43:50 -06:00
James Westbrook 0cb5a73e61 fix: logging updates to prevent silent errors 2026-03-29 12:47:20 -06:00
James Westbrook fcc3d4fe89 feat: re-add Docker build workflows 2026-03-26 19:47:54 -06:00
Tim Baek dbb870c9fa Merge pull request #11 from westbrook-ai/fix-terminals-image
fix: simplify Terminals Dockerfile
2026-03-27 04:30:58 +04:00
Tim Baek 438f921ce7 Merge pull request #10 from westbrook-ai/fix-relative-paths
fix: resolve paths relative to package directory, not CWD
2026-03-27 04:30:45 +04:00
Tim Baek f15e4fa295 Merge pull request #9 from westbrook-ai/fix-pyproject-deps
fix: add required dependencies to run terminals
2026-03-27 04:30:18 +04:00
James Westbrook 7712ea5122 fix: remove old Terminals frontend refs in Dockerfile, simplify to get Terminals running 2026-03-25 20:44:59 -06:00
James Westbrook 41858c9e7f fix: remove relative imports 2026-03-25 20:35:05 -06:00
James Westbrook 2e1a3a82a6 fix: add required dependencies to run terminals 2026-03-25 20:08:19 -06:00
Tim Baek af5af177aa Merge pull request #5 from westbrook-ai/fix-k8s-backend-api-key-secret
feat(Kubernetes Operator): Move API Key from Pod Spec to Secret
2026-03-21 01:17:55 +04:00
James Westbrook f9000a1e33 fix: update Kubernetes backend to store API key as secret 2026-03-19 19:02:37 -06:00
Timothy Jaeryang Baek ded6293b65 refac 2026-03-15 18:28:52 -05:00