Repository navigation
feat: Bump support for claude agent sdk - #2891
Luca Forstner (lforst) wants to merge 1 commit into
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour 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. |
Confidence Score: 4/5
[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. Findings
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.SummaryUpdates the latest Claude Agent SDK test dependency from
Tests were not run during this review. Reviews (1) · Last reviewed commit: "feat: Bump support for claude agent sdk" · Reviewed by Greptile |
| if ( | ||
| process.env.CLAUDE_AGENT_SDK_PACKAGE_NAME === "claude-agent-sdk-v0-latest" | ||
| ) { | ||
| process.env.CLAUDE_CODE_DISABLE_BACKGROUND_TASKS = "1"; |
There was a problem hiding this 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.
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.
No description provided.