Skip to content

Comments

fix(#626): resolve [View job] links pointing to previous workflow runs after comment updates#627

Merged
ashwin-ant merged 1 commit intoanthropics:mainfrom
BangDori:fix/issue-626-view-job-links
Oct 21, 2025
Merged

fix(#626): resolve [View job] links pointing to previous workflow runs after comment updates#627
ashwin-ant merged 1 commit intoanthropics:mainfrom
BangDori:fix/issue-626-view-job-links

Conversation

@BangDori
Copy link
Contributor

@BangDori BangDori commented Oct 16, 2025

Summary

Fixes issue #626 where [View job] links in comment updates were pointing to previous workflow runs instead of the current one.

AS-IS (Problem)

  • [View job] links continue to point to previous workflow runs after comment updates
  • [View job run] links update correctly, but [View job] links do not
  • Users may be directed to incorrect workflow runs
  • System prompt does not explicitly specify job link format

TO-BE (Solution)

  • System prompt now explicitly specifies job link format
  • Claude generates links in the correct format with current workflow information
  • Comment updates always display links pointing to the current workflow run
image

UX Improvement

By ensuring the job link always points to the current workflow run, users no longer need to navigate to the Actions tab to search for the correct workflow. This reduces friction and improves the user experience when monitoring Claude's task execution.

Closes #626

Specifies the exact format for job run links using the actual variable names:
${GITHUB_SERVER_URL}/${context.repository}/actions/runs/${process.env.GITHUB_RUN_ID}

This ensures Claude generates consistent and correct GitHub Actions workflow links.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@BangDori
Copy link
Contributor Author

Hi @ashwin-ant 🙇‍♂️

I just wanted to leave a quick note to kindly ask for a review on this PR.

Main change: Updated the GitHub Action so that the “View job” link points to the workflow run that’s currently in progress.

Copy link
Collaborator

@ashwin-ant ashwin-ant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@ashwin-ant ashwin-ant merged commit 96524b7 into anthropics:main Oct 21, 2025
4 of 14 checks passed
cheapsteak pushed a commit to cheapsteak/claude-code-action that referenced this pull request Dec 9, 2025
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.

"View Job" link in comments sometimes points to incorrect workflow run

2 participants