Skip to content

Codex Path Native Bridge 0.3.3 (CPR 3.33.0-3.36.x, RPC v7)

Choose a tag to compare

@ninthcj ninthcj released this 31 Oct 07:35
· 18 commits to main since this release

Compatibility

  • Package 0.3.3, manifest host range >=3.33.0, <3.37.0. CPR 3.33.0, 3.34.0, 3.35.x and 3.36.0 all accept only RPC v7 sessions and publish manifest schema 2 and middleware v6, so this single package serves them. It is not compatible with the RPC v6 0.2.x packages.
  • Official SDK and packaging CLI pinned to CPR 5ae38dc0c55c192815ef605dde6c05fd767a2c28 (v3.36.0). Between that revision and the 0.3.2 pin, the SDK, packaging CLI, host compatibility manifest and docs/plugins.md trees are byte-identical and the plugin-runtime diff is three error-message strings, so the routing behaviour and manifest contributions are unchanged.
  • CPR 3.34.0 and later do not start a plugin whose declared host range does not match, and a 0.3.2 package declares <3.36.0; use this package on CPR 3.36.x. Do not edit the range in place — the running binary and its manifest come from the package.

What changes

Only the declared host range, the crate/manifest version and the pinned upstream revision. The exact-path rewrite (GET/POST /v1/codex/responses → /v1/responses, query bytes preserved, everything else untouched) is unchanged, as are the empty configuration schema and the http-stage middleware v6 contribution.

Assets

Asset SHA-256
selfhosted.omp-native-bridge-0.3.3-x86_64-unknown-linux-gnu.tar.gz a2c23079215c9fb45c3edb2ca8295009788e65da6be71ac689d13ed5e419f8f1

Identical value to the .sha256 sidecar. Archive contents: plugin.json (canonicalised, package.protocolVersion 7, target linux/x86_64) and the stripped bin/plugin ELF64 x86_64 binary.

Verification

  • Three deterministic routing tests plus three process-level RPC tests passed under cargo test and cargo test --release on macOS arm64, and the release tests passed for x86_64-unknown-linux-gnu inside a disposable Rust 1.99.1 container. The process tests spawn the compiled binary, perform the RPC v7 Hello/Ready exchange, reject an RPC v6 handshake and a mismatched middleware contribution, and assert next is invoked exactly once per middleware call with every other field preserved.
  • The package was produced from the v0.3.3 tag with the pinned cpr-plugin CLI; the published archive matches its SHA-256 sidecar and the digest above.
  • No model requests were made. Authentication, SSE, WebSocket and continuation behaviour belong to CPR and were not exercised by this release's build checks.

Live deployment

Installed on a production CPR 3.35.1 instance through the native GitHub flow, then carried across an in-place host upgrade to the ghcr.io/zyycn/codex-proxy-rs:3.36.0 version tag, which resolves to sha256:7cc0c08e4084843c4ab7090aa2be2a0ebfceae4b00e901d337d4a4d2530a5707.

  • Verify 200, install 201 with actualArtifactSha256 a2c23079…; version plan 200 with compatibilityWarning null, empty configuration and the existing reject http middleware binding intact; version switch 200 to instance revision 123.
  • The compose image was the only change. The container kept nofile 65536/524288, pids_limit 256, the 127.0.0.1:8080 binding, user 10001:10001 and the data, log and config.yaml mounts; the PostgreSQL and Redis containers were reused.
  • After the upgrade the host was healthy (204 healthz, 200 health) well inside the start period, and the instance came back enabled/running on the same revision and artifact with compatibilityWarning null, loadError null, no API deprecation and no draining revisions — the case a 0.3.2 package would fail.
  • POST /v1/responses and POST /v1/codex/responses returned the same native 401 body; GET on both returned the same native 400 WebSocket-upgrade rejection, so the rewrite passes native responses through. No model requests were made, so authenticated SSE, WebSocket and continuation behaviour was not exercised by this deployment check.