Repository navigation
fix(proxy): repair request failure metadata migration - #870
Conversation
f079941 to
bacadb7
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f079941a92
ℹ️ 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: 29ec46fcc2
ℹ️ 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 |
|
Codex Review: Didn't find any major issues. 👍 ℹ️ 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: 2586d53589
ℹ️ 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: 7b836e5098
ℹ️ 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".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3b16f92bec
ℹ️ 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".
3b16f92 to
01d5d62
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. Hooray! ℹ️ 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 owner-review found a few current-head blockers despite green CI/Codex:
Local verification I ran:
|
- fail closed for pinned file finalize initial account selection - keep local continuity errors out of upstream status metadata - exclude warmup rows from per-account API-key cost aggregates - align warmup OpenSpec artifact mode names and completed tasks
|
@codex review |
|
Codex Review: Didn't find any major issues. 🎉 ℹ️ 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". |
|
Follow-up fixes pushed in
Local verification:
Live gates on current head are now clean: CI has no pending/failing checks, GitHub reports |
Fold proxy-runtime repair work into the current mainline branch: - persist and expose request failure metadata without misclassifying local proxy failures as upstream statuses - linearize request-log and warmup migrations on the current Alembic head chain - harden HTTP bridge stale/replaced-session retry and previous-response continuity behavior - keep pinned file finalization on the owning account and fail closed when the owner is unavailable - add `/v1/warmup` settings, request-log visibility, and accounting exclusions with consistent OpenSpec artifacts Validation: - CI required checks green - Codex review clean on current head - migration policy and fresh upgrade checks green
Summary
main-based branch: fix(proxy): repair request failure metadata migration #870, fix(proxy): fail over pre-visible refresh connect stalls #822, fix(proxy): fail over unary refresh connect errors #824, fix(proxy): retire stale HTTP bridge pending sessions #858, Fix Cursor chat-completions compatibility #833, and feat(api): add warmup endpoint #768previous_response_idfailures still return 502 instead of triggeringprevious_response_not_foundfull-history retriesFolded PRs
maintainerCanModify=false), so this branch carries the maintainer-side request-log repairmain640b219487f2946ca25a5124d179c290d7a0fe84640b219487f2946ca25a5124d179c290d7a0fe84Validation
uv run pytest tests/unit/test_proxy_utils.py::test_thread_goal_failover_401_force_refreshes_fallback_account tests/unit/test_proxy_utils.py::test_thread_goal_upstream_connection_reset_fails_over_after_freshness -quv run ruff check app/modules/proxy/service.py tests/unit/test_proxy_utils.pyuv run ruff format --check app/modules/proxy/service.py tests/unit/test_proxy_utils.pyuv run ty check app/modules/proxy/service.py tests/unit/test_proxy_utils.pymake test-integration-bridge(126 passed)