Skip to content

Harden HTTP bridge previous_response_id continuity recovery - #301

Closed
JoshuaRileyDev wants to merge 3 commits into
Soju06:mainfrom
JoshuaRileyDev:codex/harden-http-bridge-previous-response-recovery
Closed

JoshuaRileyDev wants to merge 3 commits into
Soju06:mainfrom
JoshuaRileyDev:codex/harden-http-bridge-previous-response-recovery

Conversation

@JoshuaRileyDev

@JoshuaRileyDev JoshuaRileyDev commented Apr 2, 2026 •

Copy link
Copy Markdown

Summary

  • add a bridge-local previous-response recovery index keyed by (response.id, api_key)
  • recover live HTTP bridge sessions for follow-up requests carrying previous_response_id before fail-closed continuity errors
  • clean up previous-response mappings when bridge sessions close
  • add integration coverage for recovery when request affinity drifts between turns
  • add OpenSpec change artifacts for this behavior update

Validation

  • uv run pytest -q tests/integration/test_http_responses_bridge.py -k "missing_turn_state_alias_with_previous_response_id_fails_closed or recovers_previous_response_without_turn_state_alias or send_failure_returns_previous_response_not_found"
  • result: 3 passed

@Soju06

Soju06 commented Apr 3, 2026

Copy link
Copy Markdown
Owner

@codex review

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

Copy link
Copy Markdown

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: f1960fa902

ℹ️ 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 Resolved
Comment thread app/modules/proxy/service.py Resolved
@imadtg imadtg mentioned this pull request Apr 3, 2026
@imadtg

imadtg commented Apr 3, 2026

Copy link
Copy Markdown

does this solve #221?

@Komzpa Komzpa removed the 🤖 codex: needs work [@codex review] raised an issue label May 18, 2026
@Komzpa

Komzpa commented May 18, 2026

Copy link
Copy Markdown
Collaborator

@codex review

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

Copy link
Copy Markdown

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: 6a89e1fcc9

ℹ️ 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 Resolved
@Komzpa Komzpa added 🤖 codex: needs work [@codex review] raised an issue 🤖 codex: ok [@codex review] says no issues found. and removed 🤖 codex: needs work [@codex review] raised an issue labels May 18, 2026
@Komzpa Komzpa removed the 🤖 codex: ok [@codex review] says no issues found. label May 18, 2026
@Komzpa

Komzpa commented May 18, 2026

Copy link
Copy Markdown
Collaborator

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

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

ℹ️ 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".

@Komzpa Komzpa added 🤖 codex: ok [@codex review] says no issues found. and removed 🤖 codex: ok [@codex review] says no issues found. labels May 18, 2026
@Soju06

Soju06 commented May 21, 2026

Copy link
Copy Markdown
Owner

Maintainer cleanup: closing this as stale / no longer merge-ready against the current main.

This PR has been open across substantial main-branch churn and is currently carrying at least one stale signal (conflicts/blocked or failing checks, outstanding codex: needs work, draft/old branch state, or overlap with newer/current implementation). Keeping it open is making the PR queue harder to reason about.

If the change is still needed, please open a fresh, focused PR rebased on current main with green CI and a clean Codex review.

@Soju06 Soju06 closed this May 21, 2026
@Komzpa Komzpa added needs rebase Needs rebase or conflict repair against current main stale No response from reporter; scheduled for close labels May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs rebase Needs rebase or conflict repair against current main stale No response from reporter; scheduled for close

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants