Conversation
**Root cause:** The `create_issue` API call failed because `copilot-swe-agent` is not a valid assignee in `github/copilot-sdk-java`. The REST API rejects issue creation entirely when an invalid assignee is specified — so the issue was never created, which also blocked the downstream `assign_to_agent` step. **Fixes made (3 files):** 1. reference-impl-sync.md — Removed `assignees: [copilot-swe-agent]` from the `create-issue` safe-output config. The `assign_to_agent` safe-output (already configured) is the correct mechanism for assigning Copilot to work on the issue in agentic workflows. 2. reference-impl-sync.lock.yml — Regenerated via `gh aw compile reference-impl-sync`. 3. reference-impl-sync.yml — Removed `--assignee "copilot-swe-agent"` from the `gh issue create` command in the non-agentic fallback workflow. The issue creation will now succeed without an assignee, and the agentic workflow's `assign_to_agent` tool will handle assigning Copilot to work on it afterward.
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes the reference-impl-sync automation by removing an invalid assignee (copilot-swe-agent) that caused gh issue create / create_issue to fail entirely, allowing the workflow to reliably open issues again and rely on the agentic assign_to_agent mechanism for assignment.
Changes:
- Remove
copilot-swe-agentfrom agentic safe-outputscreate-issueconfiguration. - Regenerate the agentic workflow lock file (
reference-impl-sync.lock.yml) to reflect updated safe-outputs config. - Remove
--assignee "copilot-swe-agent"from the non-agentic fallbackgh issue createcommand.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/reference-impl-sync.yml | Stops passing an invalid --assignee when creating the issue in the fallback workflow. |
| .github/workflows/reference-impl-sync.md | Removes invalid assignees from create-issue safe-outputs config; assignment is handled by assign_to_agent. |
| .github/workflows/reference-impl-sync.lock.yml | Recompiled lock output reflecting the safe-outputs change (removes assignees from create_issue constraints/config). |
Copilot's findings
Comments suppressed due to low confidence (1)
.github/workflows/reference-impl-sync.yml:140
- This log line still says the issue was “assigned to Copilot coding agent”, but the
--assigneeflag was removed. Update the message (and any other summary text that mentions assignment) so the workflow output matches the new behavior.
echo "issue_url=$ISSUE_URL" >> "$GITHUB_OUTPUT"
echo "✅ Issue created and assigned to Copilot coding agent: $ISSUE_URL"
- Files reviewed: 3/3 changed files
- Comments generated: 1
…-impl-sync.yml Agent-Logs-Url: https://github.com/github/copilot-sdk-java/sessions/70dec3f3-11c0-4254-9792-75f7b1fcf7a2 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.
Root cause: The
create_issueAPI call failed becausecopilot-swe-agentis not a valid assignee ingithub/copilot-sdk-java. The REST API rejects issue creation entirely when an invalid assignee is specified — so the issue was never created, which also blocked the downstreamassign_to_agentstep.Fixes made (3 files):
reference-impl-sync.md — Removed
assignees: [copilot-swe-agent]from thecreate-issuesafe-output config. Theassign_to_agentsafe-output (already configured) is the correct mechanism for assigning Copilot to work on the issue in agentic workflows.reference-impl-sync.lock.yml — Regenerated via
gh aw compile reference-impl-sync.reference-impl-sync.yml — Removed
--assignee "copilot-swe-agent"from thegh issue createcommand in the non-agentic fallback workflow.The issue creation will now succeed without an assignee, and the agentic workflow's
assign_to_agenttool will handle assigning Copilot to work on it afterward.Resolves #ISSUE_NUMBER
Before the change?
After the change?
Pull request checklist
mvn spotless:applyhas been run to format the codemvn clean verifypasses locallyDoes this introduce a breaking change?