Skip to content

ci(release): drop the ghd distribution integration and fix the openapi smoke tests - #22

Merged
jmgilman merged 1 commit into
masterfrom
ci/drop-ghd
Jul 3, 2026
Merged

jmgilman merged 1 commit into
masterfrom
ci/drop-ghd

Conversation

@jmgilman

@jmgilman jmgilman commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Summary

PR #20 (the first release-please PR ever, and the first time the dry-run jobs actually executed) exposed two release-chain defects; both required checks on the release PR fail because of them.

1. ghd integration referenced a manifest that is intentionally absent. ghd.toml was deliberately removed, but the workflows still validated against it. This PR removes the ghd surface entirely while keeping everything load-bearing:

  • release-dry-run.yml: the validate step keeps the goreleaser artifact-completeness and checksum checks, drops only the ghd.toml assertions.
  • stage_ghd_release_assets.py → stage_release_assets.py: staging into dist/release-assets/ and checksum verification (used by the upload/smoke/attest jobs) are unchanged; only the ghd.toml validation is gone. Tests renamed/updated accordingly (5 pass).
  • release.yml: step renamed, and the ghd download snippet removed from the generated release notes.

2. Broken-pipe race in the container smoke tests (both workflows): docker run ... openapi | grep -Fq — grep exits at the first match, the container is still writing the ~43KB spec, docker run fails with write /dev/stdout: broken pipe under pipefail. Now captures the spec to a file and greps that.

Testing

  • python3 .github/scripts/test_stage_release_assets.py → 5 tests OK; test_configure_github_repo.py still OK.
  • Both workflow files parse as YAML; zero ghd references remain under .github/.
  • The dry-run jobs run on this PR itself — green checks here are the real verification.

🤖 Generated with Claude Code

…i smoke tests

The release workflows validated and staged assets against a ghd.toml
manifest that was intentionally removed; the ghd distribution channel
is not part of this repo. Keep the goreleaser artifact/checksum
validation and the dist/release-assets staging the rest of the release
depends on, drop only the ghd.toml checks and the ghd download snippet
in the release notes.

Also fix both container smoke tests: 'openapi | grep -Fq' breaks the
pipe when grep exits at the first match, failing docker run under
pipefail; capture the spec to a file first.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@jmgilman
jmgilman merged commit 171ee1d into master Jul 3, 2026
17 checks passed
@jmgilman
jmgilman deleted the ci/drop-ghd branch July 3, 2026 16:08
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