Skip to content

docs(gha): document failure annotations and machine-readable output - #90

Open
raphaelvigee wants to merge 1 commit into
mainfrom
claude/eager-galileo-vnrdfi
Open

docs(gha): document failure annotations and machine-readable output#90
raphaelvigee wants to merge 1 commit into
mainfrom
claude/eager-galileo-vnrdfi

Conversation

@raphaelvigee

Copy link
Copy Markdown
Member

Summary

Documents the new surfaces added by hephbuild/heph#376 (commit e0316ab) to the gha plugin's docs page (website/docs/plugins/gha.md):

  • Failure annotations — a ::error:: workflow command emitted per failing target, gated by the new annotations option (default true).
  • Immediate comment flush — the live PR comment now patches right away on the first failing target instead of waiting for the next refreshSecs tick, then coalesces further failures on a 10s floor.
  • jsonPath option — writes the full run report as JSON when the run finishes.
  • $GITHUB_OUTPUT keysheph_status, heph_failed, heph_blocked, heph_executed, heph_cached, heph_elapsed_ms, heph_elapsed, heph_cache_hit_rate, heph_json_path.
  • Embedded JSON in the step summary — a hard-capped (2 KiB) copy of the report for a reader with no filesystem access.

All field names, defaults, and behavior were verified directly against crates/plugin-gha/src/lib.rs and crates/plugin-gha/src/report.rs on master (not from the design doc, which describes some fields not yet implemented).

No new page was added; plugins/gha.md was already registered in sidebars.ts. No plugin skill reference twin exists for gha, so nothing else needed updating.

Test plan

  • lint — not run in this session (no build env available here); should be clean, only prose/markdown changed.
  • build — not run in this session; should succeed, no new page/asset added.
  • Cross-checked every documented field, option, and default against the source of hephbuild/heph on master.

Generated by Claude Code

heph/hephbuild#376 adds `::error::` failure annotations, an immediate
comment flush on the first failing target, `jsonPath`/`annotations`
options, `$GITHUB_OUTPUT` keys, and the embedded JSON report in the
step summary.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014w7wCdCTTGdPKKLLETVRKC
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

⚡ Cloudflare Pages preview

Preview https://948d9b56.hephbuild.pages.dev
Commit ff9c4f8

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.

2 participants