Skip to content

feat: Bump support for claude agent sdk - #2891

Open
Luca Forstner (lforst) wants to merge 1 commit into
mainfrom
lforst/dum-e/reykjavik-ac239194d6
Open

Luca Forstner (lforst) wants to merge 1 commit into
mainfrom
lforst/dum-e/reykjavik-ac239194d6

Conversation

@lforst

Copy link
Copy Markdown
Member

No description provided.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-04T11:31:31.379529Z 9b71f14 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@greptile-apps

greptile-apps Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Confidence Score: 4/5RetriggerView in Greptile

[Medium impact] The runtime effect is limited to Claude Agent SDK tracing.

The PR appears safe to merge, with a non-blocking gap in background-task test coverage.

FindingsFix All in Cursor

  1. P2 Background tasks lack coverage ▶
Fix with agent prompt
### Issue 1
e2e/scenarios/claude-agent-sdk-instrumentation/scenario.impl.mjs:9-12
Both latest-SDK test paths now set `CLAUDE_CODE_DISABLE_BACKGROUND_TASKS=1`, so neither checks subagents with that override unset. Keep these foreground checks, but add a separate case without the override that checks task output and tool completion. Otherwise, later SDK bumps can pass while breaking behavior users get without this test-only setting.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Summary

Updates the latest Claude Agent SDK test dependency from 0.2.141 to 0.3.333.

  • Claude Agent SDK records tool responses after a subagent finishes.

Tests were not run during this review.

Reviews (1) · Last reviewed commit: "feat: Bump support for claude agent sdk" · Reviewed by Greptile

Comment on lines +9 to +12
if (
process.env.CLAUDE_AGENT_SDK_PACKAGE_NAME === "claude-agent-sdk-v0-latest"
) {
process.env.CLAUDE_CODE_DISABLE_BACKGROUND_TASKS = "1";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Background tasks lack coverage

Both latest-SDK test paths now set CLAUDE_CODE_DISABLE_BACKGROUND_TASKS=1, so neither checks subagents with that override unset. Keep these foreground checks, but add a separate case without the override that checks task output and tool completion. Otherwise, later SDK bumps can pass while breaking behavior users get without this test-only setting.

Prompt To Fix With AI
This is a comment left during a code review.
Path: e2e/scenarios/claude-agent-sdk-instrumentation/scenario.impl.mjs
Line: 9-12

Comment:
**Background tasks lack coverage**

Both latest-SDK test paths now set `CLAUDE_CODE_DISABLE_BACKGROUND_TASKS=1`, so neither checks subagents with that override unset. Keep these foreground checks, but add a separate case without the override that checks task output and tool completion. Otherwise, later SDK bumps can pass while breaking behavior users get without this test-only setting.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Fix in Cursor Fix in Claude Code Fix in Codex Fix in Devin

This branch has not been deployed

No deployments
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.

1 participant