[PR #42] [CLOSED] REFERENCE ONLY: Perf PR #58

Closed
opened 2026-10-18 21:13:52 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/terminals/pull/42
Author: @Classic298
Created: 7/15/2026
Status: ❌ Closed

Base: main ← Head: claude/terminals-perf-only-5jz2w3


📝 Commits (9)

  • ec18d4e Reduce orchestrator hot-path CPU (code-only, no schema/deployment changes)
  • 96ce4cc Fix wheel packaging: frontend build excluded by .gitignore
  • bd66c9a Bump version to 0.0.5.post1 for the perf-only image
  • 7eaa9d0 Cut remaining per-request hot-path CPU: pool sizing, logging, middleware, auth
  • 1274faf Bump version to 0.0.5.post2
  • 9259bb2 Refresh uv.lock for 0.0.5.post2
  • 8e34eab Fix locked project version to 0.0.5.post2
  • 769515d Use per-origin proxy clients instead of one shared connection pool
  • 8cac28e Merge branch 'main' into claude/terminals-perf-only-5jz2w3

📊 Changes

14 files changed (+1507 additions, -1062 deletions)

View changed files

📝 README.md (+4 -0)
📝 dev.sh (+1 -1)
📝 pyproject.toml (+7 -2)
📝 terminals/backends/base.py (+36 -0)
📝 terminals/cli.py (+4 -0)
📝 terminals/config.py (+10 -0)
📝 terminals/middleware.py (+30 -13)
📝 terminals/routers/auth.py (+29 -0)
📝 terminals/routers/proxy.py (+119 -27)
➕ tests/test_middleware.py (+37 -0)
➕ tests/test_proxy_clients.py (+48 -0)
➕ tests/test_status_cache.py (+96 -0)
➕ tests/test_token_cache.py (+58 -0)
📝 uv.lock (+1028 -1019)

📄 Description

Contributor License Agreement

Note

Deleting the CLA section will lead to immediate closure of your PR and it will not be merged in.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/terminals/pull/42 **Author:** [@Classic298](https://github.com/Classic298) **Created:** 7/15/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `claude/terminals-perf-only-5jz2w3` --- ### 📝 Commits (9) - [`ec18d4e`](https://github.com/open-webui/terminals/commit/ec18d4e22d57ee33051dc11f03d5120adb61bd0e) Reduce orchestrator hot-path CPU (code-only, no schema/deployment changes) - [`96ce4cc`](https://github.com/open-webui/terminals/commit/96ce4ccd78675b55af0299c6e7a03a1635be1d50) Fix wheel packaging: frontend build excluded by .gitignore - [`bd66c9a`](https://github.com/open-webui/terminals/commit/bd66c9a24a59f84b875d7bdff5f79aa7a3dc3667) Bump version to 0.0.5.post1 for the perf-only image - [`7eaa9d0`](https://github.com/open-webui/terminals/commit/7eaa9d01b3e1254fc9d9971f3543004e787215eb) Cut remaining per-request hot-path CPU: pool sizing, logging, middleware, auth - [`1274faf`](https://github.com/open-webui/terminals/commit/1274faf401ee22f4cd2047c4015ed1b3ec0d7e71) Bump version to 0.0.5.post2 - [`9259bb2`](https://github.com/open-webui/terminals/commit/9259bb23d4e6653a6398a2334869bc368d38d977) Refresh uv.lock for 0.0.5.post2 - [`8e34eab`](https://github.com/open-webui/terminals/commit/8e34eab93526b94232d88707154684b9a472d1ee) Fix locked project version to 0.0.5.post2 - [`769515d`](https://github.com/open-webui/terminals/commit/769515d5ddd75ca37fc073bbf3ab20687648ce5b) Use per-origin proxy clients instead of one shared connection pool - [`8cac28e`](https://github.com/open-webui/terminals/commit/8cac28e8ff6056a6b446f997dde9d9be7bcedf43) Merge branch 'main' into claude/terminals-perf-only-5jz2w3 ### 📊 Changes **14 files changed** (+1507 additions, -1062 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+4 -0) 📝 `dev.sh` (+1 -1) 📝 `pyproject.toml` (+7 -2) 📝 `terminals/backends/base.py` (+36 -0) 📝 `terminals/cli.py` (+4 -0) 📝 `terminals/config.py` (+10 -0) 📝 `terminals/middleware.py` (+30 -13) 📝 `terminals/routers/auth.py` (+29 -0) 📝 `terminals/routers/proxy.py` (+119 -27) ➕ `tests/test_middleware.py` (+37 -0) ➕ `tests/test_proxy_clients.py` (+48 -0) ➕ `tests/test_status_cache.py` (+96 -0) ➕ `tests/test_token_cache.py` (+58 -0) 📝 `uv.lock` (+1028 -1019) </details> ### 📄 Description ## Contributor License Agreement <!-- 🚨 DO NOT DELETE THE TEXT BELOW 🚨 Keep the "Contributor License Agreement" confirmation text intact. Deleting it will trigger the CLA-Bot to INVALIDATE your PR. Your PR will NOT be reviewed or merged until you check the box below confirming that you have read and agree to the terms of the CLA. --> - [x] By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](./CLA.md), and I am providing my contributions under its terms. > [!NOTE] > Deleting the CLA section will lead to immediate closure of your PR and it will not be merged in. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-18 21:13:52 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-webui/terminals#58
No description provided.