Unify @github/copilot version tracking and rename sync workflow#139
Merged
Unify @github/copilot version tracking and rename sync workflow#139
Conversation
Option C: Make reference-impl sync the single entry point for all
@github/copilot version changes. During sync, both pom.xml and
scripts/codegen/package.json are updated from the reference
implementation's nodejs/package.json.
Changes:
- Add sync-codegen-version.sh to update scripts/codegen/package.json
- Update merge-reference-impl-finish.sh to call the new script
- Remove Dependabot npm entry for /scripts/codegen (no longer needed)
- Rename weekly-reference-impl-sync.{yml,md,lock.yml} to
reference-impl-sync.{yml,md,lock.yml}
- Change schedule from weekly (Monday) to daily
- Remove all 'weekly'/'Weekly' timing references from file contents
- Rename POM property to remove 'weekly' from its name
- Recompile agentic workflow via gh aw compile
Option C: Make reference-impl sync the single entry point for all
@github/copilot version changes. During sync, both pom.xml and
scripts/codegen/package.json are updated from the reference
implementation's nodejs/package.json.
Changes:
- Add sync-codegen-version.sh to update scripts/codegen/package.json
- Update merge-reference-impl-finish.sh to call the new script
- Remove Dependabot npm entry for /scripts/codegen (no longer needed)
- Rename weekly-reference-impl-sync.{yml,md,lock.yml} to
reference-impl-sync.{yml,md,lock.yml}
- Change schedule from weekly (Monday) to daily
- Remove all 'weekly'/'Weekly' timing references from file contents
- Rename POM property to remove 'weekly' from its name
- Recompile agentic workflow via gh aw compile
edburns
commented
Apr 30, 2026
Collaborator
Author
edburns
left a comment
There was a problem hiding this comment.
Copilot authored.
AgentInfo record gained a 'path' field in the generated code. Update GeneratedRpcRecordsCoverageTest to pass the 4th parameter in all constructor calls.
6 tasks
Contributor
There was a problem hiding this comment.
Pull request overview
This PR aims to make the reference-implementation sync the single mechanism for keeping the @github/copilot version aligned across the Java SDK’s test CLI (via pom.xml) and schema/codegen tooling (via scripts/codegen/package.json), while also renaming and de-“weekly”-ifying the reference sync workflow and related docs.
Changes:
- Add a new sync script to update
scripts/codegen’s@github/copilotdependency from the reference implementation, and invoke it from the merge finish script. - Rename the reference-impl sync workflows/files and update schedule/text references across docs and scripts.
- Remove Dependabot’s npm updater for
/scripts/codegen.
Show a summary per file
| File | Description |
|---|---|
src/test/java/com/github/copilot/sdk/generated/rpc/GeneratedRpcRecordsCoverageTest.java |
Updates tests for the new AgentInfo shape (adds path). |
pom.xml |
Renames the readonly @github/copilot tracking property to remove “weekly” from the name. |
docs/WORKFLOWS.md |
Updates workflow names/links for the renamed reference sync workflows. |
README.md |
Updates the description/linking for the renamed sync workflow and mentions lockstep versioning. |
.github/workflows/reference-impl-sync.yml |
Renames the workflow and changes its cron schedule. |
.github/workflows/reference-impl-sync.md |
Renames the agentic workflow source prompt and updates schedule metadata. |
.github/workflows/reference-impl-sync.lock.yml |
Recompiled compiled agentic workflow with updated naming/schedule. |
.github/scripts/reference-impl-sync/sync-codegen-version.sh |
New script to sync scripts/codegen @github/copilot version from reference impl. |
.github/scripts/reference-impl-sync/sync-cli-version-from-reference-impl.sh |
Updates property name references to match the renamed pom property. |
.github/scripts/reference-impl-sync/merge-reference-impl-finish.sh |
Calls the new codegen sync script and stages codegen package/lock updates. |
.github/prompts/coding-agent-merge-reference-impl-instructions.md |
Updates workflow filename references after rename. |
.github/dependabot.yml |
Removes npm updates for /scripts/codegen. |
.github/actions/setup-copilot/action.yml |
Updates the pom property name used to read the pinned @github/copilot version. |
Copilot's findings
Comments suppressed due to low confidence (1)
.github/workflows/reference-impl-sync.yml:6
- The workflow schedule here is Tuesday/Thursday (cron
0 10 * * 2,4), but the PR description and the agentic workflow metadata indicate the sync was changed to daily. Please align the schedule across the non-agentic workflow, the agentic workflow, and docs/PR description (either make this cron daily, or update the other references to match Tue/Thu).
- Files reviewed: 12/13 changed files
- Comments generated: 3
…S.md links and add codegen-only note Agent-Logs-Url: https://github.com/github/copilot-sdk-java/sessions/d68264a5-52bb-497f-bca0-5ef13a7efdec Co-authored-by: edburns <75821+edburns@users.noreply.github.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.
Problem:
Two independent paths updated the @github/copilot dependency:
These could drift apart, causing schema/CLI version mismatches.
Solution (Option C):
Make the reference-impl sync the single entry point for all @github/copilot
version changes. During sync, both pom.xml AND scripts/codegen/package.json
are updated from the reference implementation's nodejs/package.json.
Changes:
New script: sync-codegen-version.sh
Updated merge-reference-impl-finish.sh
Removed Dependabot npm entry for /scripts/codegen
Renamed workflow files (removed timing from names):
Changed schedule from weekly (Monday) to daily
Removed all "weekly"/"Weekly" timing references from:
Recompiled agentic workflow lock file via gh aw compile