Bump @github/copilot from 1.0.24 to 1.0.36 in /scripts/codegen#99
Closed
dependabot[bot] wants to merge 1 commit intomainfrom
Closed
Bump @github/copilot from 1.0.24 to 1.0.36 in /scripts/codegen#99dependabot[bot] wants to merge 1 commit intomainfrom
dependabot[bot] wants to merge 1 commit intomainfrom
Conversation
Collaborator
|
@dependabot rebase |
Bumps [@github/copilot](https://github.com/github/copilot-cli) from 1.0.24 to 1.0.36. - [Release notes](https://github.com/github/copilot-cli/releases) - [Changelog](https://github.com/github/copilot-cli/blob/main/changelog.md) - [Commits](github/copilot-cli@v1.0.24...v1.0.36) --- updated-dependencies: - dependency-name: "@github/copilot" dependency-version: 1.0.35 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
83d015b to
732224e
Compare
Collaborator
|
Copilot wrote:
I'll do that. |
Contributor
Author
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
edburns
added a commit
to edburns/copilot-sdk-java
that referenced
this pull request
Apr 24, 2026
…ma changes --- ## Summary Updates the Java code generator and handwritten SDK/test code to handle the `@github/copilot` 1.0.35 schema format, which changed from inline nested type definitions to `$ref` references pointing to `#/definitions/` entries. Without this fix, regenerated types were missing fields and the build failed. 75 files changed, 616 insertions(+), 1836 deletions(-) ## Changes ### Code generator (`scripts/codegen/java.ts`) - Added `resolveRef()` helper to dereference `$ref` pointers in JSON schemas. - Added `pendingStandaloneTypes` map to collect types referenced via `$ref` and generate them as top-level Java files instead of nested records. - Added `generatePendingStandaloneTypes()`, `generateStandaloneEnum()`, and `generateStandaloneRecord()` to emit the new standalone types. - Updated all property/field generation paths to resolve `$ref` before inspecting type, enum, or nested-object shapes. ### Regenerated files (`src/generated/java/`) - ~65 generated source files updated — nested inner records/enums replaced by standalone types (e.g. `McpServer`, `Plugin`, `Skill`, `Tool`, `Model`, `AccountQuotaSnapshot`, `DiscoveredMcpServer`, `UIElicitationSchema`, `UIElicitationResponseAction`, `ModelCapabilitiesOverride`, etc.). - Several numeric fields changed from `double` to `Long` (`PingResult`, `SessionShellExecParams`, model capability limits). - New RPC API class `ServerMcpConfigApi` and `SessionPermissionsApi` added. ### Handwritten source (`CopilotSession.java`) - Updated all type references from old nested types to new standalone types (e.g. `SessionMcpListResultServersItem` → `McpServer`). ### Test files (5 files) - **`GeneratedRpcRecordsCoverageTest.java`** — Replaced all nested type references with standalone types; fixed `double` → `Long` constructors. - **`GeneratedEventTypesCoverageTest.java`** — Updated event type name set. - **`GeneratedRpcApiCoverageTest.java`** — Updated `workspace` → `workspaces`, added `SessionLogLevel`, new API classes. - **`RpcWrappersTest.java`** — `session.workspace` → `session.workspaces`. - **`SessionEventDeserializationTest.java`** — Updated JSON keys for `compactionTokensUsed` (`input` → `inputTokens`, `output` → `outputTokens`, `cachedInput` → `cacheReadTokens`). ### Dependency bump - `@github/copilot` 1.0.24 → 1.0.35 in `scripts/codegen/package.json`. - **`.github/workflows/update-copilot-dependency.yml`** — After codegen and PR creation, `mvn verify` is run. On failure, the agentic fix workflow is triggered. Includes a polling loop that waits for the fix to complete and runs a final verification. ## Design The pipeline follows a two-workflow pattern: 1. **Trigger workflows** (`codegen-check.yml`, `update-copilot-dependency.yml`) detect failures and dispatch the agentic fix. 2. **Fix workflow** (`codegen-agentic-fix.lock.yml`) runs under gh-aw guardrails with scoped permissions, network firewall, and MCP gateway. It checks out the branch, reproduces the failure, applies fixes to handwritten code only, and pushes via `push-to-pull-request-branch` safe-output. Key constraints enforced on the agent: - Never modify `src/generated/java/`, `pom.xml`, `scripts/codegen/`, or `.github/` - Maximum 3 fix attempts before escalating via PR comment - Must run `mvn spotless:apply` before committing - Only pushes if `mvn verify` passes ## Testing - All workflow files pass `actionlint` with zero errors - The `codegen-agentic-fix.lock.yml` was successfully compiled by `gh aw compile v0.68.3` - End-to-end testing will occur when this PR and github#94 are both merged — Dependabot PR github#99 (bump `@github/copilot` 1.0.24 → 1.0.35) already exists and its Codegen Check is failing as expected
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.
Bumps @github/copilot from 1.0.24 to 1.0.36.
Release notes
Sourced from
@github/copilot's releases.... (truncated)
Changelog
Sourced from
@github/copilot's changelog.... (truncated)
Commits
d7a0581Update changelog.md for version 1.0.356594437Update changelog.md for version 1.0.3475fbe0cUpdate changelog.md for version 1.0.334e51f5aUpdate changelog.md for version 1.0.323b72deaUpdate changelog.md for version 1.0.312f883edUpdate changelog.md for version 1.0.30709b59eUpdate changelog.md for version 1.0.298973042Update changelog.md for version 1.0.28ae7b374Update changelog.md for version 1.0.27559a22aUpdate changelog.md for version 1.0.26