Skip to content

Add smoke workflow for Copilot SDK inline sub-agent model routing - #42671

Merged
pelikhan merged 3 commits into
mainfrom
copilot/smoke-copilot-sub-agents
Jul 1, 2026
Merged

Add smoke workflow for Copilot SDK inline sub-agent model routing#42671
pelikhan merged 3 commits into
mainfrom
copilot/smoke-copilot-sub-agents

Conversation

Copilot AI commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

This adds a focused smoke workflow to verify Copilot + copilot-sdk: true correctly registers and invokes multiple inline sub-agents with different model providers. The workflow keeps the prompt narrow: ask each sub-agent who am i? and fail the smoke test unless the returned model identity matches exactly.

  • New smoke workflow

    • Adds smoke-copilot-sub-agents as a manual smoke test workflow.
    • Uses a Copilot parent agent pinned to gpt-5.3-codex.
  • Inline sub-agent coverage

    • Defines three inline sub-agents with distinct model targets:
      • claude-haiku-4.5
      • gpt-5-mini
      • gpt-5-nano
    • Each sub-agent is constrained to return only its own model identity.
  • Tight validation path

    • The parent prompt calls each sub-agent exactly once with who am i?.
    • The workflow compares actual vs expected values and emits a compact PASS/FAIL issue for quick triage.
  • Compiled workflow output

    • Includes the generated lock file so the new smoke workflow is runnable immediately.
engine:
  id: copilot
  copilot-sdk: true
  model: gpt-5.3-codex

## agent: `haiku-whoami`
---
model: claude-haiku-4.5
---
When asked `who am i?`, reply with exactly:

`claude-haiku-4.5`

Copilot AI and others added 2 commits July 1, 2026 06:14
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan
pelikhan marked this pull request as ready for review July 1, 2026 06:28
Copilot AI review requested due to automatic review settings July 1, 2026 06:28
@pelikhan
pelikhan merged commit a8e1db6 into main Jul 1, 2026
27 checks passed
@pelikhan
pelikhan deleted the copilot/smoke-copilot-sub-agents branch July 1, 2026 06:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new manual smoke-test workflow to validate Copilot SDK inline sub-agent registration/routing by asking each sub-agent who am i? and reporting PASS/FAIL via a created issue.

Changes:

  • Added smoke-copilot-sub-agents source workflow (.md) defining three inline sub-agents targeting distinct models and a constrained PASS/FAIL reporting format.
  • Added the compiled runnable workflow output (.lock.yml) for the new smoke test.
  • Regenerated/updated several existing compiled workflow lock files and made a minor formatting change in an actions setup script.
Show a summary per file
File Description
actions/setup/js/add_reaction_and_edit_comment.cjs Minor formatting change in discussion-comment reply handling.
.github/workflows/smoke-copilot-sub-agents.md New smoke-test workflow spec defining inline sub-agents + expected identity outputs.
.github/workflows/smoke-copilot-sub-agents.lock.yml Compiled workflow for the new smoke test (runnable immediately).
.github/workflows/uk-ai-operational-resilience.lock.yml Regenerated lock metadata/body hash (unrelated to new smoke workflow).
.github/workflows/test-quality-sentinel.lock.yml Regenerated lock metadata/body hash (unrelated to new smoke workflow).
.github/workflows/pr-sous-chef.lock.yml Regenerated lock metadata/body hash (unrelated to new smoke workflow).
.github/workflows/impeccable-skills-reviewer.lock.yml Regenerated lock metadata (engine version bump recorded).
.github/workflows/daily-geo-optimizer.lock.yml Regenerated lock metadata/manifest (scope expansion relative to PR description).

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 8/8 changed files
  • Comments generated: 1
  • Review effort level: Low

Comment on lines +1 to +2
# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"73c82d5712efe473241f2a860e9de83fe44ea34aa1c1636b49fcba5f34887274","body_hash":"093848a589ecab6a094b64639c60583a063f1eb7afdb0459d37a587d3e61e9bc","strict":true,"agent_id":"copilot","engine_versions":{"copilot":"1.0.67","copilot-sdk":"1.0.4"}}
# gh-aw-manifest: {"version":1,"secrets":["GH_AW_AGENT_TOKEN","GH_AW_GITHUB_MCP_SERVER_TOKEN","GH_AW_GITHUB_TOKEN","GH_AW_OTEL_GRAFANA_AUTHORIZATION","GH_AW_OTEL_GRAFANA_ENDPOINT","GH_AW_OTEL_SENTRY_AUTHORIZATION","GH_AW_OTEL_SENTRY_ENDPOINT","GITHUB_TOKEN"],"actions":[{"repo":"actions/cache/restore","sha":"55cc8345863c7cc4c66a329aec7e433d2d1c52a9","version":"v6.1.0"},{"repo":"actions/cache/save","sha":"55cc8345863c7cc4c66a329aec7e433d2d1c52a9","version":"v6.1.0"},{"repo":"actions/checkout","sha":"9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0","version":"v7.0.0"},{"repo":"actions/download-artifact","sha":"3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c","version":"v8.0.1"},{"repo":"actions/github-script","sha":"3a2844b7e9c422d3c10d287c895573f7108da1b3","version":"v9.0.0"},{"repo":"actions/setup-python","sha":"ece7cb06caefa5fff74198d8649806c4678c61a1","version":"v6.3.0"},{"repo":"actions/upload-artifact","sha":"043fb46d1a93c77aae656e7c1c64a875d1fc6a0a","version":"v7.0.1"}],"containers":[{"image":"ghcr.io/github/gh-aw-firewall/agent:0.27.16"},{"image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.27.16"},{"image":"ghcr.io/github/gh-aw-firewall/cli-proxy:0.27.16"},{"image":"ghcr.io/github/gh-aw-firewall/squid:0.27.16"},{"image":"ghcr.io/github/gh-aw-mcpg:v0.3.32","digest":"sha256:63e46b56dfd70895a701b6fc6dd0189e11e2d875f327f1781e81b31848735477","pinned_image":"ghcr.io/github/gh-aw-mcpg:v0.3.32@sha256:63e46b56dfd70895a701b6fc6dd0189e11e2d875f327f1781e81b31848735477"},{"image":"ghcr.io/github/gh-aw-node","digest":"sha256:529d02eb970b1161aa25c593a9c3df57fdfad5a8add328cb3b6eccef66f3183b","pinned_image":"ghcr.io/github/gh-aw-node@sha256:529d02eb970b1161aa25c593a9c3df57fdfad5a8add328cb3b6eccef66f3183b"},{"image":"ghcr.io/github/github-mcp-server:v1.5.0","digest":"sha256:e25564dccc9110a70a77b9df560cbde11aa392fcb5f08b9abe5c4ebc6d146ea4","pinned_image":"ghcr.io/github/github-mcp-server:v1.5.0@sha256:e25564dccc9110a70a77b9df560cbde11aa392fcb5f08b9abe5c4ebc6d146ea4"}]}
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.82.2

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants