Skip to content

fix(release): upload assets through the GitHub release endpoint - #59

Merged
rynfar merged 1 commit into
pylonfrom
fix/publication-upload-endpoint
Sep 11, 2026
Merged

fix(release): upload assets through the GitHub release endpoint#59
rynfar merged 1 commit into
pylonfrom
fix/publication-upload-endpoint

Conversation

@rynfar

@rynfar rynfar commented Sep 11, 2026

Copy link
Copy Markdown

Preview run 34621647795 verified and signed all six subjects, then failed its first asset upload. The generic API route used api.github.com and dropped the filename query. Use the pinned client's repos.uploadReleaseAsset in preview staging, stable staging, and zero-asset stable recovery so GitHub receives the exact bytes at its release-upload endpoint.

Append publication policy 3 with the exact new workflow hashes, retaining historical policies 1/2 and artifact recipe 1. Draft identity, missing-only upload, metadata/digest readback, provenance, and reservation/tag/publication ordering remain intact. Preserve the prior source's valid tag and empty draft. Pylon #485 adds the matching consumer pins.

Verification: all three inline upload regressions failed on the old route and passed after the fix; the complete publication suite passed 205 tests with no skips. Required npm run check passed. Independent checkpoint review found no actionable issues. An offline probe against the exact pinned action bundle verified the upload host, filename encoding, and unchanged binary body. Required CI passed on the exact reviewed tree. Both Ubuntu and macOS evidence bundles were independently audited: 205 core tests, 28 stress tests, all 3,034 crash cuts, and the actual 16 MiB maximum passed. A corrected protected publication run remains the live release acceptance gate.

Fixes #53. Follow-up to #58.

Model: GPT-6. Harness: Codex.

@rynfar rynfar added the no-changelog Internal change with no package changelog fragment label Sep 11, 2026
@rynfar
rynfar merged commit 83fe3df into pylon Sep 11, 2026
25 checks passed
@rynfar
rynfar deleted the fix/publication-upload-endpoint branch September 11, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog Internal change with no package changelog fragment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Harden publication high-water journal before resuming managed preview releases

1 participant