Repository navigation
Fix CI workflow eval reporting and PR status - #130669
Merged
Merged
Conversation
Use the repository write token for reactions, report comments, and PR-head statuses. Ignore invalid Copilot PAT pool entries and scope cancellation to active eval jobs. Add a temporary PR workflow to verify the reporting permissions before removing it. Co-authored-by: Copilot <[email protected]> Copilot-Session: c88c0b65-971b-4cc4-9674-e6d83c3b8ee3
kotlarmilos
had a problem deploying
to
copilot-pat-pool
July 14, 2026 10:33 — with
GitHub Actions
Failure
kotlarmilos
temporarily deployed
to
copilot-pat-pool
July 14, 2026 10:33 — with
GitHub Actions
Inactive
|
Azure Pipelines: Successfully started running 1 pipeline(s). 14 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
kotlarmilos
temporarily deployed
to
copilot-pat-pool
July 14, 2026 10:33 — with
GitHub Actions
Inactive
Contributor
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
kotlarmilos
had a problem deploying
to
copilot-pat-pool
July 14, 2026 10:34 — with
GitHub Actions
Failure
kotlarmilos
temporarily deployed
to
copilot-pat-pool
July 14, 2026 10:35 — with
GitHub Actions
Inactive
kotlarmilos
temporarily deployed
to
copilot-pat-pool
July 14, 2026 10:36 — with
GitHub Actions
Inactive
kotlarmilos
temporarily deployed
to
copilot-pat-pool
July 14, 2026 10:36 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the ci-workflow-eval GitHub Actions workflow to improve reliability of on-demand eval reporting by posting PR-head commit statuses, using an alternate token for reactions/comments/status writes, validating PAT pool entries before selection, and scoping concurrency cancellation to the eval job. Adds a separate PR-triggered “probe” workflow intended to validate permissions for those writes.
Changes:
- Post
ci-workflow-evalcommit statuses (pending at acknowledge; success/failure/error at report) usingGH_AW_GITHUB_TOKENfallback. - Filter out invalid
COPILOT_PAT_*pool entries by probingGET /userbefore selecting a token. - Move concurrency cancellation from workflow-level to the
evaljob; add a newci-eval-pr-probeworkflow to validate writes.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/ci-eval.yml | Adds PR-head status reporting, PAT validation, and job-scoped concurrency for CI eval runs. |
| .github/workflows/ci-eval-pr-probe.yml | Introduces a PR-triggered probe that writes a comment/reaction/status to validate token permissions. |
Copilot's findings
- Files reviewed: 2/2 changed files
- Comments generated: 3
Select only Copilot tokens that authenticate and have write access to the runtime repository, then reuse the selected user token for acknowledgements and reports. Update the temporary probe to exercise the same selection path. Co-authored-by: Copilot <[email protected]> Copilot-Session: c88c0b65-971b-4cc4-9674-e6d83c3b8ee3
kotlarmilos
temporarily deployed
to
copilot-pat-pool
July 14, 2026 10:39 — with
GitHub Actions
Inactive
kotlarmilos
temporarily deployed
to
copilot-pat-pool
July 14, 2026 10:39 — with
GitHub Actions
Inactive
kotlarmilos
had a problem deploying
to
copilot-pat-pool
July 14, 2026 10:39 — with
GitHub Actions
Failure
kotlarmilos
temporarily deployed
to
copilot-pat-pool
July 14, 2026 10:39 — with
GitHub Actions
Inactive
kotlarmilos
had a problem deploying
to
copilot-pat-pool
July 14, 2026 10:40 — with
GitHub Actions
Failure
kotlarmilos
temporarily deployed
to
copilot-pat-pool
July 14, 2026 10:41 — with
GitHub Actions
Inactive
Co-authored-by: Copilot <[email protected]> Copilot-Session: c88c0b65-971b-4cc4-9674-e6d83c3b8ee3
kotlarmilos
temporarily deployed
to
copilot-pat-pool
July 14, 2026 10:42 — with
GitHub Actions
Inactive
kotlarmilos
temporarily deployed
to
copilot-pat-pool
July 14, 2026 10:42 — with
GitHub Actions
Inactive
kotlarmilos
temporarily deployed
to
copilot-pat-pool
July 14, 2026 11:01 — with
GitHub Actions
Inactive
kotlarmilos
temporarily deployed
to
copilot-pat-pool
July 14, 2026 11:01 — with
GitHub Actions
Inactive
kotlarmilos
had a problem deploying
to
copilot-pat-pool
July 14, 2026 11:03 — with
GitHub Actions
Failure
kotlarmilos
temporarily deployed
to
copilot-pat-pool
July 14, 2026 11:04 — with
GitHub Actions
Inactive
kotlarmilos
temporarily deployed
to
copilot-pat-pool
July 14, 2026 11:05 — with
GitHub Actions
Inactive
kotlarmilos
temporarily deployed
to
copilot-pat-pool
July 14, 2026 11:05 — with
GitHub Actions
Inactive
Co-authored-by: Copilot <[email protected]> Copilot-Session: c88c0b65-971b-4cc4-9674-e6d83c3b8ee3
kotlarmilos
temporarily deployed
to
copilot-pat-pool
July 14, 2026 11:11 — with
GitHub Actions
Inactive
kotlarmilos
temporarily deployed
to
copilot-pat-pool
July 14, 2026 11:11 — with
GitHub Actions
Inactive
kotlarmilos
had a problem deploying
to
copilot-pat-pool
July 14, 2026 11:12 — with
GitHub Actions
Failure
kotlarmilos
temporarily deployed
to
copilot-pat-pool
July 14, 2026 11:13 — with
GitHub Actions
Inactive
kotlarmilos
temporarily deployed
to
copilot-pat-pool
July 14, 2026 11:13 — with
GitHub Actions
Inactive
kotlarmilos
temporarily deployed
to
copilot-pat-pool
July 14, 2026 11:14 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
Copilot's findings
Comments suppressed due to low confidence (1)
.github/workflows/ci-eval.yml:388
- When the guard does not run and no explicit
GUARD_REASONis provided (e.g., dependency failure/skip before the guard step), the comment becomes_eval skipped_, which is not actionable for maintainers. It would be more useful to emit a concrete fallback reason in that case.
} else {
body = `${marker}\n${process.env.GUARD_REASON || '_eval skipped_'}`;
}
- Files reviewed: 1/1 changed files
- Comments generated: 2
vitek-karas
approved these changes
Jul 14, 2026
This branch was previously deployed
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Description
This fixes the on-demand CI workflow eval path by validating Copilot PATs before selection, using the workflow
GITHUB_TOKENwithpull-requests: writefor reactions and report comments, and publishing aci-workflow-evalcommit status on the evaluated PR head. Conditional workflow-level concurrency cancels only superseded eval commands, so unrelated PR comments cannot stop an active eval. The temporary probe is removed from the final change.The successful live validation run is https://github.com/dotnet/runtime/actions/runs/29326781714. It confirmed that PR comments, reactions, and commit statuses work with the final permission model.