Repository navigation
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bef97bc257
ℹ️ 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".
bef97bc to
52fbfae
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 52fbfae594
ℹ️ 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: fabffbe2e3
ℹ️ 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. Chef's kiss. ℹ️ 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". |
7d9a9d1 to
2a662e8
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2a662e8e87
ℹ️ 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".
97ac1d1 to
4ec1cbb
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep them coming! ℹ️ 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". |
4ec1cbb to
b99d260
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep them coming! ℹ️ 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". |
f82308a to
a8134c1
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! Reviewed commit: ℹ️ 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". |
Normalize the Codex-session compact JSON response so Desktop sees the single compaction output item it requires while leaving non-Codex compact responses unchanged. Constraint: Codex Desktop remote compaction v2 requires exactly one compaction output item. Rejected: Forwarding upstream compact output verbatim | Desktop counts legacy compaction_summary output as zero compaction items. Confidence: high Scope-risk: narrow Directive: Keep compact response normalization scoped to Codex session affinity unless another client contract is verified. Tested: python -m pytest tests/integration/test_proxy_compact.py tests/integration/test_http_responses_bridge.py -q (93 passed); python -m ruff check app/modules/proxy/api.py tests/integration/test_proxy_compact.py. Not-tested: Full Docker Compose deployment; live upstream release compaction through GitHub issue reporter's environment. (cherry picked from commit d83e7f7)
(cherry picked from commit 2b4b264)
(cherry picked from commit 6fbb0ab)
a8134c1 to
aa71ed9
Compare
|
#892 has been folded into #875. Carried scope: HTTP bridge admission/startup/stream-contract handling is now part of #875, including bridge queue gate waits, raw stream/error contract settlement, previous-response owner fail-closed routing, startup probe task cleanup from #983, and Codex-affinity compact v2 response-shape normalization from #1013. Survivor: #875 |
) ## Summary - Wire the existing per-account probe backend endpoint (`POST /api/accounts/{accountId}/probe`) into the Accounts dashboard. - Add the frontend schema/client method, mutation, and MSW handler coverage for force-probe. - Add a Force probe button to the account detail action surface while preserving the newer routing policy, Trusted Access, limit warm-up, and upstream proxy controls from current `main`. - Refresh account list, account trends, per-account trend detail, and dashboard queries after a successful force-probe. - Keep Force probe disabled for paused, deactivated, and re-auth-required accounts that the backend rejects. ## Stack relationship - Remains separate from Soju06#892 because this is a dashboard/account-control feature, while Soju06#892 is the Responses HTTP bridge admission/stream contract bundle. - Remains separate from Soju06#887 because this does not touch model catalog visibility or public model metadata. - Does not absorb or supersede another open PR. Closes Soju06#677 ## Validation - `uv run openspec validate add-account-probe-endpoint --strict` - `cd frontend && bun run test 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` - `cd frontend && bun run test src/features/accounts/components/accounts-page.test.tsx` - `cd frontend && bun run test:coverage` - `cd frontend && bun run typecheck` - `cd frontend && bun run lint` Current head: `6aec65730b15f4a934db0daf6c3ed5e14a4d8fb4` GitHub CI: pending on current head after the test-fixture fix push.
Summary
Consolidates the Responses HTTP bridge, stream-correctness, startup cleanup, and narrow compact response-shape fixes into one PR:
bridge_queue_fullas the bounded local overload response when the bridge queue itself is saturatedstream_incomplete/v1/responsesOpenAI SDK contract shaping intactprevious_response_idbut the owning account cannot be resolved, before any account-scoped file affinity can reroute the continuation/v1/responses/compactunchangedThis absorbs #894, #896, #877, #983, and #1013 so the bridge/proxy API contract lands as one reviewable PR.
Fixes #881.
Folded PRs
aa71ed9249b2353cb088b710141772f71d11c351OpenSpec
openspec/changes/bound-http-bridge-gate-waits/openspec/changes/finalize-unterminated-response-streams/openspec/changes/preserve-http-stream-error-shape/openspec/changes/fix-startup-probe-task-exceptions/openspec/changes/bridge-codex-compaction-trigger/Changes
response.failedevents where required.input_file.file_idon a different account cannot bypass owner lookup misses.stream_incompleteevent./backend-api/codex/responses/compact.mainand folded fix(proxy): settle timed-out startup probe tasks #983/Fix Codex Desktop remote compaction v2 output shape #1013.Validation
Focused pytest result:
930 passed in 47.15s.