Repository navigation
Publish the same eval report to the job summary - #37
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Evals: passedSuite: copilot-smoke Lint: validated (no model execution) - Evidence Run: passed - 1 trial - Evidence
Quality & token summary
|
There was a problem hiding this comment.
🟡 Changes recommended
Lint companion evidence is not validated before publication, allowing passing outputs despite lint errors and summaries that obscure primary report failures.
2 open issues
What changed in this PR
Addresses #36 by using the PR comment’s report renderer for job summaries, giving workflow runs the same evaluation results and evidence links.
Changes:
- Share report rendering and append collapsed run diagnostics to summaries.
- Write summaries after evidence is available, support push/manual-dispatch reporting without PR APIs, and treat summary-write failures as warnings.
- Expand regression coverage and update documentation and Action metadata.
| File | Description |
|---|---|
tests/reporting.test.ts |
Tests shared rendering, evidence links, and collapsed diagnostics. |
tests/reporter.test.ts |
Checks that PR comments contain the shared report body. |
tests/example.test.ts |
Checks manual-dispatch support in the documented workflow. |
tests/action.test.ts |
Covers summary publication, non-PR events, and reporting failures. |
src/reporting.ts |
Adds shared report and run-diagnostics renderers. |
src/reporter.ts |
Uses the shared renderer for PR comment bodies. |
src/action.ts |
Coordinates evidence-linked summaries and event-gated commenting. |
README.md |
Documents summary reporting and updates the workflow example. |
action.yml |
Clarifies report-mode behavior and token usage. |
Review effort: Max (adaptive)
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Addressed review 5968289045 ("Changes recommended"; Re-audited the current head after review 5968388735 ("Needs a closer look"; |
There was a problem hiding this comment.
🔵 Needs a closer look
Interacting changes to event policy, evidence validation, and output, comment, and summary failure handling require human review beyond the limited automated-approval scope.
No open issues 🎉
2 resolved since last review
Review effort: Balanced (adaptive)


Summary
Closes #36. Report mode now writes the verified rich report to the job summary on pull requests, pushes, and manual dispatches; only pull requests trigger comment APIs. Run, all, and report share the report renderer and uploaded evidence links, with collapsed run diagnostics. Summary failures warn without changing outcomes, and comment failures no longer replace the verified report summary.
Verification
pnpm check(191 tests; 90.21% branch coverage; bundle freshness and packaged tests passed).tests/native.test.tsuses pinned Vally with the built-in mock executor and deterministic graders; Action/GitHub artifact behavior uses synthetic responses. No model-backed execution was run.distmatch source: README/action metadata updated;pnpm checkpassed and the report-example contract test passed.Limitations
Hosted GitHub Actions smoke/artifact-upload validation and PR CI are pending; no live model run was performed. Consumer pin bumps in
github/evals-internalandgithub/plugin-marketplace-starterremain follow-up work after an authorized Action release. This PR is draft until hosted integration checks complete.