Skip to content

ci: add manual self-hosted goreleaser benchmark workflow - #922

Merged
cdalar merged 1 commit into
mainfrom
ci/self-hosted-benchmark
Jun 19, 2026
Merged

cdalar merged 1 commit into
mainfrom
ci/self-hosted-benchmark

Conversation

@cdalar

@cdalar cdalar commented Jun 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds a manually-triggered (workflow_dispatch) copy of the goreleaser pipeline that runs on the self-hosted Mac Mini M4 runner instead of macos-latest.
  • Uses --skip=publish so it never creates a real GitHub release or touches the homebrew-tap repo β€” pure build/sign/notarize timing benchmark.
  • Temporary: meant to be deleted once the self-hosted vs. hosted runner comparison is done.

Test plan

  • Merge to main so the workflow shows up under Actions
  • Trigger via gh workflow run goreleaser-self-hosted-test.yml -f tag=v0.1.26
  • Compare total run duration against the hosted v0.1.26 run

Skip-publish dry run on the Mac Mini M4 self-hosted runner to compare
build/sign/notarize time against the hosted macos-latest runner.
Temporary β€” remove once the comparison is done.
@cdalar
cdalar merged commit a4b6ce1 into main Jun 19, 2026
12 checks passed
@cdalar
cdalar deleted the ci/self-hosted-benchmark branch June 19, 2026 14:30

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

πŸ’‘ Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fa46035f49

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with πŸ‘.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

cache: true
- name: Import GPG Key
run: |
echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --import --no-tty --batch

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Avoid persisting the signing key on the runner

When this manual workflow runs on the reusable self-hosted Mac runner, gpg --import writes the private signing key into the runner user's default GnuPG home and nothing removes it afterward. That leaves the release signing key available to later jobs on the same machine, unlike the existing hosted runner workflow where the VM is discarded; import into a temporary GNUPGHOME and clean it up, or explicitly delete the secret key in a post step.

Useful? React with πŸ‘Β / πŸ‘Ž.

@codecov

codecov Bot commented Jun 19, 2026

Copy link
Copy Markdown

Codecov Report

βœ… All modified and coverable lines are covered by tests.
βœ… Project coverage is 22.81%. Comparing base (c1124b2) to head (fa46035).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #922      +/-   ##
==========================================
+ Coverage   22.76%   22.81%   +0.04%     
==========================================
  Files          42       42              
  Lines        4182     4182              
==========================================
+ Hits          952      954       +2     
+ Misses       3114     3113       -1     
+ Partials      116      115       -1     

β˜” View full report in Codecov by Harness.
πŸ“’ Have feedback on the report? Share it here.

πŸš€ New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

⌂ 捒网址