Skip to content

docs(gha): correct status-emoji description and document per-run comment reset#49

Merged
raphaelvigee merged 1 commit into
mainfrom
claude/laughing-lovelace-a5eorg
Jun 25, 2026
Merged

docs(gha): correct status-emoji description and document per-run comment reset#49
raphaelvigee merged 1 commit into
mainfrom
claude/laughing-lovelace-a5eorg

Conversation

@raphaelvigee

Copy link
Copy Markdown
Member

Two documentation corrections for the GitHub Actions plugin page, following the bug fixes in hephbuild/heph#129.

Changes

Status emoji description (## What the comment looks like)

The old text said ✅ appears "once every matched target finishes without error." That was wrong — the emoji is now driven by the invocation's stream lifecycle (the command exiting), not by a done == total count. Transparent group targets never emit ResultEnd, so the count-based signal left the emoji stuck on ⏳ after the build finished. Updated to: "✅ once the command finishes without error."

Per-run comment reset (## One comment per job, one section per step)

The old text said the comment is "reused across reruns, never duplicated," but didn't describe what happens to stale sections from a prior build. A new workflow run (identified by GITHUB_RUN_ID + GITHUB_RUN_ATTEMPT) now resets the comment body — the previous build's sections are cleared when the first step of the new run writes. Added a paragraph explaining this so users understand why the comment shows only the current run's output.

Source

hephbuild/heph#129fix(plugin-gha): reset comment per run + tie status emoji to invocation lifecycle


Generated by Claude Code

Two behavioral corrections from hephbuild/heph#129:

1. The heading emoji is now driven by the invocation's stream lifecycle
   (closed = done), not by "every matched target finished." The old
   phrasing was wrong for transparent-group targets that never emit
   ResultEnd — the emoji is now ✅ when the command exits, not when
   done == total.

2. Each new workflow run (GITHUB_RUN_ID + GITHUB_RUN_ATTEMPT) resets the
   comment's sections. The previous "reused across reruns, never
   duplicated" text didn't capture this: stale sections from a prior
   build are now cleared when the first step of a new run writes.
@github-actions

Copy link
Copy Markdown

⚡ Cloudflare Pages preview

Preview https://919727fe.hephbuild.pages.dev
Commit 1420017

@raphaelvigee raphaelvigee merged commit 6a1f415 into main Jun 25, 2026
3 checks passed
@raphaelvigee raphaelvigee deleted the claude/laughing-lovelace-a5eorg branch June 25, 2026 08:56
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.

1 participant