Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(util) replicate runtimes workflow to sdks #446

Closed
wants to merge 5 commits into from
Closed

Conversation

casimiro
Copy link
Contributor

@casimiro casimiro commented Nov 9, 2023

This PR proposes a few changes:

  • A new structure for accommodating Proxy-wasm SDKs compilation scripts;
    ./util/sdk.sh and ./util/sdks/*.sh resemble the structure and interface of the scripts used to download and build WebAssembly runtimes: ./util/runtime.sh and ./util/runtimes/*.sh.

  • AssemblyScript SDK compilation script and set of tests for the example filters.

  • ./util/test.sh only compiles SDKs when the running tests require them.

Copy link

codecov bot commented Nov 13, 2023

Codecov Report

Merging #446 (5490bbe) into main (c0ace96) will increase coverage by 0.07856%.
Report is 24 commits behind head on main.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@                 Coverage Diff                 @@
##                main        #446         +/-   ##
===================================================
+ Coverage   90.11043%   90.18899%   +0.07856%     
===================================================
  Files             45          46          +1     
  Lines           8150        8572        +422     
===================================================
+ Hits            7344        7731        +387     
- Misses           806         841         +35     

see 15 files with indirect coverage changes

@casimiro casimiro force-pushed the chore/util-sdk branch 6 times, most recently from cf6b526 to a19d684 Compare November 16, 2023 13:41
@thibaultcha thibaultcha added the pr/work-in-progress PR: Work in progress label Nov 16, 2023
@casimiro casimiro changed the title [wip] chore(util) replicate runtimes workflow to sdks chore(util) replicate runtimes workflow to sdks Nov 24, 2023
@thibaultcha thibaultcha removed the pr/work-in-progress PR: Work in progress label Nov 24, 2023
Makefile Outdated Show resolved Hide resolved
t/03-proxy_wasm/sdks/003-assemblyscript_sdk.t Outdated Show resolved Hide resolved
util/setup_dev.sh Show resolved Hide resolved
util/test.sh Outdated Show resolved Hide resolved
@casimiro casimiro added the pr/work-in-progress PR: Work in progress label Nov 29, 2023
@casimiro casimiro force-pushed the chore/util-sdk branch 2 times, most recently from ee82e5c to eb0b39d Compare November 29, 2023 17:03
@casimiro
Copy link
Contributor Author

Thank you for the careful and detailed review @thibaultcha. I'm addressing the issues highlighted in the comments.
I'll remove the WIP label when they are addressed and the release job runs successfully.

Copy link
Member

@thibaultcha thibaultcha left a comment

Choose a reason for hiding this comment

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

Ok looking neat now! I will give it a spin.

util/sdks/assemblyscript.sh Outdated Show resolved Hide resolved
@thibaultcha thibaultcha removed the pr/work-in-progress PR: Work in progress label Nov 30, 2023
This commit introduces `./util/sdk.sh` and `./util/sdks/*.sh` to
accommodate scripting related to proxy-wasm SDK.

It also moves proxy-wasm SDKs download/build from ./util/test.sh to
./util/setup.sh making these workflows consistent with how other
dependencies are handled.
@casimiro
Copy link
Contributor Author

@thibaultcha I've pushed some final adjustments.

I'll push the git fetch amending commit in a short separate PR.

@thibaultcha thibaultcha added the pr/merge-in-progress PR: Merge in progress (do not push) label Dec 1, 2023
@thibaultcha thibaultcha closed this Dec 1, 2023
@thibaultcha thibaultcha deleted the chore/util-sdk branch December 1, 2023 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/merge-in-progress PR: Merge in progress (do not push)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants