Skip to content

Publish the same eval report to the job summary - #37

Merged
jongio merged 2 commits into
mainfrom
jongio-publish-eval-report-job-summary
Nov 19, 2026
Merged

jongio merged 2 commits into
mainfrom
jongio-publish-eval-report-job-summary

Conversation

@jongio

@jongio jongio commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

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

  • Model-free checks and source-to-bundle verification pass: pnpm check (191 tests; 90.21% branch coverage; bundle freshness and packaged tests passed).
  • Native integration evidence is distinguished from synthetic controls: tests/native.test.ts uses pinned Vally with the built-in mock executor and deterministic graders; Action/GitHub artifact behavior uses synthetic responses. No model-backed execution was run.
  • Credential, process and artifact boundaries were reviewed: verified report identity/digests and allowlisted projections remain intact; free-form report fields are escaped and PR calls are event-gated.
  • Documentation and packaged dist match source: README/action metadata updated; pnpm check passed 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-internal and github/plugin-marketplace-starter remain follow-up work after an authorized Action release. This PR is draft until hosted integration checks complete.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Evals: passed

Suite: copilot-smoke

Lint: validated (no model execution) - Evidence

Run: passed - 1 trial - Evidence

Eval Trials Result
copilot-skill-smoke 1 passed

Quality & token summary

Eval Model Verdict Score Turns Duration Tokens
copilot-skill-smoke - passed 1.00 (threshold 1.00) 2 2968ms 33349 tokens (33276 in / 73 out)

Exact revision | Workflow run

@jongio
jongio marked this pull request as ready for review November 19, 2026 01:56
@jongio
jongio requested a review from a team as a code owner November 19, 2026 01:56
Copilot AI adaptive review requested due to automatic review settings November 19, 2026 01:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 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)

Comment thread src/action.ts Resolved
Comment thread src/action.ts Resolved
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@jongio

jongio commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator Author

Addressed review 5968289045 ("Changes recommended"; concern:f5786d34bfc8d7ce): failed lint companions now fail before outputs, and lint evidence is included only with a run report. Fixed in 4702715.

Re-audited the current head after review 5968388735 ("Needs a closer look"; concern:c7f5910bca87e05c): evidence validation precedes outputs, push/manual events skip PR comments, and the summary is still written after comment failure or stale detection. No further code defect was found; code-owner review is pending.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 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)

@jongio
jongio merged commit d7b40d3 into main Nov 19, 2026
11 checks passed
@jongio
jongio deleted the jongio-publish-eval-report-job-summary branch November 19, 2026 05:42
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.

Publish the same eval report to the job summary as the PR comment

3 participants