Skip to content

Commit 517e0ce

Browse files
committed
Merge remote-tracking branch 'origin/main' into HEAD
2 parents e4fb172 + 65831f5 commit 517e0ce

185 files changed

Lines changed: 14047 additions & 6956 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.drone.jsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ local releaseBranch = 'release-please--branches--main--components--codex-pooler'
22
local registry = 'registry.icorete.ch';
33
local image = 'registry.icorete.ch/icoretech/codex-pooler';
44
local helmVersion = 'v4.2.2';
5-
local nodeImage = 'node:26.3.1-slim';
5+
local nodeImage = 'node:26.4.0-slim';
66

77
[
88
{

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup Node.js
2525
uses: actions/setup-node@v6
2626
with:
27-
node-version: '26.3.1'
27+
node-version: '26.4.0'
2828
cache: npm
2929
cache-dependency-path: docs-site/package-lock.json
3030

@@ -58,7 +58,7 @@ jobs:
5858
- name: Setup Node.js
5959
uses: actions/setup-node@v6
6060
with:
61-
node-version: '26.3.1'
61+
node-version: '26.4.0'
6262
cache: npm
6363
cache-dependency-path: docs-site/package-lock.json
6464

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.4.3"
2+
".": "0.4.4"
33
}

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Changelog
22

3+
## [0.4.4](https://github.com/icoretech/codex-pooler/compare/codex-pooler-v0.4.3...codex-pooler-v0.4.4) (2026-06-27)
4+
5+
6+
### Features
7+
8+
* **gateway:** coordinate websocket rollout drains ([5c990ad](https://github.com/icoretech/codex-pooler/commit/5c990ad10867467f2929e5f2ee8369a319e08433))
9+
10+
11+
### Bug Fixes
12+
13+
* **accounting:** exclude unknown usage from consumption totals ([4d32260](https://github.com/icoretech/codex-pooler/commit/4d322607bf4e49572b74a665395635822d16c647))
14+
* **accounting:** exclude unknown usage from reporting totals ([7e0a0a2](https://github.com/icoretech/codex-pooler/commit/7e0a0a2af5003a65f90332c3be3b6555151c672d))
15+
* **deps:** update dependency daisyui to ^5.6.0 ([#85](https://github.com/icoretech/codex-pooler/issues/85)) ([724a4e6](https://github.com/icoretech/codex-pooler/commit/724a4e6ebbecb8df6f08cae8ab74b42775915c28))
16+
* **gateway:** classify public sse transport interruptions ([e03967d](https://github.com/icoretech/codex-pooler/commit/e03967d3ed2894701a4e833cca58bf31d6d6ca72))
17+
* **gateway:** reject websocket starts during rollout drain ([bf5b3a8](https://github.com/icoretech/codex-pooler/commit/bf5b3a82aa50dc519bd1b9f3d4f6d483d9f76332))
18+
* **operations:** mark readiness unavailable during rollout drain ([59e0f34](https://github.com/icoretech/codex-pooler/commit/59e0f34e0f1f347a8cd04c1195668e2aa67aff23))
19+
* **websocket:** finalize rollout drains as owner drained ([166879e](https://github.com/icoretech/codex-pooler/commit/166879efa6c47cc7786830d301c240f8cfb6f8ee))
20+
321
## [0.4.3](https://github.com/icoretech/codex-pooler/compare/codex-pooler-v0.4.2...codex-pooler-v0.4.3) (2026-06-25)
422

523

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ARG DEBIAN_MIRROR=
22
ARG DEBIAN_SECURITY_MIRROR=
33

4-
FROM node:26.3.1-slim AS assets_deps
4+
FROM node:26.4.0-slim AS assets_deps
55

66
ENV NPM_CONFIG_UPDATE_NOTIFIER=false
77

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ model:
473473
provider: openai-api
474474
base_url: http://localhost:4000/v1
475475
api_mode: codex_responses
476-
context_length: 272000
476+
context_length: 258400
477477
supports_vision: true
478478

479479
agent:
@@ -495,10 +495,11 @@ mcp_servers:
495495
```
496496
497497
Current Codex Pooler releases also expose an SDK-readable `context_length` value
498-
on `/v1/models`, derived from the Codex `context_window` metadata, so Hermes'
499-
automatic probes can resolve the 272k Pooler window. Keep `context_length: 272000`
500-
in Hermes config as a safe explicit override for older Pooler deployments or stale
501-
model metadata.
498+
on `/v1/models`, derived from the effective Codex `context_window` metadata, so
499+
Hermes' automatic probes can resolve the Pooler window. For `gpt-5.5`, the raw
500+
Codex window remains 272000 and the effective advertised value is currently
501+
258400. Keep `context_length: 258400` in Hermes config as a safe explicit
502+
override for older Pooler deployments or stale model metadata.
502503

503504
Remote HTTP MCP servers require Hermes' `mcp` extra. If
504505
`hermes mcp test codex_pooler` reports `mcp.client.streamable_http is not
@@ -531,7 +532,7 @@ model:
531532
default: gpt-5.5
532533
provider: openai-codex
533534
base_url: http://localhost:4000/v1
534-
context_length: 272000
535+
context_length: 258400
535536
supports_vision: true
536537
537538
agent:
@@ -1503,8 +1504,8 @@ Choose the deployment path that matches how you want to operate Codex Pooler:
15031504
The Kubernetes path uses the
15041505
[`icoretech/codex-pooler` chart](https://github.com/icoretech/helm/tree/main/charts/codex-pooler)
15051506
from the iCoreTech Helm repository. The chart runs one release image as separate
1506-
web, worker, scheduler, and migration roles. For a real install, pin `image.tag`
1507-
to an immutable release instead of using `latest`.
1507+
web, worker, scheduler, and migration roles. For a real install, pin the chart
1508+
`--version`; the chart defaults `image.tag` to the matching `appVersion`.
15081509

15091510
## Need more Codex?
15101511

assets/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"dependencies": {
33
"apexcharts": "^5.15.2",
44
"cally": "^0.9.2",
5-
"daisyui": "^5.5.23",
5+
"daisyui": "^5.6.3",
66
"topbar": "^3.0.1",
77
"uqr": "^0.1.3"
88
}

config/runtime.exs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,16 @@ if System.get_env("PHX_SERVER") in ~w(true 1) do
44
config :codex_pooler, CodexPoolerWeb.Endpoint, server: true
55
end
66

7+
websocket_drain_timeout_ms =
8+
CodexPooler.Gateway.Transports.Websocket.RolloutDrain.configured_timeout_ms()
9+
10+
endpoint_shutdown_timeout_ms = websocket_drain_timeout_ms + 5_000
11+
712
config :codex_pooler, CodexPoolerWeb.Endpoint,
8-
http: [port: String.to_integer(System.get_env("PORT", "4000"))]
13+
http: [
14+
port: String.to_integer(System.get_env("PORT", "4000")),
15+
thousand_island_options: [shutdown_timeout: endpoint_shutdown_timeout_ms]
16+
]
917

1018
config :codex_pooler,
1119
:websocket_owner_forwarding_enabled,
@@ -93,7 +101,8 @@ if config_env() == :prod do
93101
url: [host: host, port: 443, scheme: "https"],
94102
http: [
95103
port: String.to_integer(System.get_env("PORT", "4000")),
96-
ip: {0, 0, 0, 0}
104+
ip: {0, 0, 0, 0},
105+
thousand_island_options: [shutdown_timeout: endpoint_shutdown_timeout_ms]
97106
],
98107
secret_key_base: secret_key_base
99108

docs-site/src/content/docs/clients/hermes.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ model:
4040
provider: openai-api
4141
base_url: https://codex-pooler.example.com/v1
4242
api_mode: codex_responses
43-
context_length: 272000
43+
context_length: 258400
4444
supports_vision: true
4545

4646
agent:
@@ -63,7 +63,7 @@ mcp_servers:
6363
6464
Use `http://localhost:4000/v1` and `http://localhost:4000/mcp` for a local Codex Pooler instance.
6565

66-
Current Codex Pooler releases also expose an SDK-readable `context_length` value on `/v1/models`, derived from the Codex `context_window` metadata, so Hermes' automatic probes can resolve the 272k Pooler window. Keep `context_length: 272000` in Hermes config as a safe explicit override for older Pooler deployments or stale model metadata.
66+
Current Codex Pooler releases also expose an SDK-readable `context_length` value on `/v1/models`, derived from the effective Codex `context_window` metadata, so Hermes' automatic probes can resolve the Pooler window. For `gpt-5.5`, the raw Codex window remains 272000 and the effective advertised value is currently 258400. Keep `context_length: 258400` in Hermes config as a safe explicit override for older Pooler deployments or stale model metadata.
6767

6868
Remote HTTP MCP servers require Hermes' `mcp` extra. If `hermes mcp test codex_pooler` reports `mcp.client.streamable_http is not available`, install MCP support into the Hermes environment, following the [Hermes MCP Integration docs](https://hermes-agent.nousresearch.com/docs/user-guide/features/mcp), and rerun the test.
6969

@@ -93,7 +93,7 @@ model:
9393
default: gpt-5.5
9494
provider: openai-codex
9595
base_url: https://codex-pooler.example.com/v1
96-
context_length: 272000
96+
context_length: 258400
9797
supports_vision: true
9898
9999
agent:

0 commit comments

Comments
 (0)