Commit Graph

13 Commits

Author SHA1 Message Date
Mike Voronov
a521267faa
chore: change license to AGPL-3 (#436) 2024-06-26 12:37:14 +03:00
Valery Antopol
13cf85ba36
feat!: move to async execution (#396)
* wip

* WIP

* WIP

* compiles, async mrepl works

* add Send

* Updating marine-js

* FuncGetter compiles

* wow it compiles

* marine-js compiles but does not work

* marine-js tests almost pass

* marine-runtime and marine-core tests pass

* fmt

* epoch interruption works in mrepl

* WIP: switching from async_trait to box_future

* move from async_trait to BoxFuture

* self-review fixes

* self-review fixes

* merge memory limits

* pr fixes

* pr fixes

* pr fixes

* pr fixes

* update cargo lock

* use published interface-types

* remove patch deps

* fix factory and make AppService generic

* fix marine-js

* try locking deps

* add debug prints to workflow

* fix workflow

* update workflow

* make marine-js bindings patcher update all __wbg_adapter_* functions

* remove debug prints from workflows

* self-review fixes

* self-review fixes

* self-review fixes

* final fixes

* fix mrepl

* fix pr comments, fmt and clippy

* fix Cargo.toml and Cargo.lock after merge

* test fixes after merge

* update rust toolchain to match one in no

* fixes for nox integration

* reexport MError

* update js bindings

* fix warning

* fmt
2024-04-11 00:34:34 +04:00
Valery Antopol
b20a27f8b6
feat: support marine-rs-sdk 0.14 (#419)
* uodate sdk

* add cp v3 test
2024-02-21 16:59:49 +04:00
Valery Antopol
220c028045
feat!: support particle parameters in CallParameters (__marine_host_api_v2) (#417)
* support call_parameters v2

* fmt

* fix warnings; require exact version for sdk v0 and v1

* support json_path

* update lockfile

* bump sdk versions and fix mrepl

* fix call_parameters example

* fix marine-js

* fmt
2024-02-20 16:06:44 +04:00
Valery Antopol
c948b8b866
feat(ABI)!: support marine-rs-sdk host api versions, support worker_id in CallParamaters (#409)
* use marine-rs-sdk with worker_id in CallParameters

* add example

* fix tests

* update sdk version

* add v0/v1 imports

* fix bugs

* update examples

* use git dependency

* fix effects extractor

* fix marine-js build

* fix marine-js tests

* fix style

* make clippy happy

* update marine-rs-sdk

* add version type

* put v1 call_parameters import into right place
2024-02-08 17:40:57 +04:00
Valery Antopol
662a49204f
feat!: add memory limiting (#391)
* memory limits iteration 1

* correct counting

* update to wasmtime 13.0.0

* wip stats recording

* adding memory limit tests

* fix build

* fix build

* fix build

* fix tests

* add configs

* update Cargo.lock

* self-review fixes

* self-review fixes, cleanup

* fix tests build

* fix tests, remove wee_alloc form lockfile

* fix build

* format tests

* pr fixes

* make tests more robust

* pr fixes

* Add OOM check into marine-runtime

* Use new error variant in tests

* add handy error message

* fix error msg

* fix tests

* check for OOM more precisely

* improve readability

* add "inifinity" memory limit, make memory limit mandatory, stop persisting allocation rejects

* add forgotten allocation stats clear

* pr fixes

* pr fixes

* use bytesize in tests
2023-12-13 19:51:58 +03:00
Valery Antopol
036c3348e3
feat(deps)!: update marine-rs-sdk-to 0.10.0 (#364)
* feat!: update marine-rs-sdk-to 0.9.0

* bump versions manually

* update lockfile

* update rust toolchain, so wasm-pack can be installed

* use marine-rs-sdk from git

* update Cargo.lock

* update sqlite-wasm-connector

* use marine-rs-sdk 0.10.0

* update marine version in examples

* update Cargo.lock

* fmt
2023-09-13 19:14:24 +03:00
Valery Antopol
62802fa3d9
chore: remove marine-rs-sdk-test from examples, move it to test-sdk repo (#363)
chore: remove marine-rs-sdk-test usages
2023-08-16 20:57:11 +03:00
Valery Antopol
d3a773df4f
feat!: decouple wasmer from Marine, replace it with generic backend interface (#219) 2023-03-15 00:43:51 +03:00
Valery Antopol
fd47800cca
chore(build): fix clippy warnings (#213) 2022-09-19 19:13:38 +03:00
Valery Antopol
d9c8de35aa
Support marine-rs-sdk 0.7.0 (#180) 2022-07-27 18:01:30 +03:00
Mike Voronov
cc1766b7f1
fix tests after renaming (#174) 2022-06-09 17:00:19 +03:00
Mike Voronov
82217b332e
Rename FaaS to Marine, Runtime to Core (#172) 2022-06-02 19:51:27 +03:00