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

feat(component): rust component model support #128

Merged
merged 29 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
979ea99
feat(component): wip component model support
chrisdickinson Oct 4, 2023
ded7465
feat(component): rename core module imports
chrisdickinson Oct 10, 2023
c6de5a7
feat(component): move from AsMut to ObserveSdkView
chrisdickinson Oct 10, 2023
7f9bfa5
fix(corpus): rename 00-component-instr-{reactor → command}
chrisdickinson Oct 10, 2023
95b8d37
feat(component): add an example of depending on an instr'd component
chrisdickinson Oct 10, 2023
a76c43f
doc: add component model integration guide
chrisdickinson Oct 10, 2023
bddfd60
fix(component): fix broken CI
chrisdickinson Oct 11, 2023
924c538
fix: bump WASM_INSTR_VERSION_MINOR
chrisdickinson Oct 31, 2023
d5b7a50
fix: error out when module and observe-sdk versions are not compatible
G4Vi Nov 8, 2023
c7c033f
chore: improve messsaging with incompat wasm-instr versions
G4Vi Nov 9, 2023
e2da6d0
feat: detect and error out on all modules (incl observe api) that use…
G4Vi Nov 9, 2023
cc0822e
fix: observe sdk compat with observe api
G4Vi Nov 9, 2023
caec1a6
chore: update go-sdk message for incompatible wasm-instr
G4Vi Nov 14, 2023
43e2d4f
fix: go-sdk import function names, don't hang on unknown name
G4Vi Nov 15, 2023
6ab7101
chore: remove go/test/count_vowels.instr.wasm it was outdated
G4Vi Nov 15, 2023
904a323
feat: js-sdk support old api too
G4Vi Nov 17, 2023
2b5037a
chore: js-sdk warn on discovery of deprecated namespace dylibso_observe
G4Vi Nov 17, 2023
8bc38d1
feat: remove checks on version globals in rust-sdk
G4Vi Nov 20, 2023
1830e7d
feat: support modules instrumented with deprecrated namespace dylibso…
G4Vi Nov 21, 2023
62ee10a
feat: error out when observe api is used on go and js sdks
G4Vi Nov 27, 2023
86aba1b
docs: add SDK-API-VERSIONING.md to document how to do api changes
G4Vi Nov 27, 2023
e94c46f
fix: error out on when even new observe api is used on go and js sdks
G4Vi Nov 27, 2023
0b43202
chore: readd go changes
G4Vi Jan 18, 2024
0652bfe
fix: new versions of WIT require semicolons
chrisdickinson Jan 24, 2024
fa29a81
fix,docs: component building and running, add instructions to README
G4Vi Jan 25, 2024
ebfc08d
ci: add testing components
G4Vi Jan 25, 2024
3abbaa4
ci: install just, use action to install rust cli
G4Vi Jan 25, 2024
630bae5
chore: bin versions
G4Vi Jan 30, 2024
d9e3323
chore: update to wasmtime 17, move off cargo-component-bindings: http…
G4Vi Jan 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Install JS build deps
run: |
cd js
npm i
npm ci

- name: Run Deno test
run: |
Expand Down Expand Up @@ -84,6 +84,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features

- name: Run basic example
uses: actions-rs/cargo@v1
Expand All @@ -104,3 +105,21 @@ jobs:
| head -n 1 \
| jq '.resourceSpans[].scopeSpans[].spans[0].attributes[0]' \
| jq '.key == "function_name", .value.stringValue == "_start"'

- name: Install Component CLI Deps
uses: actions-rs/cargo@v1
with:
command: install
args: wasm-tools cargo-component

- name: Install Just
uses: extractions/setup-just@v1

- name: Build wit
run: just build_wit

- name: Component Demo
run: just component_demo

- name: Component Demo 2
run: just component_demo_2
Loading
Loading