Repository navigation
feat(proxy): restore opportunistic traffic class on main - #716
Conversation
42a6cff to
5a3b7be
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 42a6cff511
ℹ️ 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".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5a3b7be84f
ℹ️ 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".
fa13a43 to
bad03a4
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bad03a4b42
ℹ️ 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".
bad03a4 to
f411de9
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f411de94d3
ℹ️ 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".
f411de9 to
7327639
Compare
b8c5b02 to
7f80220
Compare
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. Nice work! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4f2342ca1e
ℹ️ 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".
|
@codex review |
|
Follow-up on the remaining comments/blockers for current head
Current CI is green: https://github.com/Soju06/codex-lb/actions/runs/26836346731 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8416af916e
ℹ️ 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".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 72822c1862
ℹ️ 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".
|
@codex review |
1 similar comment
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cbb996d4c4
ℹ️ 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".
…ffic-class-main-20260602 # Conflicts: # app/modules/limit_warmup/service.py # app/modules/settings/api.py # tests/unit/test_limit_warmup.py
|
@codex review |
|
Codex Review: Didn't find any major issues. Another round soon, please! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
Hermes follow-up on current head The PR body says Please either:
|
|
Follow-up fixed and merged.
|
Summary
This is the consolidated routing/quota/account-dashboard branch rebased onto current
main.The branch keeps the original opportunistic traffic-class restoration and folds the overlapping routing/quota work that was otherwise split across several open PRs. The goal is one reviewable main-based PR for account identity, additional-quota routing, sticky/fill-first selection, manual account routing policy, reset-window preference, single-account/drain behavior, security-work account authorization, live credits display, and quota phase planning.
Current head:
3a8c639b41793a33bbb56b926ada4300d32d3fa3Base head:
47b0c3624faf9c40211cbf52957d91ddce4bb5cbCurrent CI: https://github.com/Soju06/codex-lb/actions/runs/26843390719
Folded here:
Issue relationships:
Kept separate:
/v1/usage#832 - account display/API enhancementLatest rebase/follow-up fixes:
origin/maininto the PR branch and resolved backend/frontend/test conflicts.RequestLog.request_kindcolumn.executingbefore synthetic traffic/API-key reservation, and final writes only complete anexecutingdecision.not_cancelableinstead of being rewritten under the warmup worker.20260525_000000_merge_routing_settings_security_heads.request_logs.slim_summary_jsonand sticky-thresholdREAL/Floataffinity after migration.request_logs.request_kindbackfill/default/non-null behavior in the quota-planner migration when that column is missing or was created earlier by a parallel branch.request_kindcolumn.Validation
Local validation after the rebase/fix:
uv run pytest tests/integration/test_quota_planner_api.py -q(16 passed)uv run pytest tests/integration/test_settings_api.py tests/integration/test_proxy_chat_completions.py tests/unit/test_limit_warmup.py tests/unit/test_proxy_http_bridge.py tests/unit/test_proxy_utils.py -q(622 passed)uv run openspec validate --all --strict(48 passed, 0 failed)uv run ruff check app testsuv run ty check app testsuv run pytest tests/integration/test_quota_planner_api.py tests/unit/test_limit_warmup.py -q(28 passed)bun run typecheckbun run test src/features/settings/components/routing-settings.test.tsx src/features/settings/schemas.test.ts src/features/settings/payload.test.ts src/features/accounts/components/account-list-item.test.tsx src/features/accounts/components/account-actions.test.tsx src/features/accounts/components/account-detail.test.tsx src/features/accounts/hooks/use-accounts.test.ts src/features/accounts/schemas.test.ts src/test/mocks/handler-coverage.test.ts(9 test files passed, 52 tests passed)make lintmake migration-checkpython .github/scripts/check_all_contributors.pymake frontend-lintmake frontend-test(81 test files passed, 500 tests passed)uv run pytest tests/unit/test_db_migrate.py::test_check_schema_drift_ignores_legacy_live_extra_request_log_column tests/unit/test_db_migrate.py::test_check_schema_drift_ignores_sqlite_real_float_reflection_for_sticky_thresholds tests/unit/test_db_migrate.py::test_check_schema_drift_detects_rogue_table tests/unit/test_db_migrate.py::test_run_upgrade_auto_remaps_legacy_routing_security_merge_head -q(4 passed)uv run pytest tests/unit/test_db_migrate.py::test_check_schema_drift_ignores_sqlite_real_float_reflection_for_sticky_thresholds tests/unit/test_db_migrate.py::test_check_schema_drift_detects_rogue_table -q(2 passed)uv run pytest tests/unit/test_quota_planner.py tests/integration/test_quota_planner_api.py -q(28 passed)uv run ruff check app/modules/quota_planner/logic.py tests/unit/test_quota_planner.pyuv run ty check app/modules/quota_planner tests/unit/test_quota_planner.pyuv run pytest tests/unit/test_db_migrate.py::test_quota_planner_migration_repairs_preexisting_request_kind_column -q(1 passed)uv run pytest tests/unit/test_db_migrate.py -q(35 passed)uv run ruff check app/db/alembic/versions/20260520_030000_add_quota_planner.py tests/unit/test_db_migrate.pyuv run ruff format --check .uv run ty check app/db/alembic/versions/20260520_030000_add_quota_planner.py tests/unit/test_db_migrate.pyuv run pytest tests/unit/test_quota_planner.py tests/integration/test_quota_planner_api.py -q(28 passed)GitHub CI is green for the current head after the request-kind migration follow-up commit. The repository label synchronizer has also proved green current-head CI plus a clean current-head Codex review, so the PR currently carries
🤖 codex: ok.