Commit Graph

529 Commits

Author SHA1 Message Date
Anatolios Laskaris
1d94c2941c
chore: Update renovate (#437)
Update renovate
2024-09-04 18:48:54 +03:00
Mike Voronov
a521267faa
chore: change license to AGPL-3 (#436) 2024-06-26 12:37:14 +03:00
fluencebot
cc6d2a7e04
chore: release master (#435) 2024-06-05 17:09:27 +04:00
Valery Antopol
0bb178a1a4
feat(cli): improve error reporting when cannot run cargo (#434)
* improve error reporting

* fix

* update error message
2024-06-05 16:32:31 +04:00
fluencebot
30aaa28d72
chore: release master (#429)
* chore: release master

* chore: Bump marine-js version to 0.14.0
2024-04-15 14:26:05 +04:00
Valery Antopol
be8293bc06
fix(versions)!: enforce minor version bumps (#430)
bump versions manually
2024-04-11 01:28:02 +04: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
fluencebot
12733f298a
chore: release master (#425)
* chore: release master

* chore: Bump marine-js version to 0.13.2
2024-03-27 18:31:26 +04:00
Valery Antopol
ee39ce07bc
feat(deps): reexport types from toml crate, so users don't have to depend on it (#427)
reexport toml table type, so users don't have to directly depend on the same version of toml crate
2024-03-27 16:26:49 +04:00
fluencebot
e5c56190be
chore: release master (#423)
* chore: release master

* chore: Bump marine-js version to 0.13.1

* set correct versions

* update changelogs

* rollback wasms

---------

Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2024-02-29 12:05:11 +04:00
Valery Antopol
2ab2011610
fix(host imports): add mounted binaries for __marine_host_api_v3 (#424) 2024-02-29 11:32:41 +04:00
fluencebot
9bfcb6a772
chore: release master (#422)
* chore: release master

* chore: Bump marine-js version to 0.13.0

* bump minor versions

---------

Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2024-02-22 20:00:53 +04:00
Valery Antopol
f54ca715a3
feat!: rework wasi mapped dirs handing, relax restrictions (#421)
* add config field to allow absolute wasi paths

* remove config field

* use current dir as default workind_dir

* fix

* remove /tmp /local logic as well as preopened_files

* fix greeting example

* fix greeting example

* fix greeting example

* remove unused var

* return import
2024-02-22 19:33:28 +04:00
fluencebot
9ea687545e
chore: release master (#420)
* chore: release master

* chore: Bump marine-js version to 0.12.0

* bump minor app-service version

* bump manifest

---------

Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2024-02-21 17:40:01 +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
fluencebot
ead3c7dd31
chore: release master (#418)
* chore: release master

* chore: Bump marine-js version to 0.11.0
2024-02-20 16:51:05 +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
fluencebot
07e5696050
chore: release master (#413)
* chore: release master

* chore: Bump marine-js version to 0.10.0

* update app-service version

---------

Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2024-02-08 18:06:36 +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
fluencebot
ac4a59985b
chore: release master (#412)
* chore: release master

* chore: Bump marine-js version to 0.9.2
2024-02-05 20:45:43 +04:00
Valery Antopol
9ad73df554
feat(module-info-parser): add effects extractor (#410)
* add effects extractor

* revert debug changes
2024-02-05 20:40:47 +04:00
Valery Antopol
bdd109d842
fix: add/update total_memory_limit field in configs for tests (#411)
add "total_memory_limit" field
2024-02-05 20:40:34 +04:00
fluencebot
609edabf1a
chore: release master (#407) 2024-01-10 16:07:16 +03:00
Valery Antopol
71d1fb16ca
feat(cli, mrepl): support windows in marine cli and mrepl (#406)
* support windows in marine cli and mrepl

* pr fixes
2024-01-10 15:37:56 +03:00
fluencebot
ea51c78133
chore: release master (#405)
* chore: release master

* chore: Bump marine-js version to 0.9.1
2024-01-09 21:32:08 +04:00
Valery Antopol
ebb0bcb1d1
fix(docs): add correct repository link for every published crate (#403) 2024-01-07 17:43:24 +03:00
InversionSpaces
dd22da07f8
feat(aqua): Generate aqua header instead of module (#404)
Generate aqua header
2024-01-05 15:19:55 +01:00
fluencebot
c4b0d49624
chore: release master (#399)
* chore: release master

* chore: Bump marine-js version to 0.9.0
2023-12-14 16:31:19 +03:00
Valery Antopol
597ef4f80d
fix(versions)!: enforce minor version bumps (#400)
* fix(versions)!: enforce major version bumps

* fix(versions)!: enforce major version bumps
2023-12-14 15:14:52 +03: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
Anatolios Laskaris
43bf699a61
chore: Update e2e (#398)
Update e2e
2023-11-21 13:45:41 +02:00
fluencebot
cec976de88
chore: release master (#379)
* chore: release master

* chore: Bump marine-js version to 0.8.0
2023-11-07 17:36:17 +03:00
Valery Antopol
8c217c7c3d
fix(versions)!: enforce minor version bumps (#397)
bump versions
2023-11-07 16:49:49 +03:00
Akim
8ea6c3cd1b
fix(marine-js): Add JSONValue return type (#393)
Return JSONValue from MarineService call instead of unknown

Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2023-11-07 13:40:00 +03:00
Valery Antopol
a94494b042
feat!: propagate errors from linked modules (#388)
* propagate errors

* pregare for merge

* support new interface in js backend

* use wasmer-it from crates.io

* fix marine-js tests + update aquavm version for tests
2023-11-03 17:43:14 +03:00
Valery Antopol
977e4a8dbb
chore(ci): remove codecov (#394)
Remove codecov
2023-11-03 17:12:04 +03:00
raftedproc
0f5d08aba8
feat(wasmtime-backend): host stack size for WASM modules runtime has been increased to manage with AIR fold over 1023 elements in AquaVM (#390) 2023-11-01 14:39:48 +03:00
Valery Antopol
3145078fbf
feat!: update wasmtime rust crate 13.0.0 (#377)
* update to wasmtime 13.0.0

* merge from master
2023-10-23 20:29:43 +03:00
Anatolios Laskaris
2d896d67c9
chore: Fix decider build (#378)
Fix decider build
2023-10-23 16:56:34 +03:00
renovate[bot]
8480a49e08
chore(deps): update rust crate check-latest to 1.0.2 (#341)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 16:13:46 +03:00
renovate[bot]
44b8e96362
feat(deps): update rust crate anyhow to 1.0.75 (#372)
chore(deps): update rust crate anyhow to 1.0.75

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 15:50:28 +03:00
renovate[bot]
0b88b23601
chore(deps): update rust crate thiserror to 1.0.50 (#346)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 15:23:50 +03:00
renovate[bot]
7b666aeb40
chore(deps): update rust crate semver to 1.0.20 (#342)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 15:23:07 +03:00
faywong
7a0bd6e584
Update README.md (#376)
Sync the doc with the latest implement
2023-10-23 15:22:41 +03:00
renovate[bot]
1e5cb4e175
chore(deps): update rust crate chrono to 0.4.31 (#373)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 15:20:47 +03:00
renovate[bot]
0c1d3780b0
chore(deps): update rust crate serde_json to 1.0.107 (#345)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 15:18:40 +03:00
renovate[bot]
8a6035f2f1
chore(deps): update rust crate log to 0.4.20 (#374)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 15:17:38 +03:00
renovate[bot]
e75dafe7c2
chore(deps): update rust crate paste to 1.0.14 (#375)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 15:16:54 +03:00
renovate[bot]
8a371a6441
chore(deps): update baptiste0928/cargo-install action to v2.2.0 (#338)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 12:25:24 +03:00
renovate[bot]
a6cb23d946
chore(deps): update hashicorp/vault-action action to v2.7.3 (#339)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 12:25:02 +03:00