Skip to content

ci: attach the release binaries to the GitHub Release (release-v2.0.18) - #209

Merged
Troublor merged 2 commits into
release-v2.0.18from
troublor/ci/on-release-2.0.18
Sep 9, 2026
Merged

Troublor merged 2 commits into
release-v2.0.18from
troublor/ci/on-release-2.0.18

Conversation

@Troublor

@Troublor Troublor commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Cherry-pick of #207 onto release-v2.0.18, so the v2.0.18 Release gets its binaries: on-release.yml runs from the tag, and the release branch was cut before #207 existed.

Order: merge #207 (main) → merge this → I re-run release-settle (the existing settle PR #208 goes stale by design — the tip moves — and gets refreshed) → merge the settle PR → tag + Release + assets.

🤖 Generated with Claude Code

@mega-maxwell

mega-maxwell Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Claude review status

Living comment — rewritten in place. The review workflow keeps this single comment up to date instead of posting a new one each round, so it always describes the latest reviewed commit and the earlier text is intentionally gone. No reply is needed here; reply to a finding in its own review thread, and answer an open question in a reply on this PR. The next review round reconciles your answer.

✅ Review clean

Last reviewed: 8680901d..8680901d · updated 2026-09-09T06:18:43+00:00

New this round: 0 finding(s), 0 question(s) · Resolved this round: 0 · Open questions: 0

on-release.yml builds stateless-validator and debug-trace-server at the
released tag and attaches them, with SHA256SUMS, to the Release page via
the shared release-assets action. A workflow_dispatch on a tag ref with
dry_run=true rehearses the build and checksums without attaching. The
Artifact Registry archive stays in release.yaml / release-tracing.yaml.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013eLFMaDpEwgDzyDBzCQzLH
(cherry picked from commit 88d5ca6)

@mega-maxwell mega-maxwell Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

❓ Review complete — 1 open question(s)

Reviewed head ec93fd25.

Reviewed the new .github/workflows/on-release.yml, which builds and attaches the two release binaries to the GitHub Release on publish (and on-demand dispatch).

Open questions — answer them in a reply on this PR. Each one is marked answered here once a later review round confirms the answer, so this list stays current:

✅ **Answered** — Troublor confirmed release-assets@main's Checksums step runs sha256sum on the listed files and its Attach step uploads SHA256SUMS with --clobber, matching the header comment's promise.
  • Does the megaeth-labs/.github/.github/actions/release-assets@main composite action itself compute and upload the SHA256SUMS file promised by the header comment at .github/workflows/on-release.yml:4 and the dispatch input description at line 19? The workflow passes only the two raw binary paths to it (lines 68-70) and runs no local sha256sum step, so a checksum ends up on the Release only if the composite action generates one.
  • Why it matters: If the composite action does not emit SHA256SUMS, the Release ships binaries with no checksum manifest, silently breaking the promise the header comment makes to downstream verifiers; nothing in this workflow would surface that gap.
  • How to verify: Open megaeth-labs/.github/.github/actions/release-assets/action.yml at the current main and confirm it computes and uploads SHA256SUMS alongside the files: input; if not, add an explicit sha256sum step here (or fix the composite action) so the Release matches the comment.

@Troublor
Troublor marked this pull request as ready for review September 8, 2026 11:43
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 8, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-09T06:04:48.032957Z 8680901 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Review follow-ups on the on-release workflow:

- Verify the built stateless-validator reports the tag's version (it
  carries a clap version; the old comment claimed otherwise) — warning
  on a dry run, hard stop on a release, as mega-evme does. Run
  debug-trace-server --help so a binary that cannot load fails the
  step instead of printing "<no --version>" and shipping.
- Add a per-tag concurrency group (cancel-in-progress: false) so a
  release run and a same-tag dispatch cannot race on the --clobber
  asset upload.
- Document that the file must exist on the release branch: a release
  event resolves the workflow at the tagged commit, so a branch cut
  before this file landed needs it cherry-picked first.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
(cherry picked from commit 89aedf4)
@Troublor

Troublor commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator Author

Answer to the open question: yes, megaeth-labs/.github/.github/actions/release-assets@main generates SHA256SUMS itself. Its Checksums step runs sha256sum on every listed file (names only, so the file verifies from a download directory), and its Attach to the Release step uploads the listed files plus that sums file with --clobber. On a dry run it prints the sums and attaches nothing. The v1.7.1 Release in mega-evm was produced by the same action and carries mega-evme + SHA256SUMS.

@Troublor
Troublor merged commit 2de1bd5 into release-v2.0.18 Sep 9, 2026
10 checks passed
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