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 · sonnet46 · 30 AIC · ⌖ 8.78 AIC · ⊞ 6.1K · ◷
Motivation
Link to the gh-aw PR: github/gh-aw#48092 — Fix
deduplicate-by-titlerate-limit guard that always short-circuited, making dedup silently inert on every invocation.Proposed test
test-copilot-create-issue-deduplicate-by-title.mdworkflow_dispatchcreate-issueMinimal 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: trueconfigured 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-testrepo suffices. A pre-existing issue with the sentinel title can be created and closed as a fixture, or the workflow can attempt two creates withmin: 1, max: 1to confirm dedup.Notes
Before PR #48092,
deduplicate-by-titlewas 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.