Skip to content

publish: Artifacts step — upload platform binaries to the R2 registry#45

Merged
TeoSlayer merged 1 commit into
cli-publish-formfrom
cli-publish-artifacts
Jun 22, 2026
Merged

publish: Artifacts step — upload platform binaries to the R2 registry#45
TeoSlayer merged 1 commit into
cli-publish-formfrom
cli-publish-artifacts

Conversation

@Alexgodoroja

Copy link
Copy Markdown
Collaborator

Artifacts step — upload platform binaries to the R2 registry

Adds an Artifacts wizard step to /publish (cli apps), stacking on #44.

  • Per-platform binary upload via POST /api/artifact/presign (direct-to-R2; sha256 computed in the browser).
  • Install order, dependencies, and install args per artifact.
  • Submits an artifacts[] array in the Submission; HTTP apps see a short "no artifacts needed" note.

Browser-tested end-to-end against the local publish-server: uploaded the 30 MB smolvm tarball, submitted, built. Requires the publish-server R2 PR (pilot-protocol/app-template#32) and R2 bucket CORS (PUT/GET/HEAD from the site origins).

A/B results for the delivered app: https://raw.githack.com/pilot-protocol/app-template/feat/r2-artifacts-on-cli/docs/samples/ab-report-smolvm.html

🤖 Generated with Claude Code

…gistry

Adds an Artifacts wizard step (cli apps) to /publish: per-platform binary
upload via POST /api/artifact/presign (direct-to-R2, sha256 computed in the
browser), plus install order, dependencies, and install args. Submits an
artifacts[] array in the Submission. HTTP apps see a short "no artifacts
needed" note.

Verified end-to-end in a real browser against the local publish-server:
uploaded the 30 MB smolvm tarball, submitted, built.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@TeoSlayer TeoSlayer merged commit 93a8c2a into cli-publish-form Jun 22, 2026
1 check 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.

2 participants