Skip to content

Comments

[WIP] Fix failing GitHub Actions workflow js-integration-live-api#16419

Closed
Copilot wants to merge 12 commits intomainfrom
copilot/fix-js-integration-workflow-another-one
Closed

[WIP] Fix failing GitHub Actions workflow js-integration-live-api#16419
Copilot wants to merge 12 commits intomainfrom
copilot/fix-js-integration-workflow-another-one

Conversation

Copy link
Contributor

Copilot AI commented Feb 17, 2026

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.

Original prompt

Fix the failing GitHub Actions workflow js-integration-live-api
Analyze the workflow logs, identify the root cause of the failure, and implement a fix.
Job ID: 63903884861
Job URL: https://github.com/github/gh-aw/actions/runs/22110142779/job/63903884861


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 12 commits February 17, 2026 15:59
…-to-agent

- Add DefaultModel, DefaultCustomAgent, DefaultCustomInstructions to AssignToAgentConfig
- Update compiler to pass new config values as environment variables
- Update JSON schema to include new parameters in assign_to_agent tool
- Update JavaScript implementation to read defaults and pass to GraphQL mutation
- Build agentAssignment object dynamically with only provided fields
- Update staged mode preview to show new parameters

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
- Update main_workflow_schema.json to add new properties to assign-to-agent config
- Fix TypeScript error in assign_agent_helpers.cjs by using spread operator
- Add test workflow demonstrating model parameter usage
- Verify compiled workflow includes GH_AW_AGENT_DEFAULT_MODEL env var

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…ions parameters

- Update safe-outputs.md with detailed model selection documentation
- Add examples for using model parameter in assign_to_agent calls
- Update frontmatter-full.md with all new configuration options
- Document available AI models (auto, claude-sonnet-4.5, claude-opus-4.5, claude-opus-4.6, gpt-5.1-codex-max, gpt-5.2-codex)
- Explain custom-agent and custom-instructions parameters

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
- Update .github/agents/agentic-workflows.agent.md to use blob/main instead of blob/v0.45.4-19-gd2bbd6247
- Recompile all workflows after merge from main
- Fixes validate-yaml CI check failure

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Per feedback, model, custom_agent, and custom_instructions are only configurable
via frontmatter defaults, not as per-item parameters in assign_to_agent tool calls.

Changes:
- Remove model, custom_agent, custom_instructions from safe_outputs_tools.json schema
- Update assign_to_agent.cjs to only use defaults (no per-item overrides)
- Update staged preview to show frontmatter defaults
- Update documentation to clarify workflow-level configuration only
- Update test workflow to remove per-item override examples

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…s parameters

Added test cases for assignAgentToIssue to verify:
- GraphQL mutation includes model when provided
- GraphQL mutation includes customAgent when provided
- GraphQL mutation includes customInstructions when provided
- Multiple agentAssignment parameters work together
- agentAssignment omitted when no parameters provided
- Only provided fields are included in variables object

All 32 tests pass successfully.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Base automatically changed from copilot/add-model-parameter-to-assign-to-agent to main February 17, 2026 18:24
@pelikhan pelikhan closed this Feb 17, 2026
Copilot AI requested a review from pelikhan February 17, 2026 18:25
Copilot stopped work on behalf of pelikhan due to an error February 17, 2026 18:25
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.

2 participants