Skip to content

Make publication fixtures portable across macOS and Linux - #30

Merged
sandover merged 2 commits into
mainfrom
fix-portable-release-body
Oct 14, 2026
Merged

sandover merged 2 commits into
mainfrom
fix-portable-release-body

Conversation

@sandover

@sandover sandover commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

The Homebrew publication fixture executes the real release-body workflow step. GNU-only sed -i made that fixture fail on macOS. Write the filtered text to a temporary file and move it into place, preserving the rendered notes on both BSD and GNU systems.

Start the fixture with indented notes and assert the exact unindented result. Run the existing fixture explicitly in the Linux, Intel macOS, and Apple Silicon PR packaging matrix, so this portability regression is caught before merge.

Validation: Linux publication/recovery fixtures, fresh full local just check (exit 0), actionlint and whitespace checks passed. Initial CI on 42a15e0 passed every job, including publication fixtures on Linux and both macOS architectures. The current head additionally asserts the auth scenario reached the fake API and captured HTTP 403; fresh CI passed every applicable check on 5538ae2.

The auth fixture now checks both the exact fake API lookup in its trace and HTTP 403 in captured stderr, so a formatting failure before the API call cannot satisfy the expected-failure test.

The original main run also failed the Windows UDP CLI test with OS error 10054. It did not recur in either corrective CI run; this PR does not change UDP behavior or claim to resolve that separate concern.

Draft for direct review. No merge, release/tag publication, or live tap update.

@sandover
sandover marked this pull request as ready for review October 14, 2026 23:06
@sandover
sandover merged commit 492ac27 into main Oct 14, 2026
13 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