Skip to content

fix(test): update sub-agent smoke fixture for renamed mini54-whoami - #70355

Merged
SivaKesava1 merged 1 commit into
mainfrom
sivakesava1/sub-agent-smoke-fixture
Oct 19, 2026
Merged

SivaKesava1 merged 1 commit into
mainfrom
sivakesava1/sub-agent-smoke-fixture

Conversation

@SivaKesava1

Copy link
Copy Markdown
Collaborator

Fixes a test break on main caused by our #70328, which renamed the nano-whoami sub-agent in smoke-copilot-sub-agents.md to mini54-whoami (gpt-5.4-mini) without updating smoke_copilot_sub_agents.test.cjs. Two tests in that file have failed since (for example in the JS shards of #70294 and #70325): mini54-whoami must actually run exactly once.

One-line change: the test's evidence fixture now builds mini54-whoami on copilot-responses/gpt-5.4-mini. npx vitest run smoke_copilot_sub_agents.test.cjs: 8/8 pass.

#70295 carries the identical change (commit 9f39165), so it merges cleanly after this.

#70328 renamed the nano-whoami sub-agent in smoke-copilot-sub-agents.md to
mini54-whoami (gpt-5.4-mini), but smoke_copilot_sub_agents.test.cjs still
built evidence for nano-whoami, so two tests fail on main and in every PR's
JS shards.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI max review requested due to automatic review settings October 19, 2026 19:52

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.

🟢 Approval recommended

The isolated, test-only correction matches the workflow’s agent, model, and endpoint expectations.

No open issues 🎉

What changed in this PR

Updates the Copilot sub-agent smoke-test fixture to match the workflow rename from #70328.

Changes:

  • Replaces nano-whoami on gpt-5-nano with mini54-whoami on gpt-5.4-mini, preserving the /responses endpoint.
File Description
actions/​setup/​js/​smoke_copilot_sub_agents.test.cjs Aligns test evidence with the renamed sub-agent and model.

Review effort: Max

@SivaKesava1

Copy link
Copy Markdown
Collaborator Author

Verification at ba06a1582c: Copilot code review recommends approval. All four JS shards, typecheck and lint pass; before this change, shards 1–2 failed on smoke_copilot_sub_agents.test.cjs (for example in #70294 and #70325). Locally, npx vitest run smoke_copilot_sub_agents.test.cjs passes 8/8. Ready to merge.

@SivaKesava1
SivaKesava1 merged commit cb1b54b into main Oct 19, 2026
294 checks passed
@SivaKesava1
SivaKesava1 deleted the sivakesava1/sub-agent-smoke-fixture branch October 19, 2026 20:09
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.92.6

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants