Skip to content

Retire Codex gateway borrowing; preserve independent Pelican tests - #287

Merged
HTExplicit merged 1 commit into
mainfrom
codex/remove-codex-borrow
Oct 15, 2026
Merged

HTExplicit merged 1 commit into
mainfrom
codex/remove-codex-borrow

Conversation

@HTExplicit

Copy link
Copy Markdown
Owner

Codex gateway borrowing currently intercepts HTTP and WebSocket forwarding, acquires source cookies, qualifies target routes and exposes configuration, status and diagnostic interfaces. Remove that capability completely so every new request uses its selected account's ordinary routing and forwarding policies.

Preserve the independent Pelican workbench by extracting its runner, repository, preview service, API types and translations. Keep client identity, request compression, model catalogs, task UUID hashes and background-task behavior. Historical Pelican tables, raw outputs and diagnostic records remain readable; migration 278 removes only the borrowing setting and changes the new-task execution-mode default to account. Historical migrations and checksums remain unchanged. Retired borrowing API and preview paths return 404, and /admin/codex now opens client identity.

Validation: targeted synthetic HTTP/WS continuation, compression, Pelican lifecycle, cancellation, route-retirement and preview checks; frontend typecheck and affected Vitest tests; PostgreSQL 18.1 fresh-install migrations plus private-schema upgrade/repeat checks preserving history and unrelated settings. A queued-send cancellation race exposed by removing the legacy branch is fixed and its affected tests pass. Normal required PR checks remain in place. No real model calls were made.

@HTExplicit
HTExplicit enabled auto-merge (squash) October 15, 2026 01:47
@HTExplicit
HTExplicit merged commit 1c04697 into main Oct 15, 2026
18 checks passed
@HTExplicit
HTExplicit deleted the codex/remove-codex-borrow branch October 15, 2026 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant