fix(copilot): pin SDK <0.1.32 and revert session serialization#32
Merged
fix(copilot): pin SDK <0.1.32 and revert session serialization#32
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
github-copilot-sdkto<0.1.32— version 0.1.32 introduced a permission-denied regression that breaks for-each groups_session_create_lockserialization from fix(copilot): serialize session creation to prevent permission-denied race condition #30 since it addressed the wrong root causeEvidence
The serialization lock from #30 was based on the hypothesis that overlapping
create_sessioncalls caused the race. The version correlation shows the actual cause is an SDK regression in 0.1.32.Test plan
make check(ruff lint + format + ty typecheck) all passuv tool installat this branch🤖 Generated with Claude Code