Suggested test: copilot/close-issue-duplicate-of
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
Research direction
Start by reading test-copilot-close-issue.md and use it as the model for test-copilot-close-issue-duplicate-of.md. Configure the workflow_dispatch trigger, copilot engine, close-issue safe output, and duplicate_of scenario with the existing githubnext/gh-aw-test fixture issues. Done means the test verifies the issue is closed with a duplicate state reason and can use a samples block for deterministic runs.
Written by the indexing model from the issue text.
Description
Motivation
Link to the gh-aw PR: github/gh-aw#43152 — feat(close-issue): add duplicate_of for native GitHub duplicate marking
The close-issue safe output gained a new optional duplicate_of field that calls the GitHub markAsDuplicate GraphQL mutation to create the native timeline relationship between two issues. There is no E2E test covering this new field.
Proposed test
- Workflow file:
test-copilot-close-issue-duplicate-of.md - Trigger:
workflow_dispatch - Engine: copilot
- Safe output:
close-issue(withduplicate_offield) - Variant: standard
Minimal test prompt sketch
The workflow is triggered via workflow_dispatch. The agent is given a fixed issue number (a permanent fixture issue in githubnext/gh-aw-test, e.g. issue #1) and instructed to close it as a duplicate of another fixed issue (e.g. issue #2), using state_reason: duplicate and duplicate_of: 2. The test asserts the issue was closed with a duplicate state reason.
New fixtures or secrets needed
None. The test can reuse the existing permanently-closed fixture issues in githubnext/gh-aw-test. A samples: block can be added to avoid real engine calls in deterministic mode.
Notes
- Existing
test-copilot-close-issue.mdonly exercises plain close (noduplicate_of). This test covers the new field introduced in github/gh-aw#43152. - The
markAsDuplicatemutation failure path is non-fatal per the PR — the test only needs to verify happy-path emission ofduplicate_ofin the safe output. - Should eventually be added for claude and codex variants as well, but copilot is sufficient for initial coverage.
[!WARNING]
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
awmgmcpgTo allow these domains, add them to the
network.allowedlist in your workflow frontmatter:network: allowed: - defaults - "awmgmcpg"See Network Configuration for more information.
Generated by 🔍 Suggest New E2E Tests · 66.9 AIC · ⌖ 6.82 AIC · ⊞ 5.6K · ◷
- Dominant language
- Shell
- Stars
- 8
- Forks
- 5
- Avg merge
- 18h 32m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from githubnext/gh-aw-test
-
suggested new test
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
githubnext/gh-aw-test#16875 ·
-
agentic-workflows suggested new test
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
githubnext/gh-aw-test#16262 ·
-
suggested new test
Difficulty 2/5 1-2 days Newbie friendliness 78/100
githubnext/gh-aw-test#15805 ·
-
suggested new test
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
githubnext/gh-aw-test#15094 ·
-
suggested new test
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
githubnext/gh-aw-test#15092 ·
All issues in githubnext/gh-aw-test
Similar issues
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 91/100
alunduil/alunduil-chezmoi#792 ·
-
area: compat bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
zenhub-dev
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
OpenLiberty/ci.docker#747 ·