Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 21, 2026

The parent issue template for tracking agentic workflow failures had an incorrect title and contained a duplicate header in the body.

Changes

  • Title: "[agentics] Agentic Workflow Issues""[agentic-workflows] Failed runs"
  • Body: Removed # Agentic Workflow Failures markdown header to prevent duplicate titles in rendered issue

Implementation

Modified actions/setup/js/handle_agent_failure.cjs:

// Before
const parentTitle = "[agentics] Agentic Workflow Issues";
let parentBodyContent = `# Agentic Workflow Failures

This issue tracks all failures...`;

// After
const parentTitle = "[agentic-workflows] Failed runs";
let parentBodyContent = `This issue tracks all failures...`;

The parent issue is created via ensureParentIssue() called from the conclusion job's failure handler.

Original prompt

Update the template used to create the parent issue for all agentic-workflow issues so that it creates a conclusion job.

Set the issue title to "agentic-workflows failures"( keep prefix
X) and ensure the issue body does not include a title section.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

- Changed parent issue title from "[agentics] Agentic Workflow Issues" to "[agentics] agentic-workflows failures"
- Removed "# Agentic Workflow Failures" title from issue body content
- Updated tests to match the new title
- All handle_agent_failure tests passing

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Update parent issue template for agentic-workflow Update parent issue template for agentic-workflow failures Jan 21, 2026
Copilot AI requested a review from pelikhan January 21, 2026 16:33
@pelikhan pelikhan marked this pull request as ready for review January 21, 2026 17:40
@pelikhan
Copy link
Contributor

@copilot update title to

[agentic-workflows] Failed runs

- Changed prefix from "[agentics]" to "[agentic-workflows]"
- Changed suffix from "agentic-workflows failures" to "Failed runs"
- Updated all tests to match the new title
- All 20 handle_agent_failure tests passing

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 21, 2026

@copilot update title to

[agentic-workflows] Failed runs

Updated the title to [agentic-workflows] Failed runs in commit 24e0d7b.

@pelikhan pelikhan merged commit 23faa9c into main Jan 21, 2026
1 check passed
@pelikhan pelikhan deleted the copilot/update-agentic-workflow-template branch January 21, 2026 19:31
Copilot AI added a commit that referenced this pull request Jan 21, 2026
The close_older_issues.cjs implementation was updated to use more
detailed and formatted log messages. This commit updates the test
assertions to match the new message formats:

- Warning message now includes ⚠️ emoji prefix
- Info message now includes ✓ emoji and "operation complete" suffix

Fixes #11053 fallout - resolves 2 JavaScript test failures in
close_older_issues.test.cjs that were blocking CI.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
pelikhan added a commit that referenced this pull request Jan 21, 2026
* Initial plan

* fix: Update close_older_issues test assertions for enhanced logging

The close_older_issues.cjs implementation was updated to use more
detailed and formatted log messages. This commit updates the test
assertions to match the new message formats:

- Warning message now includes ⚠️ emoji prefix
- Info message now includes ✓ emoji and "operation complete" suffix

Fixes #11053 fallout - resolves 2 JavaScript test failures in
close_older_issues.test.cjs that were blocking CI.

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com>
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