Skip to content

Suggested test: copilot/aw-manifest-wildcard-include #14189

Description

@github-actions

Motivation

github/gh-aw#58545aw.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 ·

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions