Update activation footer: add workflow URL, source link, and run ID#4440
Closed
Copilot wants to merge 5 commits into
Closed
Update activation footer: add workflow URL, source link, and run ID#4440Copilot wants to merge 5 commits into
Copilot wants to merge 5 commits into
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update footer in Agentic started message
Add workflow source link and run ID to activation comment footer
Nov 20, 2025
Collaborator
|
@copilot the first link should be the agentic workflow link inferred from the running workflow action url. Also "Agentic ..." to "Agentic Workflow ..." |
…w" text Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
Updated in commit 7735f9c:
New format: Where:
|
Copilot
AI
changed the title
Add workflow source link and run ID to activation comment footer
Update activation footer: workflow name links to source, add "Workflow" text
Nov 21, 2025
Collaborator
|
The workflow url is missing |
Collaborator
|
@copilot comment above |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
Added in commit f57a4c4. The workflow name now links to the workflow page in the Actions tab. New format: Where:
Fixed in commit f57a4c4. The workflow URL is now included as the primary link for the workflow name. |
Copilot
AI
changed the title
Update activation footer: workflow name links to source, add "Workflow" text
Update activation footer: add workflow URL, source link, and run ID
Nov 21, 2025
Contributor
|
✅ Agentic Workflow Changeset Generator completed successfully. |
Collaborator
|
@copilot recompile |
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update "Agentic ... started" Message Footer - Complete ✅
Final Implementation
Changes Made
GH_AW_WORKFLOW_FILEenvironment variable to pass lock filenamebuildWorkflowLinkText()function to construct workflow URL from run URLNew Message Format
Where:
[Test Workflow]links to the workflow page in Actions tab (/actions/workflows/test.lock.yml)[source]links to the workflow source file (/tree/main/.github/workflows/test.md)[run #12345]links to the specific workflow run (/actions/runs/12345)Implementation Details
The workflow URL is constructed by replacing
/runs/{runId}with/workflows/{lockFilename}in the run URL:https://github.com/owner/repo/actions/runs/12345test.lock.ymlhttps://github.com/owner/repo/actions/workflows/test.lock.ymlFiles Modified
pkg/workflow/compiler_jobs.go- AddedGH_AW_WORKFLOW_FILEenvironment variablepkg/workflow/js/add_reaction_and_edit_comment.cjs- Updated URL construction logicpkg/workflow/js/add_reaction_and_edit_comment.test.cjs- Updated test expectations.lock.ymlfiles - Recompiled with new formatTest Results
✅ All JavaScript tests pass (1078/1078)
✅ All Go unit tests pass
✅ Code formatted and linted
✅ Manual compilation verified
✅ All 86 workflows recompiled successfully
Original prompt
💡 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.