githubnext / githubnext/gh-aw-test
Suggested test: copilot/issue-intent-opt-out
- Dominant language
- Shell
- Stars
- 8
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
## Motivation
Link to the gh-aw PR or issue: github/gh-aw#46014 — require issue-intent metadata for close/assignment tools by default, with per-tool opt-out
## Proposed test
- **Workflow file**: `test-copilot-issue-intent-opt-out.md`
- **Trigger**: `workflow_dispatch`
- **Engine**: copilot
- **Safe output**: `close-issue` (with issue-intent opt-out configured)
- **Variant**: standard
## Minimal test prompt sketch
Create a workflow that uses the `close-issue` safe output with `require-issue-intent: false` (or the per-tool opt-out equivalent) so the agent can close an issue without providing intent metadata. The harness asserts the issue is closed successfully, confirming the opt-out path compiles and executes correctly.
## New fixtures or secrets needed
None — uses an existing test issue in `githubnext/gh-aw-test`.
## Notes
Existing `test-copilot-issue-intents.md` exercises the *require* path. This new test covers the per-tool opt-out introduced in PR #46014 and ensures the default-on behaviour is not accidentally bypassed in the standard path.
> [!WARNING]
>
> Firewall blocked 1 domain
>
> The following domain was blocked by the firewall during workflow execution:
>
> - `awmgmcpg`
>> To allow these domains, add them to the `network.allowed` list in your workflow frontmatter:
>
> ```yaml
> network:
> allowed:
> - defaults
> - "awmgmcpg"
> ```
>
> See [Network Configuration](https://github.github.com/gh-aw/reference/network/) for more information.
>
>
> Generated by [🔍 Suggest New E2E Tests](https://github.com/githubnext/gh-aw-test/actions/runs/29569068059) · 26.7 AIC · ⌖ 5.61 AIC · ⊞ 5.6K · [◷](https://github.com/search?q=repo%3Agithubnext%2Fgh-aw-test+is%3Aissue+%22gh-aw-workflow-call-id%3A+githubnext%2Fgh-aw-test%2Fsuggest-new-e2e-tests%22&type=issues)
Contributor guide
No contributing guide indexed for this repository
Research direction
Create test-copilot-issue-intent-opt-out.md, using the existing test-copilot-issue-intents.md as the starting reference. Configure a workflow_dispatch Copilot test with the close-issue safe output and require-issue-intent: false, then use the existing harness and test issue. Done means the workflow compiles and successfully closes the issue without intent metadata.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions
- Domain
- ci-cd, testing
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 76/100