feat(#529): post workflow run links on issue/PR at start of agent run - #532
Closed
fullsend-ai-coder[bot] wants to merge 1 commit into
Closed
feat(#529): post workflow run links on issue/PR at start of agent run#532fullsend-ai-coder[bot] wants to merge 1 commit into
fullsend-ai-coder[bot] wants to merge 1 commit into
Conversation
Each dispatch job (triage, code, review) now posts a comment on the triggering issue or PR with two links: 1. The shim workflow run URL on the target repo 2. The dispatched agent workflow run URL on .fullsend The dispatched run URL is discovered by polling gh run list up to 3 times (3s apart) after dispatch. If the run is not found, a fallback link to the workflow runs page is used instead. Comments use per-agent HTML marker comments (<!-- fullsend:run-links:<agent> -->) for idempotent updates on retries — re-triggering the same agent updates the existing comment rather than posting a duplicate. The step runs with if: always() so the shim URL is posted even when dispatch fails, aiding debugging. Added issues: write and pull-requests: write permissions to support posting comments via GITHUB_TOKEN. Note: pre-commit and actionlint could not run in-sandbox due to network restrictions. YAML syntax was validated. Manual verification of actionlint is required. Closes #529
Site previewPreview: https://1fddba04-site.fullsend-ai.workers.dev Commit: |
Member
|
I'll do this myself. |
3 tasks
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.
Each dispatch job (triage, code, review) now posts a comment on the triggering issue or PR with two links:
The dispatched run URL is discovered by polling gh run list up to 3 times (3s apart) after dispatch. If the run is not found, a fallback link to the workflow runs page is used instead.
Comments use per-agent HTML marker comments () for idempotent updates on retries — re-triggering the same agent updates the existing comment rather than posting a duplicate.
The step runs with if: always() so the shim URL is posted even when dispatch fails, aiding debugging.
Added issues: write and pull-requests: write permissions to support posting comments via GITHUB_TOKEN.
Note: pre-commit and actionlint could not run in-sandbox due to network restrictions. YAML syntax was validated. Manual verification of actionlint is required.
Closes #529
Changed files
internal/scaffold/fullsend-repo/templates/shim-workflow.yamlCloses #529
Post-script verification
agent/529-post-run-links)5f59d83366582321f8da8879f07f7ec9370f2494..HEAD)Created by fullsend code agent