Motivation
github/gh-aw#58545 — aw.yml manifests now support a single trailing /* wildcard in includes: (e.g. workflows/*, agents/*, skills/*), expanding to all direct children of a directory with deterministic ordering and dedup, while rejecting wildcards in other positions.
Proposed test
- Workflow file:
test-copilot-aw-manifest-wildcard-include.md (plus a small fixture directory of importable snippets)
- Trigger:
workflow_dispatch
- Engine: copilot
- Safe output:
create-issue
- Variant: standard
Minimal test prompt sketch
Add an aw.yml package manifest (or local imports:) that uses a trailing wildcard (e.g. shared/mcp/*) to pull in multiple existing shared snippets, compile it, and have the agent confirm in the created issue which imported values/tools were available — verifying the wildcard expansion actually happened at compile time.
New fixtures or secrets needed
Likely need a new small directory of 2-3 trivial importable .md/config snippets under .github/workflows/shared/ (repo already has shared/mcp/) to exercise the wildcard expansion; no new secrets.
Notes
No existing test in existing-tests.json exercises aw.yml/includes: wildcard behavior — this is purely a compile-time feature, so the "test" is really about gh aw compile producing the expected lockfile; the workflow_dispatch run itself is a secondary check that the compiled output still executes normally. Consider whether this is better verified as a compile-time unit test upstream in gh-aw rather than here — flagging for triage.
Generated by 🔍 Suggest New E2E Tests · copilot · auto · 35.2 AIC · ⌖ 8.46 AIC · ⊞ 8.8K · ◷
Motivation
github/gh-aw#58545 —
aw.ymlmanifests now support a single trailing/*wildcard inincludes:(e.g.workflows/*,agents/*,skills/*), expanding to all direct children of a directory with deterministic ordering and dedup, while rejecting wildcards in other positions.Proposed test
test-copilot-aw-manifest-wildcard-include.md(plus a small fixture directory of importable snippets)workflow_dispatchcreate-issueMinimal test prompt sketch
Add an
aw.ymlpackage manifest (or localimports:) that uses a trailing wildcard (e.g.shared/mcp/*) to pull in multiple existing shared snippets, compile it, and have the agent confirm in the created issue which imported values/tools were available — verifying the wildcard expansion actually happened at compile time.New fixtures or secrets needed
Likely need a new small directory of 2-3 trivial importable
.md/config snippets under.github/workflows/shared/(repo already hasshared/mcp/) to exercise the wildcard expansion; no new secrets.Notes
No existing test in
existing-tests.jsonexercisesaw.yml/includes:wildcard behavior — this is purely a compile-time feature, so the "test" is really aboutgh aw compileproducing the expected lockfile; the workflow_dispatch run itself is a secondary check that the compiled output still executes normally. Consider whether this is better verified as a compile-time unit test upstream in gh-aw rather than here — flagging for triage.