Modernize dependencies across SDKs - #2736
stephentoub wants to merge 4 commits into
Conversation
|
One or more custom setup steps configured for this repository failed during this Copilot code review run: Setup steps run before each review. If the review above is missing context, or no review was posted at all, the failing step above may be the cause. See the workflow run for failure details, fix your setup steps configuration, and re-request a review. Note You can configure setup steps for Copilot code review separately from Copilot cloud agent with a |
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The Go module directives unnecessarily drop documented and CI-tested Go 1.24 support.
Get a fresh assessment by requesting another Copilot review.
Review effort: Balanced
Findings: 2
Open (2)
What changed in this PR
Modernizes dependencies across the SDK monorepo, updates compatibility code, and prunes obsolete tooling.
Changes:
- Refreshes dependencies and lockfiles across all SDKs.
- Adapts code and generated types for upgraded libraries.
- Updates linting, build, and test configuration.
| File | Description |
|---|---|
test/harness/tsconfig.json |
Uses bundler module resolution. |
test/harness/subagentHooksReplay.test.ts |
Handles optional tool functions. |
test/harness/responsesApiAdapter.ts |
Adds cache-write usage data. |
test/harness/package.json |
Updates harness dependencies. |
scripts/docs-validation/package.json |
Updates and prunes dependencies. |
scripts/docs-validation/package-lock.json |
Refreshes documentation tooling lockfile. |
scripts/corrections/package.json |
Updates correction-script tooling. |
scripts/corrections/collect-corrections.js |
Preserves callable CommonJS exports. |
scripts/codegen/typescript.ts |
Updates generated JSON-RPC imports. |
scripts/codegen/package.json |
Updates code-generation dependencies. |
scripts/codegen/package-lock.json |
Refreshes code-generation lockfile. |
rust/tests/e2e/copilot_request_handler.rs |
Adapts WebSocket test messages. |
rust/src/lib.rs |
Migrates to the new getrandom API. |
rust/src/copilot_request_handler.rs |
Adapts WebSocket payload types. |
rust/clippy.toml |
Updates disallowed-macro configuration. |
rust/Cargo.toml |
Updates Rust dependencies and features. |
rust/build/in_process.rs |
Adapts SHA-256 formatting. |
python/pyproject.toml |
Updates Python build and development dependencies. |
python/copilot/session.py |
Narrows OAuth grant typing. |
python/copilot/copilot_request_handler.py |
Removes obsolete type suppressions. |
python/copilot/client.py |
Always supplies the configured log level. |
nodejs/tsconfig.test.json |
Sets the test source root. |
nodejs/tsconfig.json |
Updates module resolution and source root. |
nodejs/test/structured-output.test.ts |
Updates JSON-RPC import path. |
nodejs/test/session-send-and-wait.test.ts |
Updates JSON-RPC import path. |
nodejs/test/message-source.test.ts |
Updates JSON-RPC import path. |
nodejs/test/factory.test.ts |
Updates JSON-RPC import path. |
nodejs/test/e2e/extension_env_access.e2e.test.ts |
Updates JSON-RPC import path. |
nodejs/test/client.test.ts |
Updates dynamic JSON-RPC import. |
nodejs/src/session.ts |
Sanitizes elicitation content and updates imports. |
nodejs/src/generated/session-events.ts |
Regenerates session-event types. |
nodejs/src/generated/rpc.ts |
Regenerates RPC types. |
nodejs/src/client.ts |
Updates JSON-RPC import path. |
nodejs/samples/package.json |
Updates sample tooling dependencies. |
nodejs/package.json |
Updates SDK dependencies and tooling. |
java/sdk/pom.xml |
Updates testing, formatting, and Checkstyle dependencies. |
java/sdk/config/spotbugs/spotbugs-exclude.xml |
Removes obsolete SpotBugs exclusions. |
java/sdk/config/checkstyle/checkstyle.xml |
Migrates Javadoc validation. |
java/scripts/codegen/package-lock.json |
Refreshes Java codegen dependencies. |
java/pom.xml |
Removes SpotBugs and updates Spotless. |
go/samples/go.sum |
Refreshes sample dependency checksums. |
go/samples/go.mod |
Updates sample dependencies and Go requirement. |
go/go.sum |
Refreshes SDK dependency checksums. |
go/go.mod |
Updates SDK dependencies and Go requirement. |
dotnet/test/GitHub.Copilot.SDK.Test.csproj |
Adds the pinned SQLite native package. |
dotnet/Directory.Packages.props |
Updates centralized NuGet versions. |
Files not reviewed (5)
- java/scripts/codegen/package-lock.json: Generated file
- scripts/codegen/package-lock.json: Generated file
- scripts/corrections/package-lock.json: Generated file
- scripts/docs-validation/package-lock.json: Generated file
- test/harness/package-lock.json: Generated file
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Update and prune dependencies across all SDK ecosystems while preserving compatibility and removing the vulnerable js-yaml paths behind the open Dependabot alerts. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Restore Go 1.24-compatible dependency versions, refresh generated outputs, and align formatting with the updated toolchain. Keep Node codegen tests self-contained and run Java CodeQL under JDK 25. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Apply the repository's nightly rustfmt configuration to generated Rust output so code generation and clippy checks agree in CI. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Treat assistant text accompanying a read_agent call as non-semantic when it follows a successful subagent completion notification, while still requiring the exact tool call and result history. Add regression coverage for the macOS CI ordering. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
e7d13b5 to
ead7b5e
Compare
SDK Consistency Review — PR #2736Reviewed the authoritative PR delta ( No cross-SDK parity gaps found
Targeted bug fixes — reviewed for parity, no action needed
ConclusionNo cross-SDK API inconsistencies or missing feature parity issues were identified. The PR maintains consistency across the six SDK implementations.
|

Three open Dependabot alerts originate from a vulnerable
js-yamlpath in the Node samples lockfile, while dependencies across the monorepo have accumulated additional safe upgrades and unused entries. This change refreshes the repository dependency graph while preserving supported runtimes and minimizing unnecessary transitive duplication.What changed
vscode-jsonrpc, OpenAI, Python typing, Rust, and Checkstyle APIs.SQLitePCLRaw.lib.e_sqlite32.1.13 to use the upstream fix for the missing Win-ARM asset pulled byMicrosoft.Data.Sqlite10.0.12.Intentional holds
@typescript-eslintrelease does not support TypeScript 7.@platformatic/vfson 0.3.x to preserve Node 20 support.Validation
net8.0andnet472.Full cross-language E2E runs still contain environment-dependent failures from missing extension SDK configuration or replay fixtures; these are unrelated to the dependency updates.
Generated by Copilot