Skip to content

Add workflow run links to agent failure issue footers#11345

Merged
pelikhan merged 2 commits intomainfrom
copilot/add-link-to-workflow-footer
Jan 22, 2026
Merged

Add workflow run links to agent failure issue footers#11345
pelikhan merged 2 commits intomainfrom
copilot/add-link-to-workflow-footer

Conversation

Copy link
Contributor

Copilot AI commented Jan 22, 2026

Agent failure tracking issues displayed workflow names as plain text in footers, requiring manual navigation to find the originating run.

Changes

  • messages_footer.cjs: Updated getFooterAgentFailureIssueMessage() and getFooterAgentFailureCommentMessage() to render workflow names as markdown links to their run URLs
  • handle_agent_failure.test.cjs: Updated test assertions to verify link format

Before/After

Before:

> Generated from Issue Monster

After:

> Generated from [Issue Monster](https://github.com/owner/repo/actions/runs/21240454588)

The runUrl parameter was already being passed to both functions but not utilized in the default template strings.

Original prompt

The footer inserted in issues created when a workflow run fails should include a link to the workflow run. In the attached comment, the footer is plain text generated by the system, but it is missing this link.

#11229 (comment)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Add link to workflow run in issue footer Add workflow run links to agent failure issue footers Jan 22, 2026
Copilot AI requested a review from pelikhan January 22, 2026 16:19
@pelikhan pelikhan marked this pull request as ready for review January 22, 2026 16:20
@pelikhan pelikhan merged commit 0cf2c22 into main Jan 22, 2026
@pelikhan pelikhan deleted the copilot/add-link-to-workflow-footer branch January 22, 2026 16:20
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