githubnext / githubnext/gh-aw-test

Suggested test: copilot/create-issue-deduplicate-by-title

Closed
#9,239 0 comments 0 reactions 0 assignees View on GitHub
suggested new test
Dominant language
Shell
Stars
8
Forks
5
PR merge metrics
No merged PRs in 30d

Description

## Motivation

Link to the gh-aw PR: github/gh-aw#48092 — Fix `deduplicate-by-title` rate-limit guard that always short-circuited, making dedup silently inert on every invocation.

## Proposed test

- **Workflow file**: `test-copilot-create-issue-deduplicate-by-title.md`
- **Trigger**: `workflow_dispatch`
- **Engine**: copilot
- **Safe output**: `create-issue`
- **Variant**: standard

## Minimal test prompt sketch

The agent should attempt to create an issue with a title that already exists (seeded in the repo or created in the same run). With `deduplicate-by-title: true` configured on the safe-output, the second creation should be suppressed. The test verifies that exactly one issue is filed, not two.

## New fixtures or secrets needed

None — the existing `githubnext/gh-aw-test` repo suffices. A pre-existing issue with the sentinel title can be created and closed as a fixture, or the workflow can attempt two creates with `min: 1, max: 1` to confirm dedup.

## Notes

Before PR #48092, `deduplicate-by-title` was always skipped because the search-bucket rate-limit guard compared against threshold 500 (ceiling is 30). No existing test exercises this path. This would serve as a regression guard for the fix.

> Generated by [🔍 Suggest New E2E Tests](https://github.com/githubnext/gh-aw-test/actions/runs/30196033978) · sonnet46 · 30 AIC · ⌖ 8.78 AIC · ⊞ 6.1K · [◷](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-create-issue-deduplicate-by-title.md in the existing githubnext/gh-aw-test repository, using workflow_dispatch, the copilot engine, and create-issue safe output. Start by reviewing comparable Copilot create-issue tests and configure deduplicate-by-title: true. Seed or create a duplicate-title issue and verify that exactly one issue is filed.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.