Skip to content

fix(copilot): pin SDK <0.1.32 and revert session serialization#32

Merged
jrob5756 merged 2 commits intomainfrom
fix/pin-copilot-sdk-revert-serialization
Mar 9, 2026
Merged

fix(copilot): pin SDK <0.1.32 and revert session serialization#32
jrob5756 merged 2 commits intomainfrom
fix/pin-copilot-sdk-revert-serialization

Conversation

@jrob5756
Copy link
Copy Markdown
Collaborator

@jrob5756 jrob5756 commented Mar 9, 2026

Summary

Evidence

Date SDK Version Result
Mar 7 0.1.30 ✅ Clean — zero permission denials
Mar 8 0.1.32 ⚠️ 1/10 agents timed out at 1800s with permission denied
Mar 9 0.1.32 ❌ Multiple agents hit permission denied immediately

The serialization lock from #30 was based on the hypothesis that overlapping create_session calls caused the race. The version correlation shows the actual cause is an SDK regression in 0.1.32.

Test plan

  • 1661 tests pass, 0 failures
  • make check (ruff lint + format + ty typecheck) all pass
  • Test in news repo by pointing uv tool install at this branch

🤖 Generated with Claude Code

Jason Robert and others added 2 commits March 9, 2026 11:58
The permission-denied errors in for-each groups are caused by a
regression in github-copilot-sdk 0.1.32, not the create_session race
condition we diagnosed in #27. Evidence: SDK 0.1.30 (Mar 7) had zero
permission denials; SDK 0.1.32 (Mar 8–9) fails consistently.

- Pin github-copilot-sdk to <0.1.32 until the regression is fixed
- Revert the _session_create_lock serialization from #30 since it
  addressed the wrong root cause

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
SDK 0.1.31 also has the permission-denied regression (confirmed in
news repo run 22863258830). The last known good version is 0.1.30.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jrob5756 jrob5756 merged commit 046fd6a into main Mar 9, 2026
7 checks passed
@jrob5756 jrob5756 deleted the fix/pin-copilot-sdk-revert-serialization branch March 9, 2026 17:55
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