Skip to content

Commit d8070e2

Browse files
committed
Fix assignee mechanism.
**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.
1 parent 3badfa8 commit d8070e2

3 files changed

Lines changed: 16 additions & 18 deletions

File tree

.github/workflows/reference-impl-sync.lock.yml

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/reference-impl-sync.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ tools:
2424
safe-outputs:
2525
create-issue:
2626
title-prefix: "[reference-impl-sync] "
27-
assignees: [copilot-swe-agent]
2827
labels: [reference-impl-sync]
2928
expires: 6
3029
close-issue:

.github/workflows/reference-impl-sync.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,12 @@ jobs:
129129
130130
Follow the [agentic-merge-reference-impl](.github/prompts/agentic-merge-reference-impl.prompt.md) prompt to port these changes to the Java SDK."
131131
132-
# Create the issue and assign to Copilot coding agent
132+
# Create the issue (Copilot coding agent picks it up via the label)
133133
ISSUE_URL=$(gh issue create \
134134
--repo "$REPO" \
135135
--title "Reference implementation sync: ${COMMIT_COUNT} new commits (${DATE})" \
136136
--body "$BODY" \
137-
--label "reference-impl-sync" \
138-
--assignee "copilot-swe-agent")
137+
--label "reference-impl-sync")
139138
140139
echo "issue_url=$ISSUE_URL" >> "$GITHUB_OUTPUT"
141140
echo "✅ Issue created and assigned to Copilot coding agent: $ISSUE_URL"

0 commit comments

Comments
 (0)