Conversation
…examples - Simplified HTTP response body setting logic in `cdn/key_value` example. - Added `build-examples.sh` for building and cleaning FastEdge SDK examples.
Introduces a new workflow to automatically build CDN and HTTP examples targeting `wasm32-wasip1` and `wasm32-wasip2` platforms.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds automation to ensure all FastEdge SDK example crates can be built, and aligns a couple of examples with the current dependency/API state so they compile cleanly.
Changes:
- Add a
build-examples.shhelper script to build (or clean) all example crates with the appropriate WASI targets. - Add a GitHub Actions workflow to build all examples on CI.
- Update example code/dependencies to support building all examples (incl. updating
examples/cdn/api_keylockfile and simplifyingset_http_response_bodyusage inkey_value).
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
examples/cdn/key_value/src/lib.rs |
Simplifies response body setting to match current usage patterns. |
examples/cdn/api_key/Cargo.lock |
Updates resolved dependencies (notably fastedge to 0.3.5) for reproducible builds. |
build-examples.sh |
Adds a repo-level script to build/clean all standalone example crates with correct targets. |
.github/workflows/build-examples.yaml |
Adds CI workflow steps to build all example groups/targets. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
qrdl
approved these changes
May 6, 2026
…ntain permissions' Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.