Skip to content

ci(shred-proxy): accept static-pie in the release linkage assert#79

Merged
juan-malbeclabs merged 1 commit into
mainfrom
jo/shred-proxy-static-pie-check
Jul 14, 2026
Merged

ci(shred-proxy): accept static-pie in the release linkage assert#79
juan-malbeclabs merged 1 commit into
mainfrom
jo/shred-proxy-static-pie-check

Conversation

@juan-malbeclabs

Copy link
Copy Markdown
Contributor

What

The shred-proxy-v0.1.0 release run failed at the Stage artifact + checksum step, even though the binary built fine. The staging step asserts the artifact is static and refuses to publish otherwise:

```
dist/shred-proxy-x86_64-unknown-linux-musl: ELF 64-bit LSB pie executable, x86-64, ..., static-pie linked, ...
error: shred-proxy-x86_64-unknown-linux-musl is not statically linked — refusing to publish
```

The binary is static — a musl release build links as a PIE by default, which file reports as static-pie linked (no interpreter, no shared-lib deps) rather than statically linked. The assert grepped only for the literal statically linked, so it rejected a genuinely static artifact.

Fix

Accept both wordings in the linkage assert (grep -Eq 'statically linked|static-pie linked'). CHANGELOG updated.

Follow-up

Once merged, re-fire the release (re-point shred-proxy-v0.1.0 at the merge commit, or workflow_dispatch from main with tag=shred-proxy-v0.1.0) so the GitHub Release + binary are published. The installer one-liner is already live at https://get.doublezero.xyz/shred-proxy and will work end-to-end once the Release exists.

The musl release build links as a PIE by default, which `file` reports as
"static-pie linked" (no interpreter, no shared-lib deps — still fully static)
rather than "statically linked". The release workflow's linkage assertion
grepped only for "statically linked" and so rejected a genuinely static binary,
failing the shred-proxy-v* release at the staging step. Accept both wordings.
@juan-malbeclabs
juan-malbeclabs merged commit e97154d into main Jul 14, 2026
7 checks passed
@juan-malbeclabs
juan-malbeclabs deleted the jo/shred-proxy-static-pie-check branch July 14, 2026 13:30
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.

2 participants