Skip to content

Update @github/copilot to 1.0.57#1570

Draft
github-actions[bot] wants to merge 10 commits into
mainfrom
update-copilot-1.0.57
Draft

Update @github/copilot to 1.0.57#1570
github-actions[bot] wants to merge 10 commits into
mainfrom
update-copilot-1.0.57

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Jun 4, 2026

Automated update of @github/copilot to version 1.0.57.

Changes

  • Updated @github/copilot in nodejs/package.json and test/harness/package.json
  • Re-ran all code generators (scripts/codegen)
  • Formatted generated output
  • Updated Java codegen dependency, .lastmerge, POM property, and regenerated Java types

Java Handwritten Code Adaptation Plan

If java-sdk-tests CI fails on this PR, follow these steps:

  1. Identify failures: Run mvn verify from java/ locally or check the java-sdk-tests workflow run logs.
  2. Categorize errors:
    • Constructor signature changes (new fields added to generated records)
    • Enum value additions/renames in generated types
    • New event types requiring handler registration
    • Removed or renamed generated types
  3. Fix handwritten source (java/src/main/java/com/github/copilot/sdk/):
    • Update call sites passing positional constructor args to include new fields (typically null for optional new fields).
    • Update switch/if-else over enum values to handle new cases.
    • Register handlers for new event types in CopilotSession.java if applicable.
  4. Fix handwritten tests (java/src/test/java/com/github/copilot/sdk/):
    • Same constructor/enum fixes as above.
    • Add new test methods for new functionality if the change adds user-facing API surface.
  5. Validate: cd java && mvn clean test-compile jar:jar && mvn verify -Dskip.test.harness=true
  6. Format: cd java && mvn spotless:apply
  7. Push fixes to this PR branch.

To automate this, trigger the java-adapt-handwritten-code-to-accept-upgrade-changes agentic workflow instead.

Next steps

When ready, click Ready for review to trigger CI checks.

Created by the Update @github/copilot Dependency workflow.

edburns and others added 10 commits June 3, 2026 15:41
… workflow

Phase One Lane: Add Java codegen, .lastmerge, POM property update, and
compile validation steps to the existing dependency bump workflow.

Phase Two Lanes:
- Lane 01: Include Java Handwritten Code Adaptation Plan in the PR body.
- Lane 02: Create java-adapt-handwritten-code-to-accept-upgrade-changes.md
  agentic workflow for automated handwritten code fixes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Updated nodejs and test harness dependencies
- Re-ran code generators
- Formatted generated code
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