-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cappl-86] feat(workflows/wasm): emit msgs to beholder (#845)
* wip(wasm): adds Emit to Runtime interface WIP on Runtime with panics * refactor(wasm): separte funcs out of NewRunner * refactor(wasm): shifts logging related funcs around * feat(wasm): adds custom pb message * feat(wasm): calls emit from guest runner * refactor(workflows): splits out emitter interface + docstring * feat(host): defines a beholder adapter for emitter * wip(host): implement host side emit * refactor(wasm/host): abstracts read and write to wasm * protos wip * feat(wasm): emits error response * refactor(wasm/host): write all failures from wasm to memory * feat(wasm): inject metadata into module * feat(events+wasm): pull emit md from req md * feat(custmsg): creates labels from map * feat(wasm): adds tests and validates labels * feat(wasm/host): use custmsg implementation for calling beholder * chore(wasm+host): docstrings and lint * chore(host): new emitter iface + private func types * chore(multi) review comments * chore(wasm): add id and md to config directly * refactor(custmsg+host): adapter labeler from config for emit * refactor(wasm): remove emitter from mod config * refactor(custmsg+wasm): expose emitlabeler on guest * refactor(wasm+sdk): EmitLabeler to MessageEmitter * refactor(wasm+events): share label keys * refactor(wasm+values): use map[string]string directly
- Loading branch information
Showing
18 changed files
with
1,459 additions
and
186 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.