Skip to content

Avoid full history loads for Codex thread resumes - #2962

Merged
SawyerHood merged 1 commit into
mainfrom
slopcop/issue-2959
Sep 3, 2026
Merged

SawyerHood merged 1 commit into
mainfrom
slopcop/issue-2959

Conversation

@bb-slop-cop

@bb-slop-cop bb-slop-cop Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Human comments

What was wrong

The Codex resume request omitted the metadata-only option.
Codex then loaded old turns and sent a deprecation notice.
The bridge converted the notice to a visible warning.
The reproduction report shows two clean runs and the root cause.

What changed

  • Send excludeTurns: true with each Codex resume request.
  • Add a focused test for the request parameters.
  • Add optional request capture to the existing Codex test process.
  • Keep the existing translation for other Codex deprecation notices.

This change does not change a BB public protocol or the host daemon protocol.

How you verified

  • The focused test failed before the fix because the request omitted excludeTurns.
  • The focused test passed after the fix.
  • pnpm exec turbo run typecheck --filter=bb-plugin-provider-codex passed.
  • All 258 Codex provider tests passed.
  • A direct Codex 0.152.0 check returned no notice and no old turns with the option.
  • git diff --check passed.
  • The change has 87 additions and two deletions, for 89 changed text lines.
  • The EAP codename scan found no match in the worktree or push range.

Fixes #2959

AGENT GENERATED

@SawyerHood
SawyerHood merged commit 14c19c9 into main Sep 3, 2026
15 checks passed
@SawyerHood
SawyerHood deleted the slopcop/issue-2959 branch September 3, 2026 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecation warning in codex in some situations

1 participant