Skip to content

feat(proxy): add account-bound Codex upstream routing#873

Open
Komzpa wants to merge 17 commits into
mainfrom
repair/pr-869-proxy-pool-egress
Open

feat(proxy): add account-bound Codex upstream routing#873
Komzpa wants to merge 17 commits into
mainfrom
repair/pr-869-proxy-pool-egress

Conversation

@Komzpa
Copy link
Copy Markdown
Collaborator

@Komzpa Komzpa commented Jun 1, 2026

Supersedes #869 after the original pull ref stopped following the repaired source branch.

This carries the account-bound upstream proxy routing branch with the latest routed OAuth/bootstrap, settings validation, transcribe transport, and route failure metadata fixes.

Validation run locally on the latest repair commit:

  • uv run pytest tests/integration/test_oauth_flow.py -q
  • uv run ruff check app/modules/oauth/service.py tests/integration/test_oauth_flow.py
  • uv run ty check app/modules/oauth/service.py tests/integration/test_oauth_flow.py

Original PR: #869.

@Komzpa Komzpa requested a review from Soju06 as a code owner June 1, 2026 12:10
@github-actions github-actions Bot added the db migration PR changes Alembic database migrations; maintainer must coordinate merge order label Jun 1, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 38b24e0132

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/modules/proxy/service.py
@Soju06 Soju06 added the 🤖 codex: needs work [@codex review] raised an issue label Jun 1, 2026
@Komzpa Komzpa force-pushed the repair/pr-869-proxy-pool-egress branch from 38b24e0 to 1aaef2c Compare June 1, 2026 12:58
@Komzpa
Copy link
Copy Markdown
Collaborator Author

Komzpa commented Jun 1, 2026

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1aaef2cf20

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/core/clients/proxy.py Outdated
Comment thread app/modules/proxy/service.py Outdated
@Soju06
Copy link
Copy Markdown
Owner

Soju06 commented Jun 1, 2026

@codex review

@Komzpa Komzpa removed the 🤖 codex: needs work [@codex review] raised an issue label Jun 1, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 471cf0439b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/modules/proxy/service.py Outdated
@Soju06 Soju06 added the 🤖 codex: needs work [@codex review] raised an issue label Jun 1, 2026
@Soju06 Soju06 removed the 🤖 codex: needs work [@codex review] raised an issue label Jun 1, 2026
@Soju06
Copy link
Copy Markdown
Owner

Soju06 commented Jun 1, 2026

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Soju06 Soju06 added the 🤖 codex: ok [@codex review] says no issues found. label Jun 1, 2026
Komzpa added 2 commits June 2, 2026 00:01
# Conflicts:
#	app/core/auth/dependencies.py
#	app/core/auth/refresh.py
#	app/core/clients/files.py
#	app/core/clients/model_fetcher.py
#	app/core/clients/oauth.py
#	app/core/clients/proxy.py
#	app/core/clients/proxy_websocket.py
#	app/core/clients/usage.py
#	app/core/openai/model_refresh_scheduler.py
#	app/modules/accounts/auth_manager.py
#	app/modules/accounts/repository.py
#	app/modules/oauth/service.py
#	app/modules/proxy/service.py
#	app/modules/usage/updater.py
#	tests/integration/test_proxy_files.py
#	tests/unit/test_auth_manager.py
#	tests/unit/test_proxy_websocket_client.py
@Soju06 Soju06 removed the 🤖 codex: ok [@codex review] says no issues found. label Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

db migration PR changes Alembic database migrations; maintainer must coordinate merge order

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants