Skip to content

Conversation

@crepererum
Copy link
Collaborator

@crepererum crepererum commented Nov 27, 2025

Closes #186.

@crepererum crepererum force-pushed the crepererum/issue186 branch 6 times, most recently from 24507ed to 556d4c9 Compare November 27, 2025 16:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces automation for building and publishing pre-built WASM guest binaries through a GitHub Actions workflow. This simplifies integration for downstream users by eliminating the need for WASI compilation toolchains and reducing build times. The PR also refactors the disk space cleanup logic into a reusable composite action.

  • Adds a new Prebuild workflow that builds WASM binaries for the Python guest and Rust example (debug and release variants), generates build attestations, and publishes them as GitHub releases
  • Extracts disk space cleanup logic into a reusable composite action (.github/actions/free-disk-space)
  • Updates documentation in CONTRIBUTING.md with instructions for triggering pre-built binary releases

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
.github/workflows/prebuild.yml New workflow for building and releasing WASM binaries with attestation support
.github/actions/free-disk-space/action.yml Composite action definition for freeing disk space on GitHub runners
.github/actions/free-disk-space/free.sh Bash script that removes unnecessary files from GitHub runner images
.github/workflows/ci.yml Updated to use the new reusable free-disk-space composite action
CONTRIBUTING.md Added documentation section explaining pre-built WASM binaries and how to trigger builds

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

We likely need this for the release workflow as well.

Ref #186.
@crepererum
Copy link
Collaborator Author

Here's a release created by this workflow (see docs in PR on how to trigger builds):

https://github.com/influxdata/datafusion-udf-wasm/releases/tag/wasm-binaries%2F2025-11-28T14-13-07%2F7aa299e7916e7e103281c152d6c75e20a6cf6a31

@crepererum crepererum marked this pull request as ready for review November 28, 2025 14:23
@crepererum crepererum added this pull request to the merge queue Nov 28, 2025
Merged via the queue into main with commit 2a38532 Nov 28, 2025
2 checks passed
@crepererum crepererum deleted the crepererum/issue186 branch November 28, 2025 15:07
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.

Pre-build WASM guests

3 participants